Home
last modified time | relevance | path

Searched full:gpios (Results 1 – 25 of 2933) sorted by relevance

12345678910>>...118

/linux/arch/arm64/boot/dts/microchip/
H A Dsparx5_pcb134_board.dtsi12 gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
34 gpios = <&sgpio_out0 8 0 GPIO_ACTIVE_LOW>;
38 gpios = <&sgpio_out0 8 1 GPIO_ACTIVE_LOW>;
42 gpios = <&sgpio_out0 9 0 GPIO_ACTIVE_LOW>;
46 gpios = <&sgpio_out0 9 1 GPIO_ACTIVE_LOW>;
50 gpios = <&sgpio_out0 10 0 GPIO_ACTIVE_LOW>;
54 gpios = <&sgpio_out0 10 1 GPIO_ACTIVE_LOW>;
58 gpios = <&sgpio_out0 11 0 GPIO_ACTIVE_LOW>;
62 gpios = <&sgpio_out0 11 1 GPIO_ACTIVE_LOW>;
66 gpios = <&sgpio_out0 12 0 GPIO_ACTIVE_HIGH>;
[all …]
/linux/Documentation/devicetree/bindings/input/
H A Dgpio-mouse.yaml23 up-gpios:
26 down-gpios:
29 left-gpios:
32 right-gpios:
35 button-left-gpios:
38 button-middle-gpios:
41 button-right-gpios:
47 - up-gpios
48 - down-gpios
49 - left-gpios
[all …]
/linux/arch/arm/boot/dts/nuvoton/
H A Dnuvoton-npcm750-runbmc-olympus.dts60 gpios = <&gpio3 14 1>;
65 gpios = <&gpio3 15 1>;
75 gpios = <&gpio0 19 0>; /* gpio19 */
81 gpios = <&gpio0 18 0>; /* gpio18 */
87 gpios = <&gpio0 17 0>; /* gpio17 */
92 gpios = <&gpio0 16 0>; /* gpio16 */
429 reset-gpios = <&gpio7 4 GPIO_ACTIVE_LOW>;
432 gpios = <0 0>;
438 gpios = <1 0>;
444 gpios = <2 0>;
[all …]
H A Dnuvoton-npcm730-gbs.dts82 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>;
112 gpios = <&gpio1 25 GPIO_ACTIVE_LOW>;
118 gpios = <&gpio1 26 GPIO_ACTIVE_HIGH>;
124 gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>;
130 gpios = <&gpio3 24 GPIO_ACTIVE_LOW>;
136 gpios = <&gpio3 25 GPIO_ACTIVE_LOW>;
[all …]
/linux/sound/soc/
H A Dsoc-jack.c206 struct snd_soc_jack_gpio *gpios; member
279 struct snd_soc_jack_gpio *gpios) in jack_free_gpios() argument
284 gpiod_unexport(gpios[i].desc); in jack_free_gpios()
285 unregister_pm_notifier(&gpios[i].pm_notifier); in jack_free_gpios()
286 free_irq(gpiod_to_irq(gpios[i].desc), &gpios[i]); in jack_free_gpios()
287 cancel_delayed_work_sync(&gpios[i].work); in jack_free_gpios()
288 gpiod_put(gpios[i].desc); in jack_free_gpios()
289 gpios[i].jack = NULL; in jack_free_gpios()
297 jack_free_gpios(tbl->jack, tbl->count, tbl->gpios); in jack_devres_free_gpios()
305 * @gpios: array of gpio pins
[all …]
/linux/Documentation/devicetree/bindings/phy/
H A Dphy-mapphone-mdm6600.txt5 - 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
11 - motorola,status-gpios Three GPIOs to read 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>,
[all …]
/linux/arch/arm/boot/dts/ti/omap/
H A Dam572x-idk-common.dtsi55 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>;
88 gpios = <&gpio7 22 GPIO_ACTIVE_HIGH>;
99 gpios = <&gpio6 19 GPIO_ACTIVE_HIGH>;
105 gpios = <&gpio3 9 GPIO_ACTIVE_HIGH>;
111 gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
117 gpios = <&gpio6 7 GPIO_ACTIVE_HIGH>;
[all …]
H A Dam571x-idk.dts55 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>;
87 gpios = <&gpio2 19 GPIO_ACTIVE_HIGH>;
98 gpios = <&gpio6 19 GPIO_ACTIVE_HIGH>;
104 gpios = <&gpio4 0 GPIO_ACTIVE_HIGH>;
110 gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
116 gpios = <&gpio6 7 GPIO_ACTIVE_HIGH>;
[all …]
/linux/arch/arm/boot/dts/aspeed/
H A Daspeed-bmc-opp-palmetto.dts45 gpios = <&gpio ASPEED_GPIO(R, 4) GPIO_ACTIVE_LOW>;
49 gpios = <&gpio ASPEED_GPIO(R, 5) GPIO_ACTIVE_LOW>;
53 gpios = <&gpio ASPEED_GPIO(A, 2) GPIO_ACTIVE_LOW>;
66 clock-gpios = <&gpio ASPEED_GPIO(A, 4) GPIO_ACTIVE_HIGH>;
67 data-gpios = <&gpio ASPEED_GPIO(A, 5) GPIO_ACTIVE_HIGH>;
68 mux-gpios = <&gpio ASPEED_GPIO(A, 6) GPIO_ACTIVE_HIGH>;
69 enable-gpios = <&gpio ASPEED_GPIO(D, 0) GPIO_ACTIVE_HIGH>;
70 trans-gpios = <&gpio ASPEED_GPIO(H, 6) GPIO_ACTIVE_HIGH>;
78 gpios = <&gpio ASPEED_GPIO(P, 5) GPIO_ACTIVE_LOW>;
214 gpios = <ASPEED_GPIO(C, 4) GPIO_ACTIVE_HIGH>;
[all …]
H A Daspeed-bmc-lenovo-hr855xg2.dts60 gpios = <&gpio ASPEED_GPIO(C, 7) GPIO_ACTIVE_LOW>;
64 gpios = <&gpio ASPEED_GPIO(G, 3) GPIO_ACTIVE_LOW>;
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>;
[all …]
/linux/arch/arm/boot/dts/nxp/lpc/
H A Dlpc3250-ea3250.dts27 gpios = <&gpio 4 1 0>; /* GPI_P3 1 */
33 gpios = <&pca9532 0 0>;
39 gpios = <&pca9532 1 0>;
45 gpios = <&pca9532 2 0>;
51 gpios = <&pca9532 3 0>;
57 gpios = <&gpio 2 0 0>; /* P2.0 */
63 gpios = <&gpio 2 1 0>; /* P2.1 */
69 gpios = <&gpio 2 2 0>; /* P2.2 */
75 gpios = <&gpio 2 3 0>; /* P2.3 */
81 gpios = <&gpio 2 4 0>; /* P2.4 */
[all …]
/linux/Documentation/devicetree/bindings/gpio/
H A Dgpio-max3191x.txt18 - maxim,modesel-gpios: GPIO pins to configure modesel of each chip.
19 The number of GPIOs must equal "#daisy-chained-devices"
22 - maxim,fault-gpios: GPIO pins to read fault of each chip.
23 The number of GPIOs must equal "#daisy-chained-devices"
25 - maxim,db0-gpios: GPIO pins to configure debounce of each chip.
26 The number of GPIOs must equal "#daisy-chained-devices"
28 - maxim,db1-gpios: GPIO pins to configure debounce of each chip.
29 The number of GPIOs must equal "maxim,db0-gpios".
32 is hardwired and consequently "maxim,modesel-gpios"
34 "maxim,modesel-gpios" is given, the driver assumes
[all …]
/linux/Documentation/devicetree/bindings/power/supply/
H A Dmaxim,max8903.yaml19 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/arch/arm/boot/dts/broadcom/
H A Dbcm4709-buffalo-wxr-1900dhp.dts33 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>;
69 gpios = <&chipcommon 11 GPIO_ACTIVE_HIGH>;
74 gpios = <&chipcommon 12 GPIO_ACTIVE_HIGH>;
84 gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
[all …]
H A Dbcm4708-buffalo-wzr-1750dhp.dts31 sck-gpios = <&chipcommon 7 0>;
32 mosi-gpios = <&chipcommon 4 0>;
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>;
[all …]
H A Dbcm4708-buffalo-wzr-1166dhp-common.dtsi19 sck-gpios = <&chipcommon 7 0>;
20 mosi-gpios = <&chipcommon 4 0>;
21 cs-gpios = <&chipcommon 6 0>;
44 gpios = <&hc595 0 GPIO_ACTIVE_HIGH>;
55 gpios = <&hc595 1 GPIO_ACTIVE_HIGH>;
62 gpios = <&hc595 2 GPIO_ACTIVE_HIGH>;
70 gpios = <&hc595 3 GPIO_ACTIVE_HIGH>;
78 gpios = <&hc595 4 GPIO_ACTIVE_HIGH>;
85 gpios = <&hc595 5 GPIO_ACTIVE_HIGH>;
93 gpios = <&hc595 6 GPIO_ACTIVE_HIGH>;
[all …]
H A Dbcm4708-smartrg-sr400ac.dts33 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>;
80 gpios = <&chipcommon 10 GPIO_ACTIVE_HIGH>;
85 gpios = <&chipcommon 12 GPIO_ACTIVE_HIGH>;
[all …]
/linux/Documentation/devicetree/bindings/auxdisplay/
H A Dhit,hd44780.yaml24 data-gpios:
32 enable-gpios:
38 rs-gpios:
44 rw-gpios:
50 backlight-gpios:
76 - data-gpios
77 - enable-gpios
78 - rs-gpios
90 data-gpios = <&hc595 0 GPIO_ACTIVE_HIGH>,
94 enable-gpios = <&hc595 4 GPIO_ACTIVE_HIGH>;
[all …]
/linux/drivers/watchdog/
H A Dmena21_wdt.c34 struct gpio_desc *gpios[NUM_GPIOS]; member
46 reset |= gpiod_get_value(drv->gpios[GPIO_WD_RST0]) ? (1 << 0) : 0; in a21_wdt_get_bootstatus()
47 reset |= gpiod_get_value(drv->gpios[GPIO_WD_RST1]) ? (1 << 1) : 0; in a21_wdt_get_bootstatus()
48 reset |= gpiod_get_value(drv->gpios[GPIO_WD_RST2]) ? (1 << 2) : 0; in a21_wdt_get_bootstatus()
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()
[all …]
/linux/drivers/pinctrl/qcom/
H A Dpinctrl-qdf2xxx.c39 unsigned int avail_gpios; /* The number of GPIOs we support */ in qdf2xxx_pinctrl_probe()
40 u8 gpios[MAX_GPIOS]; /* An array of supported GPIOs */ in qdf2xxx_pinctrl_probe() local
43 /* Query the number of GPIOs from ACPI */ in qdf2xxx_pinctrl_probe()
44 ret = device_property_read_u32(&pdev->dev, "num-gpios", &num_gpios); in qdf2xxx_pinctrl_probe()
46 dev_err(&pdev->dev, "missing 'num-gpios' property\n"); in qdf2xxx_pinctrl_probe()
50 dev_err(&pdev->dev, "invalid 'num-gpios' property\n"); in qdf2xxx_pinctrl_probe()
54 /* The number of GPIOs in the approved list */ in qdf2xxx_pinctrl_probe()
55 ret = device_property_count_u8(&pdev->dev, "gpios"); in qdf2xxx_pinctrl_probe()
57 dev_err(&pdev->dev, "missing 'gpios' property\n"); in qdf2xxx_pinctrl_probe()
61 * The number of available GPIOs should be non-zero, and no in qdf2xxx_pinctrl_probe()
[all …]
/linux/Documentation/devicetree/bindings/usb/
H A Dsmsc,usb3503.yaml22 connect-gpios:
27 intn-gpios:
32 reset-gpios:
37 bypass-gpios:
91 bypass-gpios: false
95 - bypass-gpios
116 connect-gpios = <&gpx3 0 1>;
118 intn-gpios = <&gpx3 4 1>;
119 reset-gpios = <&gpx3 5 1>;
134 connect-gpios = <&gpx3 0 1>;
[all …]
/linux/Documentation/devicetree/bindings/bus/
H A Dts-nbus.txt11 - ts,data-gpios : The 8 GPIO pins connected to the data lines on the FPGA
12 - ts,csn-gpios : The GPIO pin connected to the csn line on the FPGA
13 - ts,txrx-gpios : The GPIO pin connected to the txrx line on the FPGA
14 - ts,strobe-gpios : The GPIO pin connected to the stobe line on the FPGA
15 - ts,ale-gpios : The GPIO pin connected to the ale line on the FPGA
16 - ts,rdy-gpios : The GPIO pin connected to the rdy line on the FPGA
31 ts,data-gpios = <&gpio0 0 GPIO_ACTIVE_HIGH
39 ts,csn-gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
40 ts,txrx-gpios = <&gpio0 24 GPIO_ACTIVE_HIGH>;
41 ts,strobe-gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>;
[all …]
/linux/Documentation/devicetree/bindings/net/nfc/
H A Dsamsung,s3fwrn5.yaml18 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/drivers/gpio/
H A Dgpiolib-of.c44 * of_gpio_named_count() - Count GPIOs for a device
45 * @np: device node to count GPIOs for
48 * The function returns the count of GPIOs specified for a node.
52 * Either number of GPIOs defined in the property, or
53 * * %-EINVAL for an incorrectly formed "gpios" property, or
54 * * %-ENOENT for a missing "gpios" property.
58 * gpios = <0
63 * The above example defines four GPIOs, two of which are not specified.
79 * established "cs-gpios" for chip selects but instead rely on
80 * "gpios" for the chip select lines. If we detect this, we redirect
[all …]
/linux/Documentation/devicetree/bindings/iio/adc/
H A Dadi,ad7606.yaml82 adi,conversion-start-gpios:
90 reset-gpios:
98 standby-gpios:
106 adi,first-data-gpios:
114 adi,range-gpios:
127 adi,oversampling-ratio-gpios:
141 registers. If the adi,oversampling-ratio-gpios property is defined, then
142 the driver will set the oversampling gpios to high. Otherwise, it is
222 - adi,conversion-start-gpios
239 adi,first-data-gpios: false
[all …]

12345678910>>...118