/linux-6.3-rc2/drivers/tty/serial/ |
A D | serial_mctrl_gpio.c | 59 if (gpios == NULL) in mctrl_gpio_set() 82 if (gpios == NULL) in mctrl_gpio_to_gpiod() 143 gpios = devm_kzalloc(dev, sizeof(*gpios), GFP_KERNEL); in mctrl_gpio_init_noauto() 144 if (!gpios) in mctrl_gpio_init_noauto() 172 return gpios; in mctrl_gpio_init_noauto() 231 return gpios; in mctrl_gpio_init() 266 return gpios; in mctrl_gpio_init() 287 devm_free_irq(gpios->port->dev, gpios->irq[i], gpios); in mctrl_gpio_free() 314 mctrl_gpio_get(gpios, &gpios->mctrl_prev); in mctrl_gpio_enable_ms() 354 if (!gpios) in mctrl_gpio_enable_irq_wake() [all …]
|
A D | serial_mctrl_gpio.h | 38 void mctrl_gpio_set(struct mctrl_gpios *gpios, unsigned int mctrl); 56 struct gpio_desc *mctrl_gpio_to_gpiod(struct mctrl_gpios *gpios, 82 void mctrl_gpio_free(struct device *dev, struct mctrl_gpios *gpios); 87 void mctrl_gpio_enable_ms(struct mctrl_gpios *gpios); 92 void mctrl_gpio_disable_ms(struct mctrl_gpios *gpios); 97 void mctrl_gpio_enable_irq_wake(struct mctrl_gpios *gpios); 102 void mctrl_gpio_disable_irq_wake(struct mctrl_gpios *gpios); 107 void mctrl_gpio_set(struct mctrl_gpios *gpios, unsigned int mctrl) in mctrl_gpio_set() argument 124 struct gpio_desc *mctrl_gpio_to_gpiod(struct mctrl_gpios *gpios, in mctrl_gpio_to_gpiod() argument 143 void mctrl_gpio_free(struct device *dev, struct mctrl_gpios *gpios) in mctrl_gpio_free() argument [all …]
|
/linux-6.3-rc2/arch/arm64/boot/dts/microchip/ |
A D | sparx5_pcb134_board.dtsi | 12 gpios = <&gpio 37 GPIO_ACTIVE_LOW>; 20 gpios = <&sgpio_out0 8 0 GPIO_ACTIVE_LOW>; 24 gpios = <&sgpio_out0 8 1 GPIO_ACTIVE_LOW>; 28 gpios = <&sgpio_out0 9 0 GPIO_ACTIVE_LOW>; 32 gpios = <&sgpio_out0 9 1 GPIO_ACTIVE_LOW>; 36 gpios = <&sgpio_out0 10 0 GPIO_ACTIVE_LOW>; 40 gpios = <&sgpio_out0 10 1 GPIO_ACTIVE_LOW>; 44 gpios = <&sgpio_out0 11 0 GPIO_ACTIVE_LOW>; 48 gpios = <&sgpio_out0 11 1 GPIO_ACTIVE_LOW>; 52 gpios = <&sgpio_out0 12 0 GPIO_ACTIVE_HIGH>; [all …]
|
/linux-6.3-rc2/sound/soc/ |
A D | soc-jack.c | 287 free_irq(gpiod_to_irq(gpios[i].desc), &gpios[i]); in jack_free_gpios() 290 gpios[i].jack = NULL; in jack_free_gpios() 322 tbl->gpios = gpios; in snd_soc_jack_add_gpios() 325 if (!gpios[i].name) { in snd_soc_jack_add_gpios() 332 if (gpios[i].desc) { in snd_soc_jack_add_gpios() 337 gpios[i].desc = gpiod_get_index(gpios[i].gpiod_dev, in snd_soc_jack_add_gpios() 338 gpios[i].name, in snd_soc_jack_add_gpios() 352 gpios[i].gpio); in snd_soc_jack_add_gpios() 362 gpios[i].desc = gpio_to_desc(gpios[i].gpio); in snd_soc_jack_add_gpios() 373 &gpios[i]); in snd_soc_jack_add_gpios() [all …]
|
/linux-6.3-rc2/arch/arm/boot/dts/ |
A D | nuvoton-npcm750-runbmc-olympus.dts | 432 gpios = <0 0>; 438 gpios = <1 0>; 444 gpios = <2 0>; 450 gpios = <3 0>; 456 gpios = <4 0>; 462 gpios = <5 0>; 468 gpios = <6 0>; 474 gpios = <8 0>; 480 gpios = <9 0>; 529 gpios = <0 0>; [all …]
|
A D | lpc3250-ea3250.dts | 33 gpios = <&pca9532 0 0>; 39 gpios = <&pca9532 1 0>; 45 gpios = <&pca9532 2 0>; 51 gpios = <&pca9532 3 0>; 114 gpios = <&pca9532 8 0>; 118 gpios = <&pca9532 9 0>; 122 gpios = <&pca9532 10 0>; 126 gpios = <&pca9532 11 0>; 130 gpios = <&pca9532 12 0>; 134 gpios = <&pca9532 13 0>; [all …]
|
A D | aspeed-bmc-opp-palmetto.dts | 214 gpios = <ASPEED_GPIO(C, 4) GPIO_ACTIVE_HIGH>; 228 gpios = <ASPEED_GPIO(C, 6) GPIO_ACTIVE_HIGH>; 235 gpios = <ASPEED_GPIO(A, 0) GPIO_ACTIVE_HIGH>; 242 gpios = <ASPEED_GPIO(A, 1) GPIO_ACTIVE_HIGH>; 249 gpios = <ASPEED_GPIO(B, 1) GPIO_ACTIVE_HIGH>; 256 gpios = <ASPEED_GPIO(B, 2) GPIO_ACTIVE_HIGH>; 263 gpios = <ASPEED_GPIO(B, 7) GPIO_ACTIVE_HIGH>; 270 gpios = <ASPEED_GPIO(D, 1) GPIO_ACTIVE_HIGH>; 277 gpios = <ASPEED_GPIO(F, 1) GPIO_ACTIVE_HIGH>; 284 gpios = <ASPEED_GPIO(F, 4) GPIO_ACTIVE_HIGH>; [all …]
|
A D | am572x-idk-common.dtsi | 55 gpios = <&gpio4 0 GPIO_ACTIVE_HIGH>; 62 gpios = <&gpio3 11 GPIO_ACTIVE_HIGH>; 68 gpios = <&gpio3 12 GPIO_ACTIVE_HIGH>; 75 gpios = <&gpio3 10 GPIO_ACTIVE_HIGH>; 82 gpios = <&gpio7 23 GPIO_ACTIVE_HIGH>; 105 gpios = <&gpio3 9 GPIO_ACTIVE_HIGH>; 111 gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>; 117 gpios = <&gpio6 7 GPIO_ACTIVE_HIGH>; 129 gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>; 135 gpios = <&gpio7 9 GPIO_ACTIVE_HIGH>; [all …]
|
A D | bcm4709-buffalo-wxr-1900dhp.dts | 33 gpios = <&chipcommon 4 GPIO_ACTIVE_HIGH>; 38 gpios = <&chipcommon 5 GPIO_ACTIVE_HIGH>; 43 gpios = <&chipcommon 6 GPIO_ACTIVE_HIGH>; 49 gpios = <&chipcommon 7 GPIO_ACTIVE_HIGH>; 54 gpios = <&chipcommon 8 GPIO_ACTIVE_HIGH>; 59 gpios = <&chipcommon 9 GPIO_ACTIVE_HIGH>; 64 gpios = <&chipcommon 10 GPIO_ACTIVE_HIGH>; 84 gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>; 90 gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>; 96 gpios = <&chipcommon 16 GPIO_ACTIVE_LOW>; [all …]
|
A D | nuvoton-npcm730-gbs.dts | 82 gpios = <&gpio2 9 GPIO_ACTIVE_LOW>; 88 gpios = <&gpio2 8 GPIO_ACTIVE_LOW>; 94 gpios = <&gpio2 7 GPIO_ACTIVE_LOW>; 100 gpios = <&gpio2 6 GPIO_ACTIVE_LOW>; 106 gpios = <&gpio0 5 GPIO_ACTIVE_LOW>; 1055 gpios = <25 GPIO_ACTIVE_HIGH>; 1061 gpios = <26 GPIO_ACTIVE_HIGH>; 1067 gpios = <27 GPIO_ACTIVE_LOW>; 1075 gpios = <14 GPIO_ACTIVE_HIGH>; 1081 gpios = <15 GPIO_ACTIVE_HIGH>; [all …]
|
A D | am571x-idk.dts | 55 gpios = <&gpio2 25 GPIO_ACTIVE_HIGH>; 62 gpios = <&gpio2 26 GPIO_ACTIVE_HIGH>; 68 gpios = <&gpio2 27 GPIO_ACTIVE_HIGH>; 75 gpios = <&gpio2 28 GPIO_ACTIVE_HIGH>; 81 gpios = <&gpio2 21 GPIO_ACTIVE_HIGH>; 104 gpios = <&gpio4 0 GPIO_ACTIVE_HIGH>; 110 gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>; 116 gpios = <&gpio6 7 GPIO_ACTIVE_HIGH>; 128 gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>; 134 gpios = <&gpio7 9 GPIO_ACTIVE_HIGH>; [all …]
|
A D | usb_a9g20-dab-mmx.dtsi | 30 gpios = <&pioB 20 GPIO_ACTIVE_LOW>; 37 * gpios = <&pioB 21 GPIO_ACTIVE_LOW>; 42 gpios = <&pioB 22 GPIO_ACTIVE_LOW>; 47 gpios = <&pioB 23 GPIO_ACTIVE_LOW>; 52 gpios = <&pioB 24 GPIO_ACTIVE_LOW>; 57 gpios = <&pioB 30 GPIO_ACTIVE_LOW>; 62 gpios = <&pioB 31 GPIO_ACTIVE_LOW>; 73 gpios = <&pioB 25 GPIO_ACTIVE_LOW>; 79 gpios = <&pioB 13 GPIO_ACTIVE_LOW>; 85 gpios = <&pioA 26 GPIO_ACTIVE_LOW>; [all …]
|
A D | aspeed-bmc-lenovo-hr855xg2.dts | 430 gpios = <ASPEED_GPIO(A, 1) GPIO_ACTIVE_LOW>; 437 gpios = <ASPEED_GPIO(A, 3) GPIO_ACTIVE_LOW>; 444 gpios = <ASPEED_GPIO(B, 5) GPIO_ACTIVE_HIGH>; 451 gpios = <ASPEED_GPIO(B, 7) GPIO_ACTIVE_LOW>; 458 gpios = <ASPEED_GPIO(E, 0) GPIO_ACTIVE_HIGH>; 465 gpios = <ASPEED_GPIO(E, 2) GPIO_ACTIVE_HIGH>; 472 gpios = <ASPEED_GPIO(E, 5) GPIO_ACTIVE_HIGH>; 479 gpios = <ASPEED_GPIO(E, 6) GPIO_ACTIVE_HIGH>; 486 gpios = <ASPEED_GPIO(F, 0) GPIO_ACTIVE_HIGH>; 493 gpios = <ASPEED_GPIO(F, 1) GPIO_ACTIVE_HIGH>; [all …]
|
A D | bcm4708-buffalo-wzr-1750dhp.dts | 33 cs-gpios = <&chipcommon 6 0>; 54 gpios = <&hc595 0 GPIO_ACTIVE_HIGH>; 63 gpios = <&hc595 1 GPIO_ACTIVE_HIGH>; 68 gpios = <&hc595 2 GPIO_ACTIVE_HIGH>; 74 gpios = <&hc595 3 GPIO_ACTIVE_HIGH>; 80 gpios = <&hc595 4 GPIO_ACTIVE_HIGH>; 85 gpios = <&hc595 5 GPIO_ACTIVE_HIGH>; 91 gpios = <&hc595 6 GPIO_ACTIVE_HIGH>; 96 gpios = <&hc595 7 GPIO_ACTIVE_HIGH>; 106 gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>; [all …]
|
A D | bcm4708-smartrg-sr400ac.dts | 33 gpios = <&chipcommon 1 GPIO_ACTIVE_HIGH>; 39 gpios = <&chipcommon 2 GPIO_ACTIVE_HIGH>; 44 gpios = <&chipcommon 3 GPIO_ACTIVE_HIGH>; 51 gpios = <&chipcommon 4 GPIO_ACTIVE_HIGH>; 58 gpios = <&chipcommon 5 GPIO_ACTIVE_HIGH>; 65 gpios = <&chipcommon 6 GPIO_ACTIVE_HIGH>; 70 gpios = <&chipcommon 8 GPIO_ACTIVE_HIGH>; 75 gpios = <&chipcommon 9 GPIO_ACTIVE_HIGH>; 100 gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>; 106 gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>; [all …]
|
/linux-6.3-rc2/sound/soc/codecs/ |
A D | wm1250-ev1.c | 27 struct gpio gpios[WM1250_EV1_NUM_GPIOS]; member 37 ena = wm1250->gpios[WM1250_EV1_GPIO_CLK_ENA].gpio; in wm1250_ev1_set_bias_level() 83 gpio_set_value(wm1250->gpios[WM1250_EV1_GPIO_CLK_SEL0].gpio, in wm1250_ev1_hw_params() 85 gpio_set_value(wm1250->gpios[WM1250_EV1_GPIO_CLK_SEL1].gpio, in wm1250_ev1_hw_params() 89 gpio_set_value(wm1250->gpios[WM1250_EV1_GPIO_CLK_SEL0].gpio, in wm1250_ev1_hw_params() 164 for (i = 0; i < ARRAY_SIZE(wm1250->gpios); i++) { in wm1250_ev1_pdata() 165 wm1250->gpios[i].gpio = pdata->gpios[i]; in wm1250_ev1_pdata() 166 wm1250->gpios[i].label = wm1250_gpio_names[i]; in wm1250_ev1_pdata() 167 wm1250->gpios[i].flags = GPIOF_OUT_INIT_LOW; in wm1250_ev1_pdata() 172 ret = gpio_request_array(wm1250->gpios, ARRAY_SIZE(wm1250->gpios)); in wm1250_ev1_pdata() [all …]
|
/linux-6.3-rc2/Documentation/devicetree/bindings/input/ |
A D | gpio-mouse.txt | 9 - up-gpios: GPIO line phandle to the line indicating "up" 10 - down-gpios: GPIO line phandle to the line indicating "down" 11 - left-gpios: GPIO line phandle to the line indicating "left" 15 - button-left-gpios: GPIO line handle to the left mouse button 25 up-gpios = <&gpio0 0 GPIO_ACTIVE_LOW>; 26 down-gpios = <&gpio0 1 GPIO_ACTIVE_LOW>; 27 left-gpios = <&gpio0 2 GPIO_ACTIVE_LOW>; 28 right-gpios = <&gpio0 3 GPIO_ACTIVE_LOW>; 29 button-left-gpios = <&gpio0 4 GPIO_ACTIVE_LOW>; 30 button-middle-gpios = <&gpio0 5 GPIO_ACTIVE_LOW>; [all …]
|
/linux-6.3-rc2/Documentation/devicetree/bindings/power/supply/ |
A D | maxim,max8903.yaml | 19 dok-gpios: 23 uok-gpios: 27 cen-gpios: 31 chg-gpios: 35 flt-gpios: 39 dcm-gpios: 43 usus-gpios: 52 - dok-gpios 54 - uok-gpios 63 dok-gpios = <&gpio2 3 GPIO_ACTIVE_LOW>; [all …]
|
/linux-6.3-rc2/Documentation/devicetree/bindings/phy/ |
A D | phy-mapphone-mdm6600.txt | 5 - enable-gpios GPIO to enable the USB PHY 6 - power-gpios GPIO to power on the device 7 - reset-gpios GPIO to reset the device 8 - motorola,mode-gpios Two GPIOs to configure MDM6600 USB start-up mode for 10 - motorola,cmd-gpios Three GPIOs to control the power state of the MDM6600 17 enable-gpios = <&gpio3 31 GPIO_ACTIVE_LOW>; 18 power-gpios = <&gpio2 22 GPIO_ACTIVE_HIGH>; 19 reset-gpios = <&gpio2 17 GPIO_ACTIVE_HIGH>; 20 motorola,mode-gpios = <&gpio5 20 GPIO_ACTIVE_HIGH>, 22 motorola,cmd-gpios = <&gpio4 7 GPIO_ACTIVE_HIGH>, [all …]
|
/linux-6.3-rc2/drivers/watchdog/ |
A D | mena21_wdt.c | 34 struct gpio_desc *gpios[NUM_GPIOS]; member 57 gpiod_set_value(drv->gpios[GPIO_WD_ENAB], 1); in a21_wdt_start() 66 gpiod_set_value(drv->gpios[GPIO_WD_ENAB], 0); in a21_wdt_stop() 75 gpiod_set_value(drv->gpios[GPIO_WD_TRIG], 0); in a21_wdt_ping() 77 gpiod_set_value(drv->gpios[GPIO_WD_TRIG], 1); in a21_wdt_ping() 99 gpiod_set_value(drv->gpios[GPIO_WD_FAST], 1); in a21_wdt_set_timeout() 101 gpiod_set_value(drv->gpios[GPIO_WD_FAST], 0); in a21_wdt_set_timeout() 157 if (IS_ERR(drv->gpios[i])) in a21_wdt_probe() 158 return PTR_ERR(drv->gpios[i]); in a21_wdt_probe() 169 val = gpiod_get_value(drv->gpios[i]); in a21_wdt_probe() [all …]
|
/linux-6.3-rc2/Documentation/devicetree/bindings/siox/ |
A D | eckelmann,siox-gpio.txt | 5 - din-gpios, dout-gpios, dclk-gpios, dld-gpios: references gpios for the 15 din-gpios = <&gpio6 11 0>; 16 dout-gpios = <&gpio6 8 0>; 17 dclk-gpios = <&gpio6 9 0>; 18 dld-gpios = <&gpio6 10 0>;
|
/linux-6.3-rc2/drivers/gpu/drm/panel/ |
A D | panel-ronbo-rb070d30.c | 37 } gpios; member 57 gpiod_set_value(ctx->gpios.power, 1); in rb070d30_panel_prepare() 59 gpiod_set_value(ctx->gpios.reset, 1); in rb070d30_panel_prepare() 161 if (IS_ERR(ctx->gpios.reset)) { in rb070d30_panel_dsi_probe() 163 return PTR_ERR(ctx->gpios.reset); in rb070d30_panel_dsi_probe() 167 if (IS_ERR(ctx->gpios.power)) { in rb070d30_panel_dsi_probe() 169 return PTR_ERR(ctx->gpios.power); in rb070d30_panel_dsi_probe() 177 if (IS_ERR(ctx->gpios.updn)) { in rb070d30_panel_dsi_probe() 179 return PTR_ERR(ctx->gpios.updn); in rb070d30_panel_dsi_probe() 187 if (IS_ERR(ctx->gpios.shlr)) { in rb070d30_panel_dsi_probe() [all …]
|
/linux-6.3-rc2/Documentation/devicetree/bindings/net/nfc/ |
A D | samsung,s3fwrn5.yaml | 18 en-gpios: 32 wake-gpios: 37 s3fwrn5,en-gpios: 41 Use en-gpios 43 s3fwrn5,fw-gpios: 47 Use wake-gpios 53 - en-gpios 54 - wake-gpios 83 en-gpios = <&gpf1 4 GPIO_ACTIVE_HIGH>; 84 wake-gpios = <&gpj0 2 GPIO_ACTIVE_HIGH>; [all …]
|
/linux-6.3-rc2/drivers/net/mdio/ |
A D | mdio-mux-gpio.c | 18 struct gpio_descs *gpios; member 33 gpiod_set_array_value_cansleep(s->gpios->ndescs, s->gpios->desc, in mdio_mux_gpio_switch_fn() 34 s->gpios->info, values); in mdio_mux_gpio_switch_fn() 42 struct gpio_descs *gpios; in mdio_mux_gpio_probe() local 45 gpios = devm_gpiod_get_array(&pdev->dev, NULL, GPIOD_OUT_LOW); in mdio_mux_gpio_probe() 46 if (IS_ERR(gpios)) in mdio_mux_gpio_probe() 47 return PTR_ERR(gpios); in mdio_mux_gpio_probe() 53 s->gpios = gpios; in mdio_mux_gpio_probe()
|
/linux-6.3-rc2/Documentation/devicetree/bindings/fsi/ |
A D | fsi-master-gpio.txt | 6 - clock-gpios = <gpio-descriptor>; : GPIO for FSI clock 7 - data-gpios = <gpio-descriptor>; : GPIO for FSI data signal 10 - enable-gpios = <gpio-descriptor>; : GPIO for enable signal 11 - trans-gpios = <gpio-descriptor>; : GPIO for voltage translator enable 12 - mux-gpios = <gpio-descriptor>; : GPIO for pin multiplexing with other 23 clock-gpios = <&gpio 0>; 24 data-gpios = <&gpio 1>; 25 enable-gpios = <&gpio 2>; 26 trans-gpios = <&gpio 3>; 27 mux-gpios = <&gpio 4>;
|