Home
last modified time | relevance | path

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

12345678910>>...130

/kernel/linux/linux-4.19/drivers/tty/serial/
Dserial_mctrl_gpio.c40 void mctrl_gpio_set(struct mctrl_gpios *gpios, unsigned int mctrl) in mctrl_gpio_set() argument
47 if (gpios == NULL) in mctrl_gpio_set()
51 if (gpios->gpio[i] && mctrl_gpios_desc[i].dir_out) { in mctrl_gpio_set()
52 desc_array[count] = gpios->gpio[i]; in mctrl_gpio_set()
60 struct gpio_desc *mctrl_gpio_to_gpiod(struct mctrl_gpios *gpios, in mctrl_gpio_to_gpiod() argument
63 if (gpios == NULL) in mctrl_gpio_to_gpiod()
66 return gpios->gpio[gidx]; in mctrl_gpio_to_gpiod()
70 unsigned int mctrl_gpio_get(struct mctrl_gpios *gpios, unsigned int *mctrl) in mctrl_gpio_get() argument
74 if (gpios == NULL) in mctrl_gpio_get()
78 if (gpios->gpio[i] && !mctrl_gpios_desc[i].dir_out) { in mctrl_gpio_get()
[all …]
Dserial_mctrl_gpio.h29 * Opaque descriptor for modem lines controlled by GPIOs
36 * Set state of the modem control output lines via GPIOs.
38 void mctrl_gpio_set(struct mctrl_gpios *gpios, unsigned int mctrl);
41 * Get state of the modem control input lines from GPIOs.
44 unsigned int mctrl_gpio_get(struct mctrl_gpios *gpios, unsigned int *mctrl);
47 * Get state of the modem control output lines from GPIOs.
51 mctrl_gpio_get_outputs(struct mctrl_gpios *gpios, unsigned int *mctrl);
56 struct gpio_desc *mctrl_gpio_to_gpiod(struct mctrl_gpios *gpios,
60 * Request and set direction of modem control line GPIOs and set up irq
69 * Request and set direction of modem control line GPIOs.
[all …]
/kernel/linux/linux-5.10/drivers/tty/serial/
Dserial_mctrl_gpio.c45 void mctrl_gpio_set(struct mctrl_gpios *gpios, unsigned int mctrl) in mctrl_gpio_set() argument
52 if (gpios == NULL) in mctrl_gpio_set()
56 if (gpios->gpio[i] && mctrl_gpio_flags_is_dir_out(i)) { in mctrl_gpio_set()
57 desc_array[count] = gpios->gpio[i]; in mctrl_gpio_set()
66 struct gpio_desc *mctrl_gpio_to_gpiod(struct mctrl_gpios *gpios, in mctrl_gpio_to_gpiod() argument
69 if (gpios == NULL) in mctrl_gpio_to_gpiod()
72 return gpios->gpio[gidx]; in mctrl_gpio_to_gpiod()
76 unsigned int mctrl_gpio_get(struct mctrl_gpios *gpios, unsigned int *mctrl) in mctrl_gpio_get() argument
80 if (gpios == NULL) in mctrl_gpio_get()
84 if (gpios->gpio[i] && !mctrl_gpio_flags_is_dir_out(i)) { in mctrl_gpio_get()
[all …]
Dserial_mctrl_gpio.h29 * Opaque descriptor for modem lines controlled by GPIOs
36 * Set state of the modem control output lines via GPIOs.
38 void mctrl_gpio_set(struct mctrl_gpios *gpios, unsigned int mctrl);
41 * Get state of the modem control input lines from GPIOs.
44 unsigned int mctrl_gpio_get(struct mctrl_gpios *gpios, unsigned int *mctrl);
47 * Get state of the modem control output lines from GPIOs.
51 mctrl_gpio_get_outputs(struct mctrl_gpios *gpios, unsigned int *mctrl);
56 struct gpio_desc *mctrl_gpio_to_gpiod(struct mctrl_gpios *gpios,
60 * Request and set direction of modem control line GPIOs and set up irq
69 * Request and set direction of modem control line GPIOs.
[all …]
/kernel/linux/linux-5.10/sound/soc/
Dsoc-jack.c23 struct snd_soc_jack_gpio *gpios; member
281 struct snd_soc_jack_gpio *gpios) in jack_free_gpios() argument
286 gpiod_unexport(gpios[i].desc); in jack_free_gpios()
287 unregister_pm_notifier(&gpios[i].pm_notifier); in jack_free_gpios()
288 free_irq(gpiod_to_irq(gpios[i].desc), &gpios[i]); in jack_free_gpios()
289 cancel_delayed_work_sync(&gpios[i].work); in jack_free_gpios()
290 gpiod_put(gpios[i].desc); in jack_free_gpios()
291 gpios[i].jack = NULL; in jack_free_gpios()
299 jack_free_gpios(tbl->jack, tbl->count, tbl->gpios); in jack_devres_free_gpios()
307 * @gpios: array of gpio pins
[all …]
/kernel/linux/linux-4.19/sound/soc/
Dsoc-jack.c23 struct snd_soc_jack_gpio *gpios; member
337 struct snd_soc_jack_gpio *gpios) in jack_free_gpios() argument
342 gpiod_unexport(gpios[i].desc); in jack_free_gpios()
343 unregister_pm_notifier(&gpios[i].pm_notifier); in jack_free_gpios()
344 free_irq(gpiod_to_irq(gpios[i].desc), &gpios[i]); in jack_free_gpios()
345 cancel_delayed_work_sync(&gpios[i].work); in jack_free_gpios()
346 gpiod_put(gpios[i].desc); in jack_free_gpios()
347 gpios[i].jack = NULL; in jack_free_gpios()
355 jack_free_gpios(tbl->jack, tbl->count, tbl->gpios); in jack_devres_free_gpios()
363 * @gpios: array of gpio pins
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/phy/
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 …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/phy/
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 …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/input/
Dgpio-mouse.txt9 - 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"
12 - right-gpios: GPIO line phandle to the line indicating "right"
15 - button-left-gpios: GPIO line handle to the left mouse button
16 - button-middle-gpios: GPIO line handle to the middle mouse button
17 - button-right-gpios: GPIO line handle to the right 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>;
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/input/
Dgpio-mouse.txt9 - 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"
12 - right-gpios: GPIO line phandle to the line indicating "right"
15 - button-left-gpios: GPIO line handle to the left mouse button
16 - button-middle-gpios: GPIO line handle to the middle mouse button
17 - button-right-gpios: GPIO line handle to the right 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>;
[all …]
/kernel/linux/linux-4.19/arch/arm/boot/dts/
Daspeed-bmc-opp-palmetto.dts35 gpios = <&gpio ASPEED_GPIO(R, 4) GPIO_ACTIVE_LOW>;
39 gpios = <&gpio ASPEED_GPIO(R, 5) GPIO_ACTIVE_LOW>;
43 gpios = <&gpio ASPEED_GPIO(A, 2) GPIO_ACTIVE_LOW>;
52 gpios = <&gpio ASPEED_GPIO(P, 5) GPIO_ACTIVE_LOW>;
175 gpios = <ASPEED_GPIO(C, 4) GPIO_ACTIVE_HIGH>;
182 gpios = <ASPEED_GPIO(C, 5) GPIO_ACTIVE_HIGH>;
189 gpios = <ASPEED_GPIO(C, 6) GPIO_ACTIVE_HIGH>;
196 gpios = <ASPEED_GPIO(A, 0) GPIO_ACTIVE_HIGH>;
203 gpios = <ASPEED_GPIO(A, 1) GPIO_ACTIVE_HIGH>;
210 gpios = <ASPEED_GPIO(B, 1) GPIO_ACTIVE_HIGH>;
[all …]
Dlpc3250-ea3250.dts36 gpios = <&gpio 4 1 0>; /* GPI_P3 1 */
41 gpios = <&pca9532 0 0>;
46 gpios = <&pca9532 1 0>;
51 gpios = <&pca9532 2 0>;
56 gpios = <&pca9532 3 0>;
61 gpios = <&gpio 2 0 0>; /* P2.0 */
66 gpios = <&gpio 2 1 0>; /* P2.1 */
71 gpios = <&gpio 2 2 0>; /* P2.2 */
76 gpios = <&gpio 2 3 0>; /* P2.3 */
81 gpios = <&gpio 2 4 0>; /* P2.4 */
[all …]
Dbcm4709-buffalo-wxr-1900dhp.dts32 gpios = <&chipcommon 4 GPIO_ACTIVE_HIGH>;
37 gpios = <&chipcommon 5 GPIO_ACTIVE_HIGH>;
42 gpios = <&chipcommon 6 GPIO_ACTIVE_HIGH>;
48 gpios = <&chipcommon 7 GPIO_ACTIVE_HIGH>;
53 gpios = <&chipcommon 8 GPIO_ACTIVE_HIGH>;
58 gpios = <&chipcommon 9 GPIO_ACTIVE_HIGH>;
63 gpios = <&chipcommon 10 GPIO_ACTIVE_HIGH>;
68 gpios = <&chipcommon 11 GPIO_ACTIVE_HIGH>;
73 gpios = <&chipcommon 12 GPIO_ACTIVE_HIGH>;
85 gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/power/supply/
Dmax8903-charger.txt5 - dok-gpios: Valid DC power has been detected (active low, input), optional if uok-gpios is provided
6 - uok-gpios: Valid USB power has been detected (active low, input), optional if dok-gpios is provid…
9 - cen-gpios: Charge enable pin (active low, output)
10 - chg-gpios: Charger status pin (active low, input)
11 - flt-gpios: Fault pin (active low, output)
12 - dcm-gpios: Current limit mode setting (DC=1 or USB=0, output)
13 - usus-gpios: USB suspend pin (active high, output)
20 dok-gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
21 flt-gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
22 chg-gpios = <&gpio3 15 GPIO_ACTIVE_LOW>;
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/supply/
Dmax8903-charger.txt5 - dok-gpios: Valid DC power has been detected (active low, input), optional if uok-gpios is provided
6 - uok-gpios: Valid USB power has been detected (active low, input), optional if dok-gpios is provid…
9 - cen-gpios: Charge enable pin (active low, output)
10 - chg-gpios: Charger status pin (active low, input)
11 - flt-gpios: Fault pin (active low, output)
12 - dcm-gpios: Current limit mode setting (DC=1 or USB=0, output)
13 - usus-gpios: USB suspend pin (active high, output)
20 dok-gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
21 flt-gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
22 chg-gpios = <&gpio3 15 GPIO_ACTIVE_LOW>;
[all …]
Dgpio-charger.yaml7 title: simple battery chargers only communicating through GPIOs
14 autonomously, only providing some status GPIOs and possibly some
15 GPIOs for limited control over the charging process.
34 gpios:
38 charge-status-gpios:
42 charge-current-limit-gpios:
45 description: GPIOs used for current limiting
58 charge-current-limit-gpios property. Bit 1 second to last
66 - gpios
68 - charge-status-gpios
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/gpio/
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 …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/gpio/
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 …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
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 …]
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 …]
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 …]
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 …]
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>;
86 gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/serial/
Dserial.txt8 - cts-gpios: Must contain a GPIO specifier, referring to the GPIO pin to be
10 - dcd-gpios: Must contain a GPIO specifier, referring to the GPIO pin to be
12 - dsr-gpios: Must contain a GPIO specifier, referring to the GPIO pin to be
14 - dtr-gpios: Must contain a GPIO specifier, referring to the GPIO pin to be
16 - rng-gpios: Must contain a GPIO specifier, referring to the GPIO pin to be
18 - rts-gpios: Must contain a GPIO specifier, referring to the GPIO pin to be
25 Note that this property is mutually-exclusive with "cts-gpios" and
26 "rts-gpios" above, unless support is provided to switch between modes
40 dtr-gpios = <&gpio2 22 GPIO_ACTIVE_LOW>;
41 dsr-gpios = <&gpio2 23 GPIO_ACTIVE_LOW>;
[all …]
/kernel/linux/linux-5.10/drivers/pinctrl/intel/
DKconfig12 platforms. Supports 3 banks with 102, 28 and 44 gpios.
24 allows configuring of SoC pins and using them as GPIOs.
37 using them as GPIOs.
48 GPIOs.
64 configuring of SoC pins and using them as GPIOs.
72 of Intel Cannon Lake PCH pins and using them as GPIOs.
80 of Intel Cedar Fork PCH pins and using them as GPIOs.
88 of Intel Denverton SoC pins and using them as GPIOs.
96 of Intel Emmitsburg pins and using them as GPIOs.
104 of Intel Gemini Lake SoC pins and using them as GPIOs.
[all …]

12345678910>>...130