Home
last modified time | relevance | path

Searched refs:gpios (Results 1 – 200 of 846) sorted by relevance

12345

/linux-4.4.14/drivers/tty/serial/
Dserial_mctrl_gpio.c49 void mctrl_gpio_set(struct mctrl_gpios *gpios, unsigned int mctrl) in mctrl_gpio_set() argument
57 if (gpios->gpio[i] && mctrl_gpios_desc[i].dir_out) { in mctrl_gpio_set()
58 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 return gpios->gpio[gidx]; in mctrl_gpio_to_gpiod()
73 unsigned int mctrl_gpio_get(struct mctrl_gpios *gpios, unsigned int *mctrl) in mctrl_gpio_get() argument
78 if (gpios->gpio[i] && !mctrl_gpios_desc[i].dir_out) { in mctrl_gpio_get()
79 if (gpiod_get_value(gpios->gpio[i])) in mctrl_gpio_get()
92 struct mctrl_gpios *gpios; in mctrl_gpio_init_noauto() local
95 gpios = devm_kzalloc(dev, sizeof(*gpios), GFP_KERNEL); in mctrl_gpio_init_noauto()
[all …]
Dserial_mctrl_gpio.h50 void mctrl_gpio_set(struct mctrl_gpios *gpios, unsigned int mctrl);
56 unsigned int mctrl_gpio_get(struct mctrl_gpios *gpios, unsigned int *mctrl);
61 struct gpio_desc *mctrl_gpio_to_gpiod(struct mctrl_gpios *gpios,
87 void mctrl_gpio_free(struct device *dev, struct mctrl_gpios *gpios);
92 void mctrl_gpio_enable_ms(struct mctrl_gpios *gpios);
97 void mctrl_gpio_disable_ms(struct mctrl_gpios *gpios);
102 void mctrl_gpio_set(struct mctrl_gpios *gpios, unsigned int mctrl) in mctrl_gpio_set() argument
107 unsigned int mctrl_gpio_get(struct mctrl_gpios *gpios, unsigned int *mctrl) in mctrl_gpio_get() argument
113 struct gpio_desc *mctrl_gpio_to_gpiod(struct mctrl_gpios *gpios, in mctrl_gpio_to_gpiod() argument
132 void mctrl_gpio_free(struct device *dev, struct mctrl_gpios *gpios) in mctrl_gpio_free() argument
[all …]
/linux-4.4.14/sound/soc/
Dsoc-jack.c307 struct snd_soc_jack_gpio *gpios) in snd_soc_jack_add_gpios() argument
312 if (!gpios[i].name) { in snd_soc_jack_add_gpios()
319 if (gpios[i].desc) { in snd_soc_jack_add_gpios()
322 } else if (gpios[i].gpiod_dev) { in snd_soc_jack_add_gpios()
324 gpios[i].desc = gpiod_get_index(gpios[i].gpiod_dev, in snd_soc_jack_add_gpios()
325 gpios[i].name, in snd_soc_jack_add_gpios()
326 gpios[i].idx, GPIOD_IN); in snd_soc_jack_add_gpios()
327 if (IS_ERR(gpios[i].desc)) { in snd_soc_jack_add_gpios()
328 ret = PTR_ERR(gpios[i].desc); in snd_soc_jack_add_gpios()
329 dev_err(gpios[i].gpiod_dev, in snd_soc_jack_add_gpios()
[all …]
/linux-4.4.14/sound/soc/codecs/
Dwm1250-ev1.c32 struct gpio gpios[WM1250_EV1_NUM_GPIOS]; member
42 ena = wm1250->gpios[WM1250_EV1_GPIO_CLK_ENA].gpio; in wm1250_ev1_set_bias_level()
88 gpio_set_value(wm1250->gpios[WM1250_EV1_GPIO_CLK_SEL0].gpio, in wm1250_ev1_hw_params()
90 gpio_set_value(wm1250->gpios[WM1250_EV1_GPIO_CLK_SEL1].gpio, in wm1250_ev1_hw_params()
94 gpio_set_value(wm1250->gpios[WM1250_EV1_GPIO_CLK_SEL0].gpio, in wm1250_ev1_hw_params()
96 gpio_set_value(wm1250->gpios[WM1250_EV1_GPIO_CLK_SEL1].gpio, in wm1250_ev1_hw_params()
100 gpio_set_value(wm1250->gpios[WM1250_EV1_GPIO_CLK_SEL0].gpio, in wm1250_ev1_hw_params()
102 gpio_set_value(wm1250->gpios[WM1250_EV1_GPIO_CLK_SEL1].gpio, in wm1250_ev1_hw_params()
106 gpio_set_value(wm1250->gpios[WM1250_EV1_GPIO_CLK_SEL0].gpio, in wm1250_ev1_hw_params()
108 gpio_set_value(wm1250->gpios[WM1250_EV1_GPIO_CLK_SEL1].gpio, in wm1250_ev1_hw_params()
[all …]
/linux-4.4.14/drivers/staging/fbtft/
Dfbtft_device.c56 static char *gpios; variable
57 module_param(gpios, charp, 0);
58 MODULE_PARM_DESC(gpios,
261 .gpios = (const struct fbtft_gpio []) {
284 .gpios = (const struct fbtft_gpio []) {
305 .gpios = (const struct fbtft_gpio []) {
324 .gpios = (const struct fbtft_gpio []) {
344 .gpios = (const struct fbtft_gpio []) {
362 .gpios = (const struct fbtft_gpio []) {
381 .gpios = (const struct fbtft_gpio []) {
[all …]
/linux-4.4.14/arch/arm/boot/dts/
Dea3250.dts62 gpios = <&gpio 5 19 1>; /* GPO_P3 19, active low */
143 wp-gpios = <&pca9532 5 0>;
144 cd-gpios = <&pca9532 4 0>;
171 gpios = <&gpio 4 1 0>; /* GPI_P3 1 */
176 gpios = <&pca9532 0 0>;
181 gpios = <&pca9532 1 0>;
186 gpios = <&pca9532 2 0>;
191 gpios = <&pca9532 3 0>;
196 gpios = <&gpio 2 0 0>; /* P2.0 */
201 gpios = <&gpio 2 1 0>; /* P2.1 */
[all …]
Dbcm4709-buffalo-wxr-1900dhp.dts32 gpios = <&chipcommon 4 GPIO_ACTIVE_HIGH>;
38 gpios = <&chipcommon 5 GPIO_ACTIVE_HIGH>;
44 gpios = <&chipcommon 6 GPIO_ACTIVE_HIGH>;
50 gpios = <&chipcommon 7 GPIO_ACTIVE_HIGH>;
56 gpios = <&chipcommon 8 GPIO_ACTIVE_HIGH>;
62 gpios = <&chipcommon 9 GPIO_ACTIVE_HIGH>;
68 gpios = <&chipcommon 10 GPIO_ACTIVE_HIGH>;
74 gpios = <&chipcommon 11 GPIO_ACTIVE_HIGH>;
80 gpios = <&chipcommon 12 GPIO_ACTIVE_HIGH>;
93 gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
[all …]
Dusb_a9g20-dab-mmx.dtsi31 gpios = <&pioB 20 GPIO_ACTIVE_LOW>;
38 * gpios = <&pioB 21 GPIO_ACTIVE_LOW>;
43 gpios = <&pioB 22 GPIO_ACTIVE_LOW>;
48 gpios = <&pioB 23 GPIO_ACTIVE_LOW>;
53 gpios = <&pioB 24 GPIO_ACTIVE_LOW>;
58 gpios = <&pioB 30 GPIO_ACTIVE_LOW>;
63 gpios = <&pioB 31 GPIO_ACTIVE_LOW>;
74 gpios = <&pioB 25 GPIO_ACTIVE_LOW>;
80 gpios = <&pioB 13 GPIO_ACTIVE_LOW>;
86 gpios = <&pioA 26 GPIO_ACTIVE_LOW>;
[all …]
Dbcm4708-smartrg-sr400ac.dts32 gpios = <&chipcommon 1 GPIO_ACTIVE_HIGH>;
38 gpios = <&chipcommon 2 GPIO_ACTIVE_HIGH>;
44 gpios = <&chipcommon 3 GPIO_ACTIVE_HIGH>;
50 gpios = <&chipcommon 4 GPIO_ACTIVE_HIGH>;
56 gpios = <&chipcommon 5 GPIO_ACTIVE_HIGH>;
62 gpios = <&chipcommon 6 GPIO_ACTIVE_HIGH>;
68 gpios = <&chipcommon 8 GPIO_ACTIVE_HIGH>;
74 gpios = <&chipcommon 9 GPIO_ACTIVE_HIGH>;
80 gpios = <&chipcommon 10 GPIO_ACTIVE_HIGH>;
86 gpios = <&chipcommon 12 GPIO_ACTIVE_HIGH>;
[all …]
Dbcm4708-buffalo-wzr-1750dhp.dts32 cs-gpios = <&chipcommon 6 0>;
53 gpios = <&hc595 0 GPIO_ACTIVE_HIGH>;
59 gpios = <&hc595 1 GPIO_ACTIVE_HIGH>;
65 gpios = <&hc595 2 GPIO_ACTIVE_HIGH>;
71 gpios = <&hc595 3 GPIO_ACTIVE_HIGH>;
77 gpios = <&hc595 4 GPIO_ACTIVE_HIGH>;
83 gpios = <&hc595 5 GPIO_ACTIVE_HIGH>;
89 gpios = <&hc595 6 GPIO_ACTIVE_HIGH>;
95 gpios = <&hc595 7 GPIO_ACTIVE_HIGH>;
108 gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
[all …]
Dbcm47081-buffalo-wzr-600dhp2.dts32 cs-gpios = <&chipcommon 6 0>;
53 gpios = <&hc595 1 GPIO_ACTIVE_HIGH>;
59 gpios = <&hc595 2 GPIO_ACTIVE_HIGH>;
65 gpios = <&hc595 3 GPIO_ACTIVE_HIGH>;
71 gpios = <&hc595 4 GPIO_ACTIVE_HIGH>;
77 gpios = <&hc595 5 GPIO_ACTIVE_HIGH>;
83 gpios = <&hc595 6 GPIO_ACTIVE_HIGH>;
89 gpios = <&hc595 7 GPIO_ACTIVE_HIGH>;
102 gpios = <&chipcommon 9 GPIO_ACTIVE_LOW>;
108 gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
[all …]
Dbcm4709-netgear-r7000.dts32 gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
38 gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
44 gpios = <&chipcommon 12 GPIO_ACTIVE_LOW>;
50 gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
56 gpios = <&chipcommon 14 GPIO_ACTIVE_HIGH>;
62 gpios = <&chipcommon 15 GPIO_ACTIVE_HIGH>;
68 gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
74 gpios = <&chipcommon 18 GPIO_ACTIVE_LOW>;
87 gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>;
93 gpios = <&chipcommon 5 GPIO_ACTIVE_LOW>;
[all …]
Dbcm4708-asus-rt-ac56u.dts32 gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
38 gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
44 gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
50 gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
56 gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>;
62 gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
69 gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
82 gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;
88 gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
94 gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>;
Dbcm4708-asus-rt-ac68u.dts32 gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
38 gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
44 gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>;
50 gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
63 gpios = <&chipcommon 5 GPIO_ACTIVE_LOW>;
69 gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;
75 gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
81 gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>;
Dbcm4708-netgear-r6300-v2.dts32 gpios = <&chipcommon 1 GPIO_ACTIVE_HIGH>;
38 gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
44 gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
50 gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>;
56 gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
69 gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>;
75 gpios = <&chipcommon 5 GPIO_ACTIVE_LOW>;
81 gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
Dkirkwood-synology.dtsi302 gpios = <&gpio1 0 GPIO_ACTIVE_HIGH
321 gpios = <&gpio0 15 GPIO_ACTIVE_HIGH
324 alarm-gpios = <&gpio0 18 GPIO_ACTIVE_HIGH>;
341 gpios = <&gpio1 0 GPIO_ACTIVE_HIGH
344 alarm-gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>;
361 gpios = <&gpio0 15 GPIO_ACTIVE_HIGH
364 alarm-gpios = <&gpio0 18 GPIO_ACTIVE_HIGH>;
381 gpios = <&gpio0 15 GPIO_ACTIVE_HIGH
384 alarm-gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>;
401 gpios = <&gpio0 15 GPIO_ACTIVE_HIGH
[all …]
Dkirkwood-nsa310.dts101 gpios = <&gpio0 28 GPIO_ACTIVE_HIGH>;
105 gpios = <&gpio0 29 GPIO_ACTIVE_HIGH>;
109 gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
113 gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
117 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
121 gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
125 gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>;
129 gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
133 gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
137 gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>;
Dbcm4708-netgear-r6250.dts43 gpios = <&chipcommon 1 GPIO_ACTIVE_HIGH>;
49 gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
55 gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
61 gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>;
67 gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
80 gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>;
86 gpios = <&chipcommon 5 GPIO_ACTIVE_LOW>;
92 gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
Dkirkwood-nsa310a.dts79 gpios = <&gpio0 28 GPIO_ACTIVE_HIGH>;
83 gpios = <&gpio0 29 GPIO_ACTIVE_HIGH>;
87 gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
91 gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
95 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
99 gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
103 gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>;
107 gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
111 gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>;
Dbcm4709-netgear-r8000.dts32 gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
38 gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
44 gpios = <&chipcommon 12 GPIO_ACTIVE_LOW>;
50 gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
63 gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>;
69 gpios = <&chipcommon 5 GPIO_ACTIVE_LOW>;
75 gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
Dbcm47081-asus-rt-n18u.dts32 gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
38 gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
44 gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
50 gpios = <&chipcommon 9 GPIO_ACTIVE_LOW>;
56 gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
69 gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;
75 gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
Ds3c6410-mini6410.dts79 gpios = <&gpn 0 GPIO_ACTIVE_LOW>;
86 gpios = <&gpn 1 GPIO_ACTIVE_LOW>;
93 gpios = <&gpn 2 GPIO_ACTIVE_LOW>;
100 gpios = <&gpn 3 GPIO_ACTIVE_LOW>;
107 gpios = <&gpn 4 GPIO_ACTIVE_LOW>;
114 gpios = <&gpn 5 GPIO_ACTIVE_LOW>;
121 gpios = <&gpl 11 GPIO_ACTIVE_LOW>;
128 gpios = <&gpl 12 GPIO_ACTIVE_LOW>;
141 gpios = <&gpk 4 GPIO_ACTIVE_LOW>;
147 gpios = <&gpk 5 GPIO_ACTIVE_LOW>;
[all …]
Dkirkwood-iconnect.dts98 gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
103 gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
108 gpios = <&gpio1 11 GPIO_ACTIVE_HIGH>;
112 gpios = <&gpio1 12 GPIO_ACTIVE_HIGH>;
116 gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>;
120 gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>;
124 gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
128 gpios = <&gpio1 16 GPIO_ACTIVE_HIGH>;
142 gpios = <&gpio1 3 GPIO_ACTIVE_LOW>;
148 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
Dkirkwood-goflexnet.dts89 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
94 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
98 gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
102 gpios = <&gpio1 11 GPIO_ACTIVE_HIGH>;
106 gpios = <&gpio1 12 GPIO_ACTIVE_HIGH>;
110 gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>;
114 gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
118 gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
122 gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>;
126 gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
Dat91sam9m10g45ek.dts62 resetb-gpios = <&pioD 12 GPIO_ACTIVE_LOW>;
63 pwdn-gpios = <&pioD 13 GPIO_ACTIVE_HIGH>;
95 cd-gpios = <&pioD 10 GPIO_ACTIVE_HIGH>;
108 cd-gpios = <&pioD 11 GPIO_ACTIVE_HIGH>;
109 wp-gpios = <&pioD 29 GPIO_ACTIVE_HIGH>;
156 cs-gpios = <&pioB 3 0>, <0>, <0>, <0>;
287 gpios = <&pioD 30 GPIO_ACTIVE_HIGH>;
315 gpios = <&pioB 6 GPIO_ACTIVE_LOW>;
322 gpios = <&pioB 7 GPIO_ACTIVE_LOW>;
329 gpios = <&pioB 14 GPIO_ACTIVE_LOW>;
[all …]
Dr8a7740-armadillo800eva.dts65 gpios = <&pfc 17 GPIO_ACTIVE_HIGH>;
85 gpios = <&pfc 99 GPIO_ACTIVE_LOW>;
92 gpios = <&pfc 100 GPIO_ACTIVE_LOW>;
98 gpios = <&pfc 97 GPIO_ACTIVE_LOW>;
104 gpios = <&pfc 98 GPIO_ACTIVE_LOW>;
113 gpios = <&pfc 102 GPIO_ACTIVE_HIGH>;
117 gpios = <&pfc 111 GPIO_ACTIVE_HIGH>;
121 gpios = <&pfc 110 GPIO_ACTIVE_HIGH>;
125 gpios = <&pfc 177 GPIO_ACTIVE_HIGH>;
134 gpios = <&pfc 208 GPIO_ACTIVE_HIGH /* sda */
[all …]
Dr8a73a4-ape6evm.dts78 gpios = <&pfc 28 GPIO_ACTIVE_HIGH>;
82 gpios = <&pfc 126 GPIO_ACTIVE_HIGH>;
86 gpios = <&pfc 132 GPIO_ACTIVE_HIGH>;
90 gpios = <&pfc 232 GPIO_ACTIVE_HIGH>;
94 gpios = <&pfc 250 GPIO_ACTIVE_HIGH>;
98 gpios = <&pfc 288 GPIO_ACTIVE_HIGH>;
110 gpios = <&pfc 324 GPIO_ACTIVE_LOW>;
117 gpios = <&pfc 325 GPIO_ACTIVE_LOW>;
123 gpios = <&pfc 326 GPIO_ACTIVE_LOW>;
129 gpios = <&pfc 327 GPIO_ACTIVE_LOW>;
[all …]
Dr8a7791-koelsch.dts79 gpios = <&gpio5 0 GPIO_ACTIVE_LOW>;
86 gpios = <&gpio5 1 GPIO_ACTIVE_LOW>;
93 gpios = <&gpio5 2 GPIO_ACTIVE_LOW>;
100 gpios = <&gpio5 3 GPIO_ACTIVE_LOW>;
107 gpios = <&gpio7 0 GPIO_ACTIVE_LOW>;
114 gpios = <&gpio7 1 GPIO_ACTIVE_LOW>;
121 gpios = <&gpio7 2 GPIO_ACTIVE_LOW>;
128 gpios = <&gpio7 3 GPIO_ACTIVE_LOW>;
135 gpios = <&gpio7 4 GPIO_ACTIVE_LOW>;
142 gpios = <&gpio7 5 GPIO_ACTIVE_LOW>;
[all …]
Dlpc4357-ea4357-devkit.dts61 gpios = <&gpio LPC_GPIO(4,8) GPIO_ACTIVE_LOW>;
67 gpios = <&gpio LPC_GPIO(4,9) GPIO_ACTIVE_LOW>;
73 gpios = <&gpio LPC_GPIO(4,10) GPIO_ACTIVE_LOW>;
79 gpios = <&gpio LPC_GPIO(4,12) GPIO_ACTIVE_LOW>;
85 gpios = <&gpio LPC_GPIO(4,13) GPIO_ACTIVE_LOW>;
93 gpios = <&mmio_leds 15 GPIO_ACTIVE_HIGH>;
98 gpios = <&mmio_leds 14 GPIO_ACTIVE_HIGH>;
102 gpios = <&mmio_leds 13 GPIO_ACTIVE_HIGH>;
106 gpios = <&mmio_leds 12 GPIO_ACTIVE_HIGH>;
110 gpios = <&mmio_leds 11 GPIO_ACTIVE_HIGH>;
[all …]
Dkirkwood-lsxl.dtsi113 gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
119 gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
125 gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
138 gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
143 gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
148 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
153 gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
159 gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
167 gpios = <&gpio0 19 GPIO_ACTIVE_LOW
173 alarm-gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>;
Dkirkwood-lswxl.dts159 gpios = <&gpio1 41 GPIO_ACTIVE_LOW>;
166 gpios = <&gpio1 42 GPIO_ACTIVE_LOW>;
173 gpios = <&gpio1 43 GPIO_ACTIVE_LOW>;
188 gpios = <&gpio1 36 GPIO_ACTIVE_LOW>;
193 gpios = <&gpio1 49 GPIO_ACTIVE_LOW>;
198 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
203 gpios = <&gpio1 8 GPIO_ACTIVE_LOW>;
208 gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
214 gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
219 gpios = <&gpio1 3 GPIO_ACTIVE_LOW>;
[all …]
Dkirkwood-lswvl.dts159 gpios = <&gpio0 45 GPIO_ACTIVE_LOW>;
166 gpios = <&gpio0 46 GPIO_ACTIVE_LOW>;
173 gpios = <&gpio0 47 GPIO_ACTIVE_LOW>;
188 gpios = <&gpio0 36 GPIO_ACTIVE_LOW>;
193 gpios = <&gpio0 37 GPIO_ACTIVE_LOW>;
198 gpios = <&gpio0 38 GPIO_ACTIVE_LOW>;
203 gpios = <&gpio0 39 GPIO_ACTIVE_LOW>;
208 gpios = <&gpio0 40 GPIO_ACTIVE_LOW>;
214 gpios = <&gpio0 34 GPIO_ACTIVE_LOW>;
219 gpios = <&gpio0 35 GPIO_ACTIVE_LOW>;
[all …]
Dkirkwood-dns320.dts28 gpios = <&gpio0 26 GPIO_ACTIVE_LOW>;
33 gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
37 gpios = <&gpio0 28 GPIO_ACTIVE_LOW>;
41 gpios = <&gpio0 27 GPIO_ACTIVE_LOW>;
45 gpios = <&gpio1 3 GPIO_ACTIVE_LOW>; /* GPIO 35 */
Domap3-pandora-common.dtsi50 gpios = <&gpio5 0 GPIO_ACTIVE_HIGH>; /* GPIO_128 */
57 gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>; /* GPIO_129 */
64 gpios = <&gpio5 30 GPIO_ACTIVE_HIGH>; /* GPIO_158 */
71 gpios = <&gpio5 31 GPIO_ACTIVE_HIGH>; /* GPIO_159 */
86 gpios = <&gpio4 14 GPIO_ACTIVE_LOW>; /* GPIO_110 */
93 gpios = <&gpio4 7 GPIO_ACTIVE_LOW>; /* GPIO_103 */
100 gpios = <&gpio4 0 GPIO_ACTIVE_LOW>; /* GPIO_96 */
107 gpios = <&gpio4 2 GPIO_ACTIVE_LOW>; /* GPIO_98 */
114 gpios = <&gpio4 13 GPIO_ACTIVE_LOW>; /* GPIO_109 */
121 gpios = <&gpio4 10 GPIO_ACTIVE_LOW>; /* GPIO_106 */
[all …]
Dkirkwood-dns325.dts28 gpios = <&gpio0 26 GPIO_ACTIVE_LOW>;
33 gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; /* GPIO 43 */
37 gpios = <&gpio0 28 GPIO_ACTIVE_LOW>;
41 gpios = <&gpio0 27 GPIO_ACTIVE_LOW>;
45 gpios = <&gpio0 29 GPIO_ACTIVE_LOW>;
Dbcm4709-asus-rt-ac87u.dts32 gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
38 gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
44 gpios = <&chipcommon 5 GPIO_ACTIVE_LOW>;
57 gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
63 gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
Danimeo_ip.dts129 gpios = <&pioC 17 GPIO_ACTIVE_HIGH>;
135 gpios = <&pioA 2 GPIO_ACTIVE_HIGH>;
140 gpios = <&pioC 19 GPIO_ACTIVE_HIGH>;
145 gpios = <&pioC 18 GPIO_ACTIVE_HIGH>;
156 gpios = <&pioB 1 GPIO_ACTIVE_HIGH>;
163 gpios = <&pioB 2 GPIO_ACTIVE_HIGH>;
170 gpios = <&pioC 23 GPIO_ACTIVE_HIGH>;
Domap3-ldp.dts36 gpios = <&gpio4 5 GPIO_ACTIVE_LOW>; /* gpio101 */
43 gpios = <&gpio4 6 GPIO_ACTIVE_LOW>; /* gpio102 */
50 gpios = <&gpio4 7 GPIO_ACTIVE_LOW>; /* gpio103 */
57 gpios = <&gpio4 8 GPIO_ACTIVE_LOW>; /* gpio104 */
64 gpios = <&gpio4 9 GPIO_ACTIVE_LOW>; /* gpio105 */
71 gpios = <&gpio4 10 GPIO_ACTIVE_LOW>; /* gpio106 */
78 gpios = <&gpio4 11 GPIO_ACTIVE_LOW>; /* gpio107 */
85 gpios = <&gpio4 12 GPIO_ACTIVE_LOW>; /* gpio108 */
92 gpios = <&gpio4 13 GPIO_ACTIVE_LOW>; /* gpio109 */
177 gpios = <&twl_gpio 7 GPIO_ACTIVE_HIGH>;
[all …]
Dkirkwood-netgear_readynas_nv+_v2.dts141 gpios = <&gpio0 31 GPIO_ACTIVE_LOW>;
147 gpios = <&gpio0 22 GPIO_ACTIVE_LOW>;
152 gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
157 gpios = <&gpio0 23 GPIO_ACTIVE_LOW>;
162 gpios = <&gpio0 24 GPIO_ACTIVE_LOW>;
167 gpios = <&gpio0 29 GPIO_ACTIVE_LOW>;
180 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
186 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
192 gpios = <&gpio1 13 GPIO_ACTIVE_LOW>;
200 gpios = <&gpio0 30 GPIO_ACTIVE_LOW>;
Dat91sam9261ek.dts115 cs-gpios = <&pioA 3 0>, <0>, <&pioA 28 0>, <0>;
163 gpios = <&pioA 13 GPIO_ACTIVE_LOW>;
169 gpios = <&pioA 14 GPIO_ACTIVE_LOW>;
175 gpios = <&pioA 23 GPIO_ACTIVE_LOW>;
185 gpios = <&pioA 27 GPIO_ACTIVE_LOW>;
192 gpios = <&pioA 26 GPIO_ACTIVE_LOW>;
199 gpios = <&pioA 25 GPIO_ACTIVE_LOW>;
206 gpios = <&pioA 24 GPIO_ACTIVE_LOW>;
Dvf500-colibri.dtsi25 xp-gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
26 xm-gpios = <&gpio2 29 GPIO_ACTIVE_HIGH>;
27 yp-gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
28 ym-gpios = <&gpio0 4 GPIO_ACTIVE_HIGH>;
31 pinctrl-names = "idle","default","gpios";
Dkirkwood-dir665.dts154 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
161 gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
165 gpios = <&gpio1 11 GPIO_ACTIVE_HIGH>;
169 gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
173 gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>;
177 gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
181 gpios = <&gpio1 16 GPIO_ACTIVE_HIGH>;
185 gpios = <&gpio1 17 GPIO_ACTIVE_LOW>;
197 gpios = <&gpio0 28 GPIO_ACTIVE_LOW>;
202 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
Darmada-370-seagate-nas-xbay.dtsi153 gpios = <&gpio2 0 GPIO_ACTIVE_HIGH
165 gpios = <&gpio1 19 GPIO_ACTIVE_LOW>;
171 gpios = <&gpio0 31 GPIO_ACTIVE_LOW>;
177 gpios = <&gpio1 23 GPIO_ACTIVE_LOW>;
187 gpios = <&gpio1 28 GPIO_ACTIVE_HIGH>;
193 gpios = <&gpio1 31 GPIO_ACTIVE_HIGH>;
197 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
201 gpios = <&gpio1 21 GPIO_ACTIVE_LOW>;
207 gpios = <&gpio1 30 GPIO_ACTIVE_LOW>;
Dkirkwood-nsa320.dts160 gpios = <&gpio0 28 GPIO_ACTIVE_HIGH>;
164 gpios = <&gpio0 29 GPIO_ACTIVE_HIGH>;
168 gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
172 gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
176 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
180 gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
184 gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>;
188 gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
192 gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>;
Dkirkwood-netgear_readynas_duo_v2.dts134 gpios = <&gpio0 31 GPIO_ACTIVE_LOW>;
140 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
145 gpios = <&gpio0 23 GPIO_ACTIVE_LOW>;
150 gpios = <&gpio0 22 GPIO_ACTIVE_LOW>;
155 gpios = <&gpio0 29 GPIO_ACTIVE_LOW>;
168 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
174 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
180 gpios = <&gpio1 13 GPIO_ACTIVE_LOW>;
188 gpios = <&gpio0 30 GPIO_ACTIVE_LOW>;
Dkirkwood-mplcec4.dts112 cd-gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
128 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
133 gpios = <&gpio1 8 GPIO_ACTIVE_LOW>;
139 gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
145 gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
151 gpios = <&gpio1 13 GPIO_ACTIVE_LOW>;
157 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
Domap3-overo-alto35-common.dtsi25 gpios = <&gpio5 20 GPIO_ACTIVE_HIGH>; /* gpio 148 */
29 gpios = <&gpio5 22 GPIO_ACTIVE_HIGH>; /* gpio 150 */
33 gpios = <&gpio5 23 GPIO_ACTIVE_HIGH>; /* gpio 151 */
37 gpios = <&gpio6 10 GPIO_ACTIVE_HIGH>; /* gpio 170 */
50 gpios = <&gpio1 10 GPIO_ACTIVE_LOW>; /* gpio_10 */
Ddove-d3plug.dts25 gpios = <&gpio0 0 1>;
30 gpios = <&gpio0 1 1>;
35 gpios = <&gpio0 2 1>;
93 reset-gpios = <&gpio0 26 1>;
101 reset-gpios = <&gpio0 25 1>;
Dpm9g45.dts75 cd-gpios = <&pioD 6 GPIO_ACTIVE_HIGH>;
92 gpios = <&pioD 3 GPIO_ACTIVE_HIGH
145 gpios = <&pioD 0 GPIO_ACTIVE_LOW>;
151 gpios = <&pioD 31 GPIO_ACTIVE_HIGH>;
163 gpios = <&pioE 7 GPIO_ACTIVE_LOW>;
169 gpios = <&pioE 8 GPIO_ACTIVE_LOW>;
Dkirkwood-iomega_ix2_200.dts131 gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
136 gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
140 gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
144 gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>;
159 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
164 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
169 gpios = <&gpio1 3 GPIO_ACTIVE_LOW>;
174 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
Dkirkwood-ib62x0.dts68 gpios = <&gpio0 29 GPIO_ACTIVE_LOW>;
73 gpios = <&gpio0 28 GPIO_ACTIVE_LOW>;
85 gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>;
90 gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>;
94 gpios = <&gpio0 27 GPIO_ACTIVE_HIGH>;
102 gpios = <&gpio0 24 GPIO_ACTIVE_HIGH>;
Dlogicpd-torpedo-37xx-devkit.dts24 gpios = <&gpio1 2 GPIO_ACTIVE_LOW>; /* gpio2 */
31 gpios = <&gpio1 7 GPIO_ACTIVE_LOW>; /* gpio7 */
38 gpios = <&gpio6 21 GPIO_ACTIVE_LOW>; /* gpio181 */
45 gpios = <&gpio6 18 GPIO_ACTIVE_LOW>; /* gpio178 */
58 gpios = <&gpio6 20 GPIO_ACTIVE_HIGH>; /* gpio180 */
64 gpios = <&gpio6 19 GPIO_ACTIVE_HIGH>; /* gpio179 */
91 cd-gpios = <&gpio4 31 IRQ_TYPE_LEVEL_LOW>; /* gpio127 */
Dat91sam9263ek.dts68 cd-gpios = <&pioE 18 GPIO_ACTIVE_HIGH>;
69 wp-gpios = <&pioE 19 GPIO_ACTIVE_HIGH>;
85 cs-gpios = <&pioA 5 0>, <0>, <0>, <0>;
189 gpios = <&pioB 7 GPIO_ACTIVE_HIGH>;
195 gpios = <&pioC 29 GPIO_ACTIVE_LOW>;
205 gpios = <&pioC 5 GPIO_ACTIVE_LOW>;
212 gpios = <&pioC 4 GPIO_ACTIVE_LOW>;
Domap3-overo-palo43-common.dtsi25 gpios = <&gpio1 21 GPIO_ACTIVE_LOW>; /* gpio_21 */
30 gpios = <&gpio1 22 GPIO_ACTIVE_LOW>; /* gpio_22 */
43 gpios = <&gpio1 23 GPIO_ACTIVE_LOW>; /* gpio_23 */
49 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; /* gpio_14 */
Domap3-overo-palo35-common.dtsi25 gpios = <&gpio1 21 GPIO_ACTIVE_LOW>; /* gpio_21 */
30 gpios = <&gpio1 22 GPIO_ACTIVE_LOW>; /* gpio_22 */
43 gpios = <&gpio1 23 GPIO_ACTIVE_LOW>; /* gpio_23 */
49 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; /* gpio_14 */
Dimx53-ard.dts70 gpios = <&gpio5 10 0>;
77 gpios = <&gpio5 11 0>;
84 gpios = <&gpio5 12 0>;
91 gpios = <&gpio5 13 0>;
97 gpios = <&gpio4 0 0>;
106 cd-gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
107 wp-gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
Dlpc4350-hitex-eval.dts51 gpios = <&pca_gpio 8 GPIO_ACTIVE_LOW>;
57 gpios = <&pca_gpio 9 GPIO_ACTIVE_LOW>;
64 gpios = <&pca_gpio 10 GPIO_ACTIVE_LOW>;
70 gpios = <&pca_gpio 11 GPIO_ACTIVE_LOW>;
76 gpios = <&pca_gpio 12 GPIO_ACTIVE_LOW>;
82 gpios = <&pca_gpio 13 GPIO_ACTIVE_LOW>;
88 gpios = <&pca_gpio 14 GPIO_ACTIVE_LOW>;
94 gpios = <&pca_gpio 15 GPIO_ACTIVE_LOW>;
103 gpios = <&pca_gpio 0 GPIO_ACTIVE_LOW>;
109 gpios = <&pca_gpio 1 GPIO_ACTIVE_LOW>;
[all …]
Domap3-overo-gallop43-common.dtsi25 gpios = <&gpio1 21 GPIO_ACTIVE_LOW>; /* gpio_21 */
30 gpios = <&gpio1 22 GPIO_ACTIVE_LOW>; /* gpio_22 */
43 gpios = <&gpio1 23 GPIO_ACTIVE_LOW>; /* gpio_23 */
49 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; /* gpio_14 */
Dsh73a0-kzm9g.dts90 gpios = <&pfc 20 GPIO_ACTIVE_LOW>;
94 gpios = <&pfc 21 GPIO_ACTIVE_LOW>;
98 gpios = <&pfc 22 GPIO_ACTIVE_LOW>;
102 gpios = <&pfc 23 GPIO_ACTIVE_LOW>;
111 gpios = <&pcf8575 8 GPIO_ACTIVE_LOW>;
117 gpios = <&pcf8575 9 GPIO_ACTIVE_LOW>;
123 gpios = <&pcf8575 10 GPIO_ACTIVE_LOW>;
129 gpios = <&pcf8575 11 GPIO_ACTIVE_LOW>;
135 gpios = <&pcf8575 12 GPIO_ACTIVE_LOW>;
141 gpios = <&pcf8575 13 GPIO_ACTIVE_LOW>;
[all …]
Dkirkwood-cloudbox.dts66 gpios = <&gpio0 16 GPIO_ACTIVE_LOW>;
75 gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
79 gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>;
85 gpios = <&gpio0 17 GPIO_ACTIVE_HIGH>;
Domap3-overo-chestnut43-common.dtsi25 gpios = <&gpio1 21 GPIO_ACTIVE_LOW>; /* gpio_21 */
30 gpios = <&gpio1 22 GPIO_ACTIVE_LOW>; /* gpio_22 */
43 gpios = <&gpio1 23 GPIO_ACTIVE_LOW>; /* gpio_23 */
49 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; /* gpio_14 */
Darmada-xp-lenovo-ix4-300d.dts204 gpios = <&gpio1 12 GPIO_ACTIVE_HIGH>;
210 gpios = <&gpio1 13 GPIO_ACTIVE_LOW>;
216 gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
222 gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
231 cs-gpios = <&gpio0 27 GPIO_ACTIVE_LOW>;
253 gpios = <&gpio0 26 GPIO_ACTIVE_HIGH>;
259 gpios = <&gpio_spi 1 GPIO_ACTIVE_LOW>;
267 gpios = <&gpio_spi 2 GPIO_ACTIVE_HIGH>;
273 gpios = <&gpio_spi 3 GPIO_ACTIVE_HIGH>;
279 gpios = <&gpio_spi 4 GPIO_ACTIVE_HIGH>;
[all …]
Dste-nomadik-nhk15.dts79 reset-gpios = <&stmpe_gpio44 10 GPIO_ACTIVE_HIGH>;
94 reset-gpios = <&gpio2 13 GPIO_ACTIVE_LOW>; // GPIO77
136 reset-gpios = <&gpio2 15 GPIO_ACTIVE_LOW>; // GPIO79
155 gpios = <2 0x0>;
171 cd-gpios = <&stmpe_gpio44 7 GPIO_ACTIVE_LOW>;
172 wp-gpios = <&stmpe_gpio44 18 GPIO_ACTIVE_HIGH>;
Dphy3250.dts66 gpios = <&gpio 5 19 1>; /* GPO_P3 19, active low */
139 cs-gpios = <&gpio 3 5 0>;
161 wp-gpios = <&gpio 3 0 0>;
162 cd-gpios = <&gpio 3 1 0>;
193 gpios = <&gpio 5 1 0>; /* GPO_P3 1, GPIO 80, active high */
198 gpios = <&gpio 5 14 0>; /* GPO_P3 14, GPIO 93, active high */
Dr8a7791-porter.dts54 gpios = <&gpio2 12 GPIO_ACTIVE_HIGH>;
55 gpios-states = <1>;
76 gpios = <&gpio2 26 GPIO_ACTIVE_HIGH>;
77 gpios-states = <1>;
168 cd-gpios = <&gpio6 6 GPIO_ACTIVE_LOW>;
169 wp-gpios = <&gpio6 7 GPIO_ACTIVE_HIGH>;
179 cd-gpios = <&gpio6 22 GPIO_ACTIVE_LOW>;
Dimx6qdl-rex.dtsi64 gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
93 cs-gpios = <&gpio5 12 GPIO_ACTIVE_LOW>;
101 cs-gpios = <&gpio4 26 GPIO_ACTIVE_LOW>;
111 phy-reset-gpios = <&gpio1 25 GPIO_ACTIVE_LOW>;
342 cd-gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
343 wp-gpios = <&gpio2 3 GPIO_ACTIVE_HIGH>;
351 cd-gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
352 wp-gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>;
Dat91-sama5d3_xplained.dts44 cd-gpios = <&pioE 0 GPIO_ACTIVE_LOW>;
55 cd-gpios = <&pioE 1 GPIO_ACTIVE_LOW>;
60 cs-gpios = <&pioD 13 0>, <0>, <0>, <&pioD 16 0>;
155 cd-gpios = <&pioE 1 GPIO_ACTIVE_HIGH>;
160 cs-gpios = <&pioC 25 0>;
317 gpios = <&pioE 29 GPIO_ACTIVE_LOW>;
328 gpios = <&pioE 23 GPIO_ACTIVE_LOW>; /* PE23, conflicts with A23, CTS2 */
334 gpios = <&pioE 24 GPIO_ACTIVE_HIGH>;
Dkirkwood-sheevaplug-esata.dts27 cd-gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
28 wp-gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
39 gpios = <&gpio1 17 GPIO_ACTIVE_LOW>;
Dexynos4412-tiny4412.dts35 gpios = <&gpm4 0 GPIO_ACTIVE_LOW>;
42 gpios = <&gpm4 1 GPIO_ACTIVE_LOW>;
48 gpios = <&gpm4 2 GPIO_ACTIVE_LOW>;
54 gpios = <&gpm4 3 GPIO_ACTIVE_LOW>;
Domap3-evm-common.dtsi19 gpios = <&twl_gpio 19 GPIO_ACTIVE_HIGH>; /* LEDB */
51 gpios = <&twl_gpio 18 GPIO_ACTIVE_LOW>;
83 enable-gpios = <&gpio5 24 GPIO_ACTIVE_HIGH>; /* gpio152, lcd INI */
84 reset-gpios = <&gpio5 27 GPIO_ACTIVE_HIGH>; /* gpio155, lcd RESB */
85 mode-gpios = <&gpio5 26 GPIO_ACTIVE_HIGH /* gpio154, lcd MO */
Dkirkwood-mv88f6281gtw-ge.dts91 gpios = <&gpio0 20 GPIO_ACTIVE_HIGH>;
96 gpios = <&gpio0 21 GPIO_ACTIVE_HIGH>;
101 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
115 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
120 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
Dimx51-apf51dev.dts23 gpios = <&gpio3 4 GPIO_ACTIVE_HIGH>;
64 gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>;
74 gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
84 cs-gpios = <&gpio4 24 GPIO_ACTIVE_HIGH>,
93 cs-gpios = <&gpio3 28 GPIO_ACTIVE_LOW>,
101 cd-gpios = <&gpio2 29 GPIO_ACTIVE_LOW>;
Dorion5x-linkstation-lswtgl.dts145 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
152 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
164 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
169 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
174 gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
183 gpios = <&gpio0 14 GPIO_ACTIVE_LOW
191 alarm-gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
214 gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
226 gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>;
Dr8a7790-lager.dts82 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
89 gpios = <&gpio1 24 GPIO_ACTIVE_LOW>;
96 gpios = <&gpio1 26 GPIO_ACTIVE_LOW>;
103 gpios = <&gpio1 28 GPIO_ACTIVE_LOW>;
110 gpios = <&gpio4 22 GPIO_ACTIVE_HIGH>;
113 gpios = <&gpio4 23 GPIO_ACTIVE_HIGH>;
116 gpios = <&gpio5 17 GPIO_ACTIVE_HIGH>;
147 gpios = <&gpio5 29 GPIO_ACTIVE_HIGH>;
148 gpios-states = <1>;
171 gpios = <&gpio5 30 GPIO_ACTIVE_HIGH>;
[all …]
Dat91sam9g20ek_2mmc.dts26 cd-gpios = <&pioC 2 GPIO_ACTIVE_HIGH>;
46 gpios = <&pioB 9 GPIO_ACTIVE_HIGH>;
52 gpios = <&pioB 8 GPIO_ACTIVE_LOW>;
Darmada-370-netgear-rn104.dts213 gpios = <&gpio1 31 GPIO_ACTIVE_HIGH>;
219 gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
225 gpios = <&pca9554 0 GPIO_ACTIVE_LOW>;
231 gpios = <&pca9554 1 GPIO_ACTIVE_LOW>;
237 gpios = <&pca9554 2 GPIO_ACTIVE_LOW>;
243 gpios = <&pca9554 3 GPIO_ACTIVE_LOW>;
258 gpios = <&gpio1 20 GPIO_ACTIVE_LOW>;
264 gpios = <&gpio1 30 GPIO_ACTIVE_HIGH>;
270 gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
278 gpios = <&gpio1 28 GPIO_ACTIVE_LOW>;
Dat91rm9200ek.dts64 cs-gpios = <&pioA 3 0>, <0>, <0>, <0>;
121 gpios = <&pioB 0 GPIO_ACTIVE_LOW>;
127 gpios = <&pioB 1 GPIO_ACTIVE_LOW>;
133 gpios = <&pioB 2 GPIO_ACTIVE_LOW>;
Daks-cdu.dts99 gpios = <&pioC 10 GPIO_ACTIVE_HIGH>;
104 gpios = <&pioA 5 GPIO_ACTIVE_LOW>;
110 gpios = <&pioB 20 GPIO_ACTIVE_LOW>;
115 gpios = <&pioB 21 GPIO_ACTIVE_LOW>;
Dr8a7791-henninger.dts55 gpios = <&gpio2 12 GPIO_ACTIVE_HIGH>;
56 gpios-states = <1>;
77 gpios = <&gpio2 26 GPIO_ACTIVE_HIGH>;
78 gpios-states = <1>;
184 cd-gpios = <&gpio6 6 GPIO_ACTIVE_LOW>;
185 wp-gpios = <&gpio6 7 GPIO_ACTIVE_HIGH>;
195 cd-gpios = <&gpio6 22 GPIO_ACTIVE_LOW>;
Ddove-d2plug.dts25 gpios = <&gpio0 0 1>;
30 gpios = <&gpio0 1 1>;
35 gpios = <&gpio0 2 1>;
Darmada-370-seagate-personal-cloud.dtsi133 gpios = <&gpio1 19 GPIO_ACTIVE_HIGH>;
139 gpios = <&gpio1 23 GPIO_ACTIVE_LOW>;
145 gpios = <&gpio1 21 GPIO_ACTIVE_LOW>;
155 gpios = <&gpio1 26 GPIO_ACTIVE_HIGH>;
162 gpios = <&gpio1 25 GPIO_ACTIVE_HIGH>;
Dste-nomadik-s8815.dts27 gpios = <16 0x0>;
119 gpios = <&gpio2 10 0>, /* sda */
142 cd-gpios = <&gpio3 15 GPIO_ACTIVE_LOW>;
151 gpios = <&gpio0 2 0x1>;
164 gpios = <&gpio0 3 0x1>;
Dimx28-cfa10049.dts228 mux-gpios = <&gpio1 22 0 &gpio1 23 0>;
330 phy-reset-gpios = <&gpio2 21 0>;
344 cs-gpios = <&gpio3 5 0>;
355 gpios-reset = <&gpio3 30 0>;
356 im-gpios = <&gpio5 4 0 &gpio5 5 0 &gpio5 6 0>;
367 cs-gpios = <&gpio0 17 0 &gpio0 26 0 &gpio0 27 0>;
406 gpios = <&gpio3 26 1>;
416 gpios = <&gpio3 24 1>, <&gpio3 25 1>;
434 gpios = <&gpio1 21 0>;
Dexynos4210-universal_c210.dts77 gpios = <&gpx2 0 GPIO_ACTIVE_LOW>;
84 gpios = <&gpx2 1 GPIO_ACTIVE_LOW>;
91 gpios = <&gpx2 2 GPIO_ACTIVE_LOW>;
99 gpios = <&gpx2 3 GPIO_ACTIVE_LOW>;
106 gpios = <&gpx2 7 GPIO_ACTIVE_LOW>;
114 gpios = <&gpx3 5 GPIO_ACTIVE_LOW>;
138 cs-gpios = <&gpy4 3 GPIO_ACTIVE_HIGH>;
145 reset-gpios = <&gpy4 5 GPIO_ACTIVE_HIGH>;
228 gpios = <&gpe4 2 GPIO_ACTIVE_HIGH &gpe4 3 GPIO_ACTIVE_HIGH>;
316 max8952,vid-gpios = <&gpx0 3 GPIO_ACTIVE_HIGH>,
[all …]
Dkirkwood-netxbig.dtsi69 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
75 gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
80 gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
87 gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
113 addr-gpios = <&gpio1 15 GPIO_ACTIVE_HIGH
116 data-gpios = <&gpio1 12 GPIO_ACTIVE_HIGH
Dat91sam9n12ek.dts74 cd-gpios = <&pioA 7 GPIO_ACTIVE_HIGH>;
110 cs-gpios = <&pioA 14 0>, <0>, <0>, <0>;
189 gpios = <&pioB 4 GPIO_ACTIVE_LOW>;
195 gpios = <&pioB 5 GPIO_ACTIVE_LOW>;
201 gpios = <&pioB 6 GPIO_ACTIVE_HIGH>;
211 gpios = <&pioB 3 GPIO_ACTIVE_LOW>;
Dimx53-smd.dts29 gpios = <&gpio2 14 0>;
35 gpios = <&gpio2 15 0>;
44 cd-gpios = <&gpio3 13 GPIO_ACTIVE_LOW>;
45 wp-gpios = <&gpio4 11 GPIO_ACTIVE_HIGH>;
67 cs-gpios = <&gpio2 30 0>, <&gpio3 19 0>;
277 phy-reset-gpios = <&gpio7 6 0>;
Dimx6qdl-sabresd.dtsi81 gpios = <&gpio3 29 GPIO_ACTIVE_LOW>;
88 gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
95 gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
132 gpios = <&gpio1 2 0>;
153 cs-gpios = <&gpio4 9 0>;
171 phy-reset-gpios = <&gpio1 25 0>;
326 wakeup-gpios = <&gpio6 7 0>;
572 cd-gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
573 wp-gpios = <&gpio2 3 GPIO_ACTIVE_HIGH>;
581 cd-gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
[all …]
Dkirkwood-guruplug-server-plus.dts63 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
67 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
71 gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
75 gpios = <&gpio1 17 GPIO_ACTIVE_LOW>;
Dimx6qdl-phytec-pfla02.dtsi53 gpios = <&gpio1 30 0>;
58 gpios = <&gpio2 31 0>;
80 cs-gpios = <&gpio4 24 0>;
93 phy-reset-gpios = <&gpio3 23 GPIO_ACTIVE_LOW>;
412 cd-gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
413 wp-gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
421 cd-gpios = <&gpio1 27 GPIO_ACTIVE_LOW>;
422 wp-gpios = <&gpio1 29 GPIO_ACTIVE_HIGH>;
Dkirkwood-topkick.dts131 gpios = <&gpio0 21 GPIO_ACTIVE_LOW>;
136 gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
140 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
145 gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
149 gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
Dat91sam9rlek.dts114 cd-gpios = <&pioA 15 GPIO_ACTIVE_HIGH>;
147 cs-gpios = <&pioA 28 0>, <0>, <0>, <0>;
207 gpios = <&pioD 14 GPIO_ACTIVE_HIGH>;
217 gpios = <&pioB 0 GPIO_ACTIVE_LOW>;
224 gpios = <&pioB 1 GPIO_ACTIVE_LOW>;
Dat91sam9x5ek.dtsi31 cd-gpios = <&pioD 15 GPIO_ACTIVE_HIGH>;
44 cd-gpios = <&pioD 14 GPIO_ACTIVE_HIGH>;
88 resetb-gpios = <&pioA 7 GPIO_ACTIVE_LOW>;
89 pwdn-gpios = <&pioA 13 GPIO_ACTIVE_HIGH>;
153 cs-gpios = <&pioA 14 0>, <0>, <0>, <0>;
Dkirkwood-ns2-common.dtsi63 gpios = <&gpio1 0 GPIO_ACTIVE_HIGH>;
72 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
78 gpios = <&gpio0 31 GPIO_ACTIVE_HIGH>;
Demev2-kzm9d.dts41 gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
48 gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>;
55 gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
62 gpios = <&gpio0 17 GPIO_ACTIVE_HIGH>;
Dkirkwood-nsa3x0-common.dtsi70 gpios = <&gpio1 16 GPIO_ACTIVE_HIGH>;
83 gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>;
88 gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
93 gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
Dvexpress-v2m-rs1.dtsi134 cd-gpios = <&v2m_mmc_gpios 0 0>;
135 wp-gpios = <&v2m_mmc_gpios 1 0>;
323 gpios = <&v2m_led_gpios 0 0>;
329 gpios = <&v2m_led_gpios 1 0>;
335 gpios = <&v2m_led_gpios 2 0>;
341 gpios = <&v2m_led_gpios 3 0>;
347 gpios = <&v2m_led_gpios 4 0>;
353 gpios = <&v2m_led_gpios 5 0>;
359 gpios = <&v2m_led_gpios 6 0>;
365 gpios = <&v2m_led_gpios 7 0>;
Dvexpress-v2m.dtsi133 cd-gpios = <&v2m_mmc_gpios 0 0>;
134 wp-gpios = <&v2m_mmc_gpios 1 0>;
322 gpios = <&v2m_led_gpios 0 0>;
328 gpios = <&v2m_led_gpios 1 0>;
334 gpios = <&v2m_led_gpios 2 0>;
340 gpios = <&v2m_led_gpios 3 0>;
346 gpios = <&v2m_led_gpios 4 0>;
352 gpios = <&v2m_led_gpios 5 0>;
358 gpios = <&v2m_led_gpios 6 0>;
364 gpios = <&v2m_led_gpios 7 0>;
Dimx53-qsb-common.dtsi62 gpios = <&gpio1 8 0>;
68 gpios = <&gpio2 14 0>;
75 gpios = <&gpio2 15 0>;
88 gpios = <&gpio7 7 0>;
150 cd-gpios = <&gpio3 11 GPIO_ACTIVE_LOW>;
151 wp-gpios = <&gpio3 12 GPIO_ACTIVE_HIGH>;
347 phy-reset-gpios = <&gpio7 6 0>;
Defm32gg-dk3750.dts45 cs-gpios = <&gpio 68 1>; // E4
59 cs-gpios = <&gpio 51 1>; // D3
80 irq-gpios = <&gpio 64 1>;
Domap3-igep0030-common.dtsi20 gpios = <&twl_gpio 18 GPIO_ACTIVE_LOW>; /* LEDA */
26 gpios = <&twl_gpio 19 GPIO_ACTIVE_LOW>; /* LEDB */
32 gpios = <&gpio1 16 GPIO_ACTIVE_LOW>; /* gpio_16 */
Dam335x-baltos-ir5221.dts289 dtr-gpios = <&gpio2 22 GPIO_ACTIVE_LOW>;
290 dsr-gpios = <&gpio2 23 GPIO_ACTIVE_LOW>;
291 dcd-gpios = <&gpio2 24 GPIO_ACTIVE_LOW>;
292 rng-gpios = <&gpio2 25 GPIO_ACTIVE_LOW>;
293 cts-gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
294 rts-gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
302 dtr-gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
303 dsr-gpios = <&gpio1 13 GPIO_ACTIVE_LOW>;
304 dcd-gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
305 rng-gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
[all …]
Dimx6qdl-nit6xlite.dtsi104 gpios = <&gpio6 8 GPIO_ACTIVE_HIGH>;
116 gpios = <&gpio7 13 IRQ_TYPE_LEVEL_LOW>;
122 gpios = <&gpio4 5 IRQ_TYPE_LEVEL_LOW>;
133 gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
139 gpios = <&gpio1 3 GPIO_ACTIVE_LOW>;
145 gpios = <&gpio3 29 GPIO_ACTIVE_LOW>;
151 gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
157 gpios = <&gpio1 8 GPIO_ACTIVE_LOW>;
222 cs-gpios = <&gpio3 19 GPIO_ACTIVE_LOW>;
238 phy-reset-gpios = <&gpio1 27 GPIO_ACTIVE_LOW>;
[all …]
Darmada-370-netgear-rn102.dts203 gpios = <&gpio1 25 GPIO_ACTIVE_LOW>;
209 gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
215 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
221 gpios = <&gpio1 24 GPIO_ACTIVE_LOW>;
236 gpios = <&gpio1 30 GPIO_ACTIVE_HIGH>;
242 gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
248 gpios = <&gpio1 26 GPIO_ACTIVE_LOW>;
256 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
Dsun7i-a20-cubietruck.dts72 gpios = <&pio 7 21 GPIO_ACTIVE_HIGH>;
77 gpios = <&pio 7 20 GPIO_ACTIVE_HIGH>;
82 gpios = <&pio 7 11 GPIO_ACTIVE_HIGH>;
87 gpios = <&pio 7 7 GPIO_ACTIVE_HIGH>;
95 reset-gpios = <&pio 7 9 GPIO_ACTIVE_LOW>; /* PH9 WIFI_EN */
167 cd-gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>; /* PH1 */
318 usb0_id_det-gpios = <&pio 7 19 GPIO_ACTIVE_HIGH>; /* PH19 */
319 usb0_vbus_det-gpios = <&pio 7 22 GPIO_ACTIVE_HIGH>; /* PH22 */
Dkirkwood-db.dtsi30 pmx_sdio_gpios: pmx-sdio-gpios {
52 wp-gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
53 cd-gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
Dat91sam9x5cm.dtsi81 gpios = <&pioB 18 GPIO_ACTIVE_LOW>;
87 gpios = <&pioD 21 GPIO_ACTIVE_HIGH>;
93 gpios = <&pioB 18 GPIO_ACTIVE_HIGH>;
Dimx28-sps1.dts29 hog_pins_a: hog-gpios@0 {
151 gpios = <&gpio0 6 0>;
158 gpios = <&gpio0 3 0>;
165 gpios = <&gpio0 0 0>;
Dimx53-voipac-bsb.dts35 gpios = <&gpio3 29 0>;
41 gpios = <&gpio2 31 0>;
122 cd-gpios = <&gpio3 25 GPIO_ACTIVE_LOW>;
123 wp-gpios = <&gpio2 19 GPIO_ACTIVE_HIGH>;
Dkirkwood-openblocks_a6.dts99 gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
104 gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
109 gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
123 gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
Dkirkwood-blackarmor-nas220.dts33 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
42 gpios = <&gpio0 29 GPIO_ACTIVE_HIGH>;
48 gpios = <&gpio0 26 GPIO_ACTIVE_LOW>;
57 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
Dkirkwood-b3.dts137 gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
143 gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
148 gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
161 gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
170 gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>;
Dbcm2835-rpi-a-plus.dts10 gpios = <&gpio 47 0>;
15 gpios = <&gpio 35 0>;
Dbcm2835-rpi-b-plus.dts10 gpios = <&gpio 47 0>;
15 gpios = <&gpio 35 0>;
Dste-snowball.dts53 gpios = <&gpio1 0 0x4>;
60 gpios = <&gpio4 23 0x4>;
67 gpios = <&gpio4 24 0x4>;
74 gpios = <&gpio5 1 0x4>;
81 gpios = <&gpio5 2 0x4>;
91 gpios = <&gpio4 14 0x4>;
158 gpios = <&gpio7 4 0x4>;
185 cd-gpios = <&gpio6 26 0x4>; // 218
284 gpios = <&gpio5 5 0x4>; /* DRDY line */
295 gpios = <&gpio5 6 0x4>; /* DRDY line */
Dimx51-babbage.dts38 gpios = <&gpio4 26 GPIO_ACTIVE_LOW>;
108 gpios = <&gpio2 21 GPIO_ACTIVE_HIGH>;
121 gpios = <&gpio2 6 GPIO_ACTIVE_HIGH>;
167 reset-gpios = <&gpio2 5 GPIO_ACTIVE_LOW>;
182 cs-gpios = <&gpio4 24 GPIO_ACTIVE_HIGH>,
308 cd-gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
309 wp-gpios = <&gpio1 1 GPIO_ACTIVE_HIGH>;
316 cd-gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
317 wp-gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
325 phy-reset-gpios = <&gpio2 14 GPIO_ACTIVE_LOW>;
/linux-4.4.14/drivers/net/phy/
Dmdio-mux-gpio.c21 struct gpio_descs *gpios; member
29 int values[s->gpios->ndescs]; in mdio_mux_gpio_switch_fn()
35 for (n = 0; n < s->gpios->ndescs; n++) in mdio_mux_gpio_switch_fn()
38 gpiod_set_array_value_cansleep(s->gpios->ndescs, s->gpios->desc, in mdio_mux_gpio_switch_fn()
53 s->gpios = gpiod_get_array(&pdev->dev, NULL, GPIOD_OUT_LOW); in mdio_mux_gpio_probe()
54 if (IS_ERR(s->gpios)) in mdio_mux_gpio_probe()
55 return PTR_ERR(s->gpios); in mdio_mux_gpio_probe()
61 gpiod_put_array(s->gpios); in mdio_mux_gpio_probe()
73 gpiod_put_array(s->gpios); in mdio_mux_gpio_remove()
/linux-4.4.14/Documentation/devicetree/bindings/input/touchscreen/
Dcolibri-vf50-ts.txt6 - xp-gpios: FET gate driver for input of X+
7 - xm-gpios: FET gate driver for input of X-
8 - yp-gpios: FET gate driver for input of Y+
9 - ym-gpios: FET gate driver for input of Y-
12 - pinctrl-names: "idle", "default", "gpios"
15 - pinctrl-2: pinctrl node for gpios functioning as FET gate drivers
24 xp-gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
25 xm-gpios = <&gpio2 29 GPIO_ACTIVE_HIGH>;
26 yp-gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
27 ym-gpios = <&gpio0 4 GPIO_ACTIVE_HIGH>;
[all …]
Dzforce_ts.txt7 - reset-gpios: reset gpio the chip is connected to
12 - irq-gpios : interrupt gpio the chip is connected to
26 reset-gpios = <&gpio5 9 0>; /* RST */
27 irq-gpios = <&gpio5 6 0>; /* IRQ, optional */
Dedt-ft5x06.txt30 - reset-gpios: GPIO specification for the RESET input
31 - wake-gpios: GPIO specification for the WAKE input
35 control gpios
55 reset-gpios = <&gpio2 6 GPIO_ACTIVE_LOW>;
56 wake-gpios = <&gpio4 9 GPIO_ACTIVE_HIGH>;
Dauo_pixcir_ts.txt7 - gpios: gpios the chip is connected to
22 gpios = <&gpf 2 0 2>, /* INT */
Dsitronix-st1232.txt9 - gpios: a phandle to the reset GPIO
20 gpios = <&gpio1 166 0>;
Dchipone_icn8318.txt9 - wake-gpios : GPIO specification for the WAKE input
16 control gpios
38 wake-gpios = <&pio 1 3 GPIO_ACTIVE_HIGH>; /* PB3 */
/linux-4.4.14/drivers/watchdog/
Dmena21_wdt.c37 unsigned gpios[NUM_GPIOS]; member
49 reset |= gpio_get_value(drv->gpios[GPIO_WD_RST0]) ? (1 << 0) : 0; in a21_wdt_get_bootstatus()
50 reset |= gpio_get_value(drv->gpios[GPIO_WD_RST1]) ? (1 << 1) : 0; in a21_wdt_get_bootstatus()
51 reset |= gpio_get_value(drv->gpios[GPIO_WD_RST2]) ? (1 << 2) : 0; in a21_wdt_get_bootstatus()
62 gpio_set_value(drv->gpios[GPIO_WD_ENAB], 1); in a21_wdt_start()
75 gpio_set_value(drv->gpios[GPIO_WD_ENAB], 0); in a21_wdt_stop()
88 gpio_set_value(drv->gpios[GPIO_WD_TRIG], 0); in a21_wdt_ping()
90 gpio_set_value(drv->gpios[GPIO_WD_TRIG], 1); in a21_wdt_ping()
116 gpio_set_value(drv->gpios[GPIO_WD_FAST], 1); in a21_wdt_set_timeout()
118 gpio_set_value(drv->gpios[GPIO_WD_FAST], 0); in a21_wdt_set_timeout()
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/sound/
Dnokia,rx51.txt9 - tvout-selection-gpios: GPIO for tvout selection
10 - jack-detection-gpios: GPIO for jack detection
11 - eci-switch-gpios: GPIO for ECI (Enhancement Control Interface) switch
12 - speaker-amplifier-gpios: GPIO for speaker amplifier
23 tvout-selection-gpios = <&gpio2 8 GPIO_ACTIVE_HIGH>; /* 40 */
24 jack-detection-gpios = <&gpio6 17 GPIO_ACTIVE_HIGH>; /* 177 */
25 eci-switch-gpios = <&gpio6 22 GPIO_ACTIVE_HIGH>; /* 182 */
26 speaker-amplifier-gpios = <&twl_gpio 7 GPIO_ACTIVE_HIGH>;
Dnvidia,tegra-audio-wm8903.txt26 - nvidia,spkr-en-gpios : The GPIO that enables the speakers
27 - nvidia,hp-mute-gpios : The GPIO that mutes the headphones
28 - nvidia,hp-det-gpios : The GPIO that detect headphones are plugged in
29 - nvidia,int-mic-en-gpios : The GPIO that enables the internal microphone
30 - nvidia,ext-mic-en-gpios : The GPIO that enables the external microphone
52 nvidia,spkr-en-gpios = <&codec 2 0>;
53 nvidia,hp-det-gpios = <&gpio 178 0>; /* gpio PW2 */
54 nvidia,int-mic-en-gpios = <&gpio 184 0>; /*gpio PX0 */
55 nvidia,ext-mic-en-gpios = <&gpio 185 0>; /* gpio PX1 */
Dsirf-audio.txt9 - hp-pa-gpios: Need to be present if the board need control external
11 - spk-pa-gpios: Need to be present if the board need control external
13 - hp-switch-gpios: Need to be present if the board capable to detect jack
37 hp-pa-gpios = <&gpio 44 0>;
38 spk-pa-gpios = <&gpio 46 0>;
39 hp-switch-gpios = <&gpio 45 0>;
Dnvidia,tegra-audio-rt5677.txt30 - nvidia,hp-det-gpios : The GPIO that detects headphones are plugged in
31 - nvidia,hp-en-gpios : The GPIO that enables headphone amplifier
32 - nvidia,mic-present-gpios: The GPIO that mic jack is plugged in
33 - nvidia,dmic-clk-en-gpios : The GPIO that gates DMIC clock signal
58 nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(R, 7) GPIO_ACTIVE_HIGH>;
59 nvidia,mic-present-gpios = <&gpio TEGRA_GPIO(O, 5) GPIO_ACTIVE_LOW>;
60 nvidia,hp-en-gpios = <&rt5677 1 GPIO_ACTIVE_HIGH>;
61 nvidia,dmic-clk-en-gpios = <&rt5677 2 GPIO_ACTIVE_HIGH>;
Dsoc-ac97link.txt7 pinmuxing for the used gpios:
11 - ac97-gpios: List of gpio phandles with args in the order ac97-sync,
25 ac97-gpios = <&gpio3 20 0 &gpio3 22 0 &gpio3 28 0>;
Dtas571x.txt15 - reset-gpios: GPIO specifier for the TAS571x's active low reset line
16 - pdn-gpios: GPIO specifier for the TAS571x's active low powerdown line
36 reset-gpios = <&gpio5 1 GPIO_ACTIVE_LOW>;
37 pdn-gpios = <&gpio5 2 GPIO_ACTIVE_LOW>;
Dcs4349.txt11 - reset-gpios : a GPIO spec for the reset pin.
18 reset-gpios = <&gpio 54 0>;
/linux-4.4.14/arch/arc/boot/dts/
Dabilis_tb100_dvk.dts67 gpios = <&gpioi 0 0>;
72 gpios = <&gpioi 1 0>;
77 gpios = <&gpioi 2 0>;
82 gpios = <&gpioi 3 0>;
87 gpios = <&gpioi 4 0>;
92 gpios = <&gpioi 5 0>;
97 gpios = <&gpioi 6 0>;
102 gpios = <&gpioi 7 0>;
107 gpios = <&gpioi 8 0>;
112 gpios = <&gpioi 9 0>;
[all …]
Dabilis_tb101_dvk.dts67 gpios = <&gpioi 0 0>;
72 gpios = <&gpioi 1 0>;
77 gpios = <&gpioi 2 0>;
82 gpios = <&gpioi 3 0>;
87 gpios = <&gpioi 4 0>;
92 gpios = <&gpioi 5 0>;
97 gpios = <&gpioi 6 0>;
102 gpios = <&gpioi 7 0>;
107 gpios = <&gpioi 8 0>;
112 gpios = <&gpioi 9 0>;
[all …]
Daxs10x_mb.dtsi173 snps,nr-gpios = <32>;
181 snps,nr-gpios = <8>;
189 snps,nr-gpios = <8>;
204 snps,nr-gpios = <30>;
212 snps,nr-gpios = <10>;
220 snps,nr-gpios = <8>;
/linux-4.4.14/drivers/regulator/
Dgpio-regulator.c42 struct gpio *gpios; member
57 if (data->states[ptr].gpios == data->state) in gpio_regulator_get_value()
74 target = data->states[ptr].gpios; in gpio_regulator_set_voltage()
85 gpio_set_value_cansleep(data->gpios[ptr].gpio, state); in gpio_regulator_set_voltage()
113 target = data->states[ptr].gpios; in gpio_regulator_set_current_limit()
122 gpio_set_value_cansleep(data->gpios[ptr].gpio, state); in gpio_regulator_set_current_limit()
173 config->gpios = devm_kzalloc(dev, in of_get_gpio_regulator_config()
176 if (!config->gpios) in of_get_gpio_regulator_config()
193 config->gpios[i].gpio = gpio; in of_get_gpio_regulator_config()
198 config->gpios[i].flags = in of_get_gpio_regulator_config()
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/gpio/
Dgpio-fan.txt7 - gpios: Specifies the pins that map to bits in the control value,
12 - alarm-gpios: This pin going active indicates something is wrong with
18 Note: At least one the "gpios" or "alarm-gpios" properties must be set.
24 gpios = <&gpio1 14 1
29 alarm-gpios = <&gpio1 15 1>;
33 gpios = <&gpio2 14 1
38 alarm-gpios = <&gpio2 15 1>;
Dnetxbig-gpio-ext.txt6 - addr-gpios: GPIOs representing the address register (LSB -> MSB).
7 - data-gpios: GPIOs representing the data register (LSB -> MSB).
15 addr-gpios = <&gpio1 15 GPIO_ACTIVE_HIGH
18 data-gpios = <&gpio1 12 GPIO_ACTIVE_HIGH
/linux-4.4.14/arch/cris/boot/dts/
Dp1343.dts24 gpios = <&gio 3 0 0xa>, <&gio 2 0 0xa>;
40 gpios = <&gio 0 GPIO_ACTIVE_LOW 0xc>;
46 gpios = <&gio 1 GPIO_ACTIVE_LOW 0xc>;
51 gpios = <&gio 2 GPIO_ACTIVE_LOW 0xc>;
56 gpios = <&gio 3 GPIO_ACTIVE_LOW 0xc>;
61 gpios = <&gio 4 GPIO_ACTIVE_LOW 0xc>;
73 gpios = <&gio 13 GPIO_ACTIVE_LOW 0xd>;
Ddev88.dts29 cs-gpios = <&gio 3 0 0xd>;
42 gpios = <&gio 5 0 0xd>, <&gio 6 0 0xd>;
58 gpios = <&gio 2 GPIO_ACTIVE_LOW 0xa>;
63 gpios = <&gio 3 GPIO_ACTIVE_LOW 0xa>;
/linux-4.4.14/drivers/i2c/muxes/
Di2c-mux-gpio.c32 gpio_set_value_cansleep(mux->gpio_base + mux->data.gpios[i], in i2c_mux_gpio_set()
67 unsigned *values, *gpios; in i2c_mux_gpio_probe_dt() local
111 gpios = devm_kzalloc(&pdev->dev, in i2c_mux_gpio_probe_dt()
112 sizeof(*mux->data.gpios) * mux->data.n_gpios, GFP_KERNEL); in i2c_mux_gpio_probe_dt()
113 if (!gpios) { in i2c_mux_gpio_probe_dt()
122 gpios[i] = ret; in i2c_mux_gpio_probe_dt()
125 mux->data.gpios = gpios; in i2c_mux_gpio_probe_dt()
204 ret = gpio_request(gpio_base + mux->data.gpios[i], "i2c-mux-gpio"); in i2c_mux_gpio_probe()
207 mux->data.gpios[i]); in i2c_mux_gpio_probe()
211 ret = gpio_direction_output(gpio_base + mux->data.gpios[i], in i2c_mux_gpio_probe()
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/iio/
Dsensorhub.txt11 - ap-mcu-gpios: [out] ap to sensorhub line - used during communication
12 - mcu-ap-gpios: [in] sensorhub to ap - used during communication
13 - mcu-reset-gpios: [out] sensorhub reset
22 ap-mcu-gpios = <&gpx0 0 0>;
23 mcu-ap-gpios = <&gpx0 4 0>;
24 mcu-reset-gpios = <&gpx0 5 0>;
/linux-4.4.14/drivers/hsi/clients/
Dnokia-modem.c46 struct nokia_modem_gpio *gpios; member
80 sysfs_remove_link(&dev->kobj, modem->gpios[i].name); in nokia_modem_gpio_unexport()
81 gpiod_unexport(modem->gpios[i].gpio); in nokia_modem_gpio_unexport()
105 modem->gpios = devm_kzalloc(dev, gpio_count * in nokia_modem_gpio_probe()
107 if (!modem->gpios) { in nokia_modem_gpio_probe()
115 modem->gpios[i].gpio = devm_gpiod_get_index(dev, NULL, i, in nokia_modem_gpio_probe()
117 if (IS_ERR(modem->gpios[i].gpio)) { in nokia_modem_gpio_probe()
119 return PTR_ERR(modem->gpios[i].gpio); in nokia_modem_gpio_probe()
123 &(modem->gpios[i].name)); in nokia_modem_gpio_probe()
129 err = gpiod_export(modem->gpios[i].gpio, 0); in nokia_modem_gpio_probe()
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/serial/
Daxis,etraxfs-uart.txt9 - {dtr,dsr,rng,dcd}-gpios: specify a GPIO for DTR/DSR/RI/DCD
19 dtr-gpios = <&sysgpio 0 GPIO_ACTIVE_LOW>;
20 dsr-gpios = <&sysgpio 1 GPIO_ACTIVE_LOW>;
21 rng-gpios = <&sysgpio 2 GPIO_ACTIVE_LOW>;
22 dcd-gpios = <&sysgpio 3 GPIO_ACTIVE_LOW>;
Dsirf-uart.txt13 - rts-gpios: RTS pin for USP-based UART if sirf,uart-has-rtscts is true
14 - cts-gpios: CTS pin for USP-based UART if sirf,uart-has-rtscts is true
27 On the board-specific dts, we can put rts-gpios and cts-gpios like
32 rts-gpios = <&gpio 15 0>;
33 cts-gpios = <&gpio 46 0>;
Datmel-usart.txt17 - {rts,cts,dtr,dsr,rng,dcd}-gpios: specify a GPIO for RTS/CTS/DTR/DSR/RI/DCD line respectively.
42 rts-gpios = <&pioD 15 GPIO_ACTIVE_LOW>;
43 cts-gpios = <&pioD 16 GPIO_ACTIVE_LOW>;
44 dtr-gpios = <&pioD 17 GPIO_ACTIVE_LOW>;
45 dsr-gpios = <&pioD 18 GPIO_ACTIVE_LOW>;
46 dcd-gpios = <&pioD 20 GPIO_ACTIVE_LOW>;
47 rng-gpios = <&pioD 19 GPIO_ACTIVE_LOW>;
Dcirrus,clps711x-uart.txt11 - {rts,cts,dtr,dsr,rng,dcd}-gpios: specify a GPIO for RTS/CTS/DTR/DSR/RI/DCD
28 cts-gpios = <&sysgpio 0 GPIO_ACTIVE_LOW>;
29 dsr-gpios = <&sysgpio 1 GPIO_ACTIVE_LOW>;
30 dcd-gpios = <&sysgpio 2 GPIO_ACTIVE_LOW>;
Dfsl-mxs-auart.txt17 - {rts,cts,dtr,dsr,rng,dcd}-gpios: specify a GPIO for RTS/CTS/DTR/DSR/RI/DCD
29 cts-gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
30 dsr-gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
31 dcd-gpios = <&gpio1 17 GPIO_ACTIVE_LOW>;
/linux-4.4.14/drivers/mmc/host/
Dof_mmc_spi.c42 int gpios[NUM_GPIOS]; member
107 for (i = 0; i < ARRAY_SIZE(oms->gpios); i++) { in mmc_spi_get_pdata()
110 oms->gpios[i] = of_get_gpio_flags(np, i, &gpio_flags); in mmc_spi_get_pdata()
111 if (!gpio_is_valid(oms->gpios[i])) in mmc_spi_get_pdata()
118 if (gpio_is_valid(oms->gpios[CD_GPIO])) { in mmc_spi_get_pdata()
119 oms->pdata.cd_gpio = oms->gpios[CD_GPIO]; in mmc_spi_get_pdata()
124 if (gpio_is_valid(oms->gpios[WP_GPIO])) { in mmc_spi_get_pdata()
125 oms->pdata.ro_gpio = oms->gpios[WP_GPIO]; in mmc_spi_get_pdata()
/linux-4.4.14/Documentation/devicetree/bindings/power/reset/
Dltc2952-poweroff.txt10 - watchdog-gpios: phandle + gpio-specifier for the GPIO connected to the
12 - kill-gpios: phandle + gpio-specifier for the GPIO connected to the
16 - trigger-gpios: phandle + gpio-specifier for the GPIO connected to the
26 trigger-gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
27 watchdog-gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
28 kill-gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
/linux-4.4.14/Documentation/input/
Dgpio-tilt.txt4 Generic driver to read data from tilt switches connected via gpios.
13 The array of struct gpio in the gpios field is used to list the gpios
48 .gpios = (0 << 1) | (0 << 0),
53 .gpios = (0 << 1) | (1 << 0),
58 .gpios = (1 << 1) | (1 << 0),
63 .gpios = (1 << 1) | (0 << 0),
81 .gpios = sg060_tilt_gpios,
/linux-4.4.14/arch/mips/boot/dts/qca/
Dar9132_tl_wr1043nd_v1.dts77 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
84 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
93 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
98 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
104 gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
109 gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
/linux-4.4.14/Documentation/devicetree/bindings/regulator/
Dda9211.txt14 - enable-gpios: platform gpio for control of BUCKA/BUCKB.
31 enable-gpios = <&gpio 27 0>;
39 enable-gpios = <&gpio 17 0>;
57 enable-gpios = <&gpio 27 0>;
65 enable-gpios = <&gpio 17 0>;
84 enable-gpios = <&gpio 27 0>;
92 enable-gpios = <&gpio 17 0>;
Dgpio-regulator.txt10 - gpios : GPIO group used to control voltage.
11 - gpios-states : gpios pin's initial states array. 0: LOW, 1: HIGH.
32 gpios = <&gpio0 24 0x4
/linux-4.4.14/drivers/pcmcia/
Dpxa2xx_hx4700.c20 static struct gpio gpios[] = { variable
29 ret = gpio_request_array(gpios, ARRAY_SIZE(gpios)); in hx4700_pcmcia_hw_init()
53 gpio_free_array(gpios, ARRAY_SIZE(gpios)); in hx4700_pcmcia_hw_shutdown()
/linux-4.4.14/Documentation/devicetree/bindings/display/panel/
Dsharp,ls037v7dw01.txt9 - enable-gpios: a GPIO spec for the optional enable pin.
11 - reset-gpios: a GPIO spec for the optional reset pin.
13 - mode-gpios: a GPIO
32 enable-gpios = <&gpio5 24 GPIO_ACTIVE_HIGH>; /* gpio152, lcd INI */
33 reset-gpios = <&gpio5 27 GPIO_ACTIVE_HIGH>; /* gpio155, lcd RESB */
34 mode-gpios = <&gpio5 26 GPIO_ACTIVE_HIGH /* gpio154, lcd MO */
Dpanel-dsi-cm.txt9 - reset-gpios: panel reset gpio
10 - te-gpios: panel TE gpio
22 reset-gpios = <&gpio4 6 GPIO_ACTIVE_HIGH>;
Dsony,acx565akm.txt9 - reset-gpios: panel reset gpio
23 reset-gpios = <&gpio3 26 GPIO_ACTIVE_HIGH>; /* 90 */
/linux-4.4.14/Documentation/devicetree/bindings/leds/
Dleds-gpio.txt10 - gpios : Should specify the LED's GPIO, see "gpios property" in
35 gpios = <&mcu_pio 0 GPIO_ACTIVE_LOW>;
40 gpios = <&mcu_pio 1 GPIO_ACTIVE_HIGH>;
49 gpios = <&mpc8572 6 GPIO_ACTIVE_HIGH>;
53 gpios = <&mpc8572 7 GPIO_ACTIVE_HIGH>;
62 gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
Dleds-ktd2692.txt15 - ctrl-gpios : Specifier of the GPIO connected to CTRL pin.
16 - aux-gpios : Specifier of the GPIO connected to AUX pin.
40 ctrl-gpios = <&gpc0 1 0>;
41 aux-gpios = <&gpc0 2 0>;
/linux-4.4.14/Documentation/devicetree/bindings/usb/
Dusb3503.txt9 - connect-gpios: Should specify GPIO for connect.
14 - intn-gpios: Should specify GPIO for interrupt.
15 - reset-gpios: Should specify GPIO for reset.
31 connect-gpios = <&gpx3 0 1>;
33 intn-gpios = <&gpx3 4 1>;
34 reset-gpios = <&gpx3 5 1>;
/linux-4.4.14/Documentation/devicetree/bindings/input/
Dgpio-matrix-keypad.txt11 - row-gpios: List of gpios used as row lines. The gpio specifier
14 - col-gpios: List of gpios used as column lines. The gpio specifier
34 row-gpios = <&gpio2 25 0
38 col-gpios = <&gpio2 21 0
Dgpio-beeper.txt7 - gpios: From common gpio binding; gpio connection to beeper enable pin.
12 gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>;
/linux-4.4.14/Documentation/devicetree/bindings/net/nfc/
Ds3fwrn5.txt8 - s3fwrn5,en-gpios: Output GPIO pin used for enabling/disabling the chip
9 - s3fwrn5,fw-gpios: Output GPIO pin used to enter firmware mode and
24 s3fwrn5,en-gpios = <&gpf1 4 0>;
25 s3fwrn5,fw-gpios = <&gpj0 2 0>;
Dpn544.txt9 - enable-gpios: Output GPIO pin used for enabling/disabling the PN544
10 - firmware-gpios: Output GPIO pin used to enter firmware download mode
32 enable-gpios = <&gpio3 21 GPIO_ACTIVE_HIGH>;
33 firmware-gpios = <&gpio3 19 GPIO_ACTIVE_HIGH>;
Dnxp-nci.txt9 - enable-gpios: Output GPIO pin used for enabling/disabling the chip
10 - firmware-gpios: Output GPIO pin used to enter firmware download mode
32 enable-gpios = <&gpio0 30 GPIO_ACTIVE_HIGH>;
33 firmware-gpios = <&gpio0 31 GPIO_ACTIVE_HIGH>;
/linux-4.4.14/arch/arm/mach-pxa/
Dam300epd.c94 static int gpios[] = { PWR_GPIO_PIN, CFG_GPIO_PIN, RDY_GPIO_PIN, DC_GPIO_PIN, variable
113 for (i = 0; i < ARRAY_SIZE(gpios); i++) { in am300_init_gpio_regs()
114 err = gpio_request(gpios[i], gpio_names[i]); in am300_init_gpio_regs()
163 i = ARRAY_SIZE(gpios); in am300_init_gpio_regs()
166 gpio_free(gpios[i]); in am300_init_gpio_regs()
182 for (i = 0; i < ARRAY_SIZE(gpios); i++) in am300_cleanup()
183 gpio_free(gpios[i]); in am300_cleanup()
Dam200epd.c101 static int gpios[] = { LED_GPIO_PIN , STDBY_GPIO_PIN , RST_GPIO_PIN, variable
110 for (i = 0; i < ARRAY_SIZE(gpios); i++) { in am200_init_gpio_regs()
111 err = gpio_request(gpios[i], gpio_names[i]); in am200_init_gpio_regs()
132 gpio_free(gpios[i]); in am200_init_gpio_regs()
143 for (i = 0; i < ARRAY_SIZE(gpios); i++) in am200_cleanup()
144 gpio_free(gpios[i]); in am200_cleanup()
/linux-4.4.14/Documentation/devicetree/bindings/display/bridge/
Dps8622.txt6 - sleep-gpios: OF device-tree gpio specification for PD_ pin.
7 - reset-gpios: OF device-tree gpio specification for RST_ pin.
21 sleep-gpios = <&gpc3 6 1 0 0>;
22 reset-gpios = <&gpc3 1 1 0 0>;
/linux-4.4.14/arch/arm64/boot/dts/qcom/
Dapq8016-sbc.dtsi72 gpios = <&msmgpio 21 GPIO_ACTIVE_HIGH>;
79 gpios = <&msmgpio 120 GPIO_ACTIVE_HIGH>;
86 gpios = <&pm8916_gpios 1 GPIO_ACTIVE_HIGH>;
93 gpios = <&pm8916_gpios 2 GPIO_ACTIVE_HIGH>;
100 gpios = <&pm8916_mpps 2 GPIO_ACTIVE_HIGH>;
107 gpios = <&pm8916_mpps 3 GPIO_ACTIVE_HIGH>;
/linux-4.4.14/arch/powerpc/boot/dts/
Dac14xx.dts100 gpios = <
126 gpios = <&gpio_pic 15 0>;
135 gpios = <
169 cd-gpios = <&gpio_pic 23 0>; /* card detect */
170 wp-gpios = <&gpio_pic 24 0>; /* write protect */
316 cs-gpios = <&gpio_pic 25 0>;
362 col-gpios-binary;
365 col-gpios = <&gpio_pic 1 0>; /* pin1 */
367 row-gpios = <&gpio_pic 2 0 /* pin2 */
385 gpios = <&gpio_pic 0 0>;
[all …]
Dlite5200b.dts26 gpios = <&gpt2 0 1>;
29 gpios = <&gpt3 0 1>;
32 led1 { gpios = <&gpio_wkup 2 1>; };
33 led2 { gpios = <&gpio_simple 3 1>; };
34 led3 { gpios = <&gpio_wkup 3 1>; };
35 led4 { gpios = <&gpio_simple 2 1>; };
/linux-4.4.14/drivers/iio/adc/
Dad7266.c38 struct gpio gpios[3]; member
121 gpio_set_value(st->gpios[i].gpio, (bool)(nr & BIT(i))); in ad7266_select_input()
421 for (i = 0; i < ARRAY_SIZE(st->gpios); ++i) { in ad7266_probe()
422 st->gpios[i].gpio = pdata->addr_gpios[i]; in ad7266_probe()
423 st->gpios[i].flags = GPIOF_OUT_INIT_LOW; in ad7266_probe()
424 st->gpios[i].label = ad7266_gpio_labels[i]; in ad7266_probe()
426 ret = gpio_request_array(st->gpios, in ad7266_probe()
427 ARRAY_SIZE(st->gpios)); in ad7266_probe()
479 gpio_free_array(st->gpios, ARRAY_SIZE(st->gpios)); in ad7266_probe()
495 gpio_free_array(st->gpios, ARRAY_SIZE(st->gpios)); in ad7266_remove()
/linux-4.4.14/Documentation/devicetree/bindings/iio/humidity/
Ddht11.txt5 - gpios: Should specify the GPIO connected to the sensor's data
6 line, see "gpios property" in
13 gpios = <&gpio0 6 0>;
/linux-4.4.14/drivers/mtd/maps/
Dgpio-addr-flash.c209 struct resource *gpios; in gpio_flash_probe() local
214 gpios = platform_get_resource(pdev, IORESOURCE_IRQ, 0); in gpio_flash_probe()
216 if (!memory || !gpios || !gpios->end) in gpio_flash_probe()
219 arr_size = sizeof(int) * gpios->end; in gpio_flash_probe()
228 state->gpio_count = gpios->end; in gpio_flash_probe()
229 state->gpio_addrs = (void *)(unsigned long)gpios->start; in gpio_flash_probe()
/linux-4.4.14/Documentation/devicetree/bindings/media/i2c/
Dov2640.txt13 - resetb-gpios: reference to the GPIO connected to the resetb pin, if any.
14 - pwdn-gpios: reference to the GPIO connected to the pwdn pin, if any.
30 resetb-gpios = <&pioE 24 GPIO_ACTIVE_LOW>;
31 pwdn-gpios = <&pioE 29 GPIO_ACTIVE_HIGH>;
Dadv7604.txt18 - hpd-gpios: References to the GPIOs that control the HDMI hot-plug
36 - reset-gpios: Reference to the GPIO connected to the device's reset pin.
58 reset-gpios = <&ioexp 0 GPIO_ACTIVE_LOW>;
59 hpd-gpios = <&ioexp 2 GPIO_ACTIVE_HIGH>;
/linux-4.4.14/Documentation/devicetree/bindings/spi/
Dbrcm,bcm2835-aux-spi.txt15 - cs-gpios: the cs-gpios (native cs is NOT supported)
27 cs-gpios = <&gpio 18>, <&gpio 17>, <&gpio 16>;
37 cs-gpios = <&gpio 43>, <&gpio 44>, <&gpio 45>;
Dspi-bus.txt15 - cs-gpios - (optional) gpios chip select.
28 If cs-gpios is used the number of chip select will automatically increased
29 with max(cs-gpios > hw cs)
31 So if for example the controller has 2 CS lines, and the cs-gpios
34 cs-gpios = <&gpio1 0 0> <0> <&gpio1 1 0> <&gpio1 2 0>;
72 via the SPI master node cs-gpios property.
Dspi_atmel.txt7 - cs-gpios: chipselects (optional for SPI controller version >= 2 with the
27 cs-gpios = <&pioB 3 0>;
34 gpios = <&pioC 4 0>; /* CD */
/linux-4.4.14/Documentation/devicetree/bindings/display/ti/
Dti,tpd12s015.txt8 - gpios: CT CP HPD, LS OE and HPD gpios
20 gpios = <&gpio2 28 GPIO_ACTIVE_HIGH>, /* 60, CT CP HPD */
/linux-4.4.14/Documentation/devicetree/bindings/mmc/
Dnvidia,tegra20-sdhci.txt23 - power-gpios : Specify GPIOs for power control
34 cd-gpios = <&gpio 69 0>; /* gpio PI5 */
35 wp-gpios = <&gpio 57 0>; /* gpio PH1 */
36 power-gpios = <&gpio 155 0>; /* gpio PT3 */
Datmel-hsmci.txt43 - cd-gpios: specify GPIOs for card detection
45 - wp-gpios: specify GPIOs for write protection
52 cd-gpios = <&pioD 15 0>
66 cd-gpios = <&pioD 15 0>
/linux-4.4.14/drivers/spi/
Dspi-ppc4xx.c133 int *gpios; member
277 if (!hw->master->num_chipselect || hw->gpios[cs] == -EEXIST) in spi_ppc4xx_chipsel()
284 gpio_set_value(hw->gpios[cs], cspol); in spi_ppc4xx_chipsel()
370 if (gpio_is_valid(hw->gpios[i])) in free_gpios()
371 gpio_free(hw->gpios[i]); in free_gpios()
373 kfree(hw->gpios); in free_gpios()
374 hw->gpios = NULL; in free_gpios()
414 hw->gpios = kzalloc(sizeof(int) * num_gpios, GFP_KERNEL); in spi_ppc4xx_of_probe()
415 if (!hw->gpios) { in spi_ppc4xx_of_probe()
425 hw->gpios[i] = gpio; in spi_ppc4xx_of_probe()
Dspi-fsl-spi.c705 int gpio = pinfo->gpios[cs]; in fsl_spi_cs_control()
730 pinfo->gpios = kmalloc(ngpios * sizeof(*pinfo->gpios), GFP_KERNEL); in of_fsl_spi_get_chipselects()
731 if (!pinfo->gpios) in of_fsl_spi_get_chipselects()
733 memset(pinfo->gpios, -1, ngpios * sizeof(*pinfo->gpios)); in of_fsl_spi_get_chipselects()
759 pinfo->gpios[i] = gpio; in of_fsl_spi_get_chipselects()
762 ret = gpio_direction_output(pinfo->gpios[i], in of_fsl_spi_get_chipselects()
778 if (gpio_is_valid(pinfo->gpios[i])) in of_fsl_spi_get_chipselects()
779 gpio_free(pinfo->gpios[i]); in of_fsl_spi_get_chipselects()
786 kfree(pinfo->gpios); in of_fsl_spi_get_chipselects()
787 pinfo->gpios = NULL; in of_fsl_spi_get_chipselects()
[all …]
/linux-4.4.14/drivers/gpio/
Dgpio-adp5520.c95 int ret, i, gpios; in adp5520_gpio_probe() local
114 for (gpios = 0, i = 0; i < ADP5520_MAXGPIOS; i++) in adp5520_gpio_probe()
116 dev->lut[gpios++] = 1 << i; in adp5520_gpio_probe()
118 if (gpios < 1) { in adp5520_gpio_probe()
131 gc->ngpio = gpios; in adp5520_gpio_probe()
/linux-4.4.14/Documentation/devicetree/bindings/powerpc/fsl/cpm_qe/
Dserial.txt10 Modem control lines connected to GPIO controllers are listed in the gpios
16 The gpios property is optional and can be left out when control lines are
30 gpios = <&gpio_c 15 0
/linux-4.4.14/Documentation/devicetree/bindings/display/msm/
Dedp.txt24 - panel-en-gpios: GPIO pin to supply power to panel.
25 - panel-hpd-gpios: GPIO pin used for eDP hpd.
58 panel-en-gpios = <&tlmm 137 0>;
59 panel-hpd-gpios = <&tlmm 103 0>;
/linux-4.4.14/arch/arm64/boot/dts/arm/
Djuno-motherboard.dtsi67 gpios = <&iofpga_gpio0 0 0x4>;
74 gpios = <&iofpga_gpio0 1 0x4>;
81 gpios = <&iofpga_gpio0 2 0x4>;
88 gpios = <&iofpga_gpio0 3 0x4>;
95 gpios = <&iofpga_gpio0 4 0x4>;
102 gpios = <&iofpga_gpio0 5 0x4>;
230 /* cd-gpios = <&v2m_mmc_gpios 0 0>;
231 wp-gpios = <&v2m_mmc_gpios 1 0>; */
Dvexpress-v2m-rs1.dtsi134 cd-gpios = <&v2m_mmc_gpios 0 0>;
135 wp-gpios = <&v2m_mmc_gpios 1 0>;
323 gpios = <&v2m_led_gpios 0 0>;
329 gpios = <&v2m_led_gpios 1 0>;
335 gpios = <&v2m_led_gpios 2 0>;
341 gpios = <&v2m_led_gpios 3 0>;
347 gpios = <&v2m_led_gpios 4 0>;
353 gpios = <&v2m_led_gpios 5 0>;
359 gpios = <&v2m_led_gpios 6 0>;
365 gpios = <&v2m_led_gpios 7 0>;
/linux-4.4.14/drivers/input/misc/
Dgpio_tilt_polled.c53 state |= (!!gpio_get_value(pdata->gpios[i].gpio) << i); in gpio_tilt_polled_poll()
57 if (pdata->states[i].gpios == state) in gpio_tilt_polled_poll()
117 error = gpio_request_array(pdata->gpios, pdata->nr_gpios); in gpio_tilt_polled_probe()
175 gpio_free_array(pdata->gpios, pdata->nr_gpios); in gpio_tilt_polled_probe()
190 gpio_free_array(pdata->gpios, pdata->nr_gpios); in gpio_tilt_polled_remove()
/linux-4.4.14/Documentation/devicetree/bindings/phy/
Dsun4i-usb-phy.txt30 - usb0_id_det-gpios : gpio phandle for reading the otg id pin value
31 - usb0_vbus_det-gpios : gpio phandle for detecting the presence of usb0 vbus
50 usb0_id_det-gpios = <&pio 7 19 GPIO_ACTIVE_HIGH>; /* PH19 */
51 usb0_vbus_det-gpios = <&pio 7 22 GPIO_ACTIVE_HIGH>; /* PH22 */
/linux-4.4.14/Documentation/devicetree/bindings/i2c/
Di2c-imx.txt17 - scl-gpios: specify the gpio related to SCL pin
18 - sda-gpios: specify the gpio related to SDA pin
47 scl-gpios = <&gpio5 26 GPIO_ACTIVE_HIGH>;
48 sda-gpios = <&gpio5 27 GPIO_ACTIVE_HIGH>;
Di2c-mux-gpio.txt24 - mux-gpios: list of gpios used to control the muxer
52 mux-gpios = <&gpio1 22 0 &gpio1 23 0>;
64 reset-gpios = <&gpio2 7 1>;
/linux-4.4.14/Documentation/devicetree/bindings/media/
Dsamsung-s5k5baf.txt13 - stbyn-gpios : GPIO connected to STDBYN pin;
14 - rstn-gpios : GPIO connected to RSTN pin;
46 stbyn-gpios = <&gpl2 0 1>;
47 rstn-gpios = <&gpl2 1 1>;
/linux-4.4.14/include/linux/regulator/
Dgpio-regulator.h41 int gpios; member
77 struct gpio *gpios; member
/linux-4.4.14/include/linux/input/
Dgpio_tilt.h34 int gpios; member
57 struct gpio *gpios; member
/linux-4.4.14/Documentation/devicetree/bindings/net/
Dfsl-fec.txt10 - phy-reset-gpios : Should specify the gpio for phy reset
12 only if property "phy-reset-gpios" is available. Missing the property
39 phy-reset-gpios = <&gpio2 14 0>; /* GPIO2_14 */
51 phy-reset-gpios = <&gpio2 14 0>; /* GPIO2_14 */
/linux-4.4.14/Documentation/devicetree/bindings/iio/magnetometer/
Dak8975.txt10 - gpios : should be device tree identifier of the magnetometer DRDY pin
17 gpios = <&gpj0 7 0>;
/linux-4.4.14/Documentation/devicetree/bindings/leds/backlight/
Dgpio-backlight.txt5 - gpios: describes the gpio that is used for enabling/disabling the backlight.
14 gpios = <&gpio3 4 GPIO_ACTIVE_HIGH>;
/linux-4.4.14/Documentation/gpio/
Dboard.txt24 <function>-gpios, where <function> is the function the driver will request
30 led-gpios = <&gpio 15 GPIO_ACTIVE_HIGH>, /* red */
34 power-gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
56 the <function>-prefix of the GPIO suffixes ("gpios" or "gpio", automatically
58 "led-gpios" example, use the prefix without the "-" as con_id parameter: "led".
60 Internally, the GPIO subsystem prefixes the GPIO suffix ("gpios" or "gpio")
86 "led-gpios",
94 "power-gpios",

12345