blob: ab9adbdd6e00f0aff4831efabfc62c5c14d08097 [file] [log] [blame]
Masahiro Yamadacc85b7b2015-07-26 02:46:26 +09001#
2# GPIO infrastructure and drivers
3#
4
5menu "GPIO Support"
6
Masahiro Yamada57ad8ee2014-10-23 22:26:09 +09007config DM_GPIO
8 bool "Enable Driver Model for GPIO drivers"
9 depends on DM
10 help
Simon Glassd8b771d2015-02-05 21:41:35 -070011 Enable driver model for GPIO access. The standard GPIO
12 interface (gpio_get_value(), etc.) is then implemented by
13 the GPIO uclass. Drivers provide methods to query the
14 particular GPIOs that they provide. The uclass interface
15 is defined in include/asm-generic/gpio.h.
Albert ARIBAUD \(3ADEV\)eb135ad2015-03-31 11:40:46 +020016
Simon Glassfa4689a2019-12-06 21:41:35 -070017config SPL_DM_GPIO
18 bool "Enable Driver Model for GPIO drivers in SPL"
Simon Glass035939e2021-07-10 21:14:30 -060019 depends on DM_GPIO && SPL_DM && SPL_GPIO
Simon Glassfa4689a2019-12-06 21:41:35 -070020 default y
21 help
22 Enable driver model for GPIO access in SPL. The standard GPIO
23 interface (gpio_get_value(), etc.) is then implemented by
24 the GPIO uclass. Drivers provide methods to query the
25 particular GPIOs that they provide. The uclass interface
26 is defined in include/asm-generic/gpio.h.
27
28config TPL_DM_GPIO
29 bool "Enable Driver Model for GPIO drivers in TPL"
Simon Glass035939e2021-07-10 21:14:30 -060030 depends on DM_GPIO && TPL_DM && TPL_GPIO
Simon Glassfa4689a2019-12-06 21:41:35 -070031 default y
32 help
33 Enable driver model for GPIO access in TPL. The standard GPIO
34 interface (gpio_get_value(), etc.) is then implemented by
35 the GPIO uclass. Drivers provide methods to query the
36 particular GPIOs that they provide. The uclass interface
37 is defined in include/asm-generic/gpio.h.
38
Heiko Schocher58e4c382019-07-17 06:59:51 +020039config GPIO_HOG
Heiko Schocher39cb3402019-06-12 06:11:46 +020040 bool "Enable GPIO hog support"
41 depends on DM_GPIO
Heiko Schocher39cb3402019-06-12 06:11:46 +020042 help
43 Enable gpio hog support
44 The GPIO chip may contain GPIO hog definitions. GPIO hogging
45 is a mechanism providing automatic GPIO request and config-
46 uration as part of the gpio-controller's driver probe function.
47
Heiko Schochera3e793c2020-05-22 11:08:59 +020048config DM_GPIO_LOOKUP_LABEL
49 bool "Enable searching for gpio labelnames"
50 depends on DM_GPIO
51 help
52 This option enables searching for gpio names in
53 the defined gpio labels, if the search for the
54 gpio bank name failed. This makes sense if you use
55 different gpios on different hardware versions
56 for the same functionality in board code.
57
58config SPL_DM_GPIO_LOOKUP_LABEL
59 bool "Enable searching for gpio labelnames"
Simon Glass035939e2021-07-10 21:14:30 -060060 depends on DM_GPIO && SPL_DM && SPL_GPIO
Heiko Schochera3e793c2020-05-22 11:08:59 +020061 help
62 This option enables searching for gpio names in
63 the defined gpio labels, if the search for the
64 gpio bank name failed. This makes sense if you use
65 different gpios on different hardware versions
66 for the same functionality in board code.
67
Thomas Choufb1a4bf2015-10-21 21:33:45 +080068config ALTERA_PIO
69 bool "Altera PIO driver"
70 depends on DM_GPIO
71 help
72 Select this to enable PIO for Altera devices. Please find
73 details on the "Embedded Peripherals IP User Guide" of Altera.
74
Álvaro Fernández Rojase9301112017-05-07 20:09:30 +020075config BCM6345_GPIO
76 bool "BCM6345 GPIO driver"
Philippe Reynesbcef7632020-01-07 20:14:15 +010077 depends on DM_GPIO && (ARCH_BMIPS || ARCH_BCM68360 || \
78 ARCH_BCM6858 || ARCH_BCM63158)
Álvaro Fernández Rojase9301112017-05-07 20:09:30 +020079 help
80 This driver supports the GPIO banks on BCM6345 SoCs.
81
Jason Li5ec230c2020-01-30 12:34:56 -080082config CORTINA_GPIO
83 bool "Cortina-Access GPIO driver"
84 depends on DM_GPIO && CORTINA_PLATFORM
85 help
86 Enable support for the GPIO controller in Cortina CAxxxx SoCs.
87 This driver supports all CPU ISA variants supported by Cortina
88 Access CAxxxx SoCs.
89
Marek Vasut12a8d792015-06-23 15:54:19 +020090config DWAPB_GPIO
91 bool "DWAPB GPIO driver"
92 depends on DM && DM_GPIO
Marek Vasut12a8d792015-06-23 15:54:19 +020093 help
94 Support for the Designware APB GPIO driver.
95
Wenyou Yangad054482017-03-23 12:46:19 +080096config AT91_GPIO
97 bool "AT91 PIO GPIO driver"
Wenyou Yangad054482017-03-23 12:46:19 +080098 help
99 Say yes here to select AT91 PIO GPIO driver. AT91 PIO
100 controller manages up to 32 fully programmable input/output
101 lines. Each I/O line may be dedicated as a general-purpose
102 I/O or be assigned to a function of an embedded peripheral.
103 The assignment to a function of an embedded peripheral is
104 the responsibility of AT91 Pinctrl driver. This driver is
105 responsible for the general-purpose I/O.
106
Wenyou Yang5a09d132015-11-04 14:25:13 +0800107config ATMEL_PIO4
108 bool "ATMEL PIO4 driver"
Wenyou Yang0b971522016-07-20 17:16:26 +0800109 depends on DM_GPIO
Wenyou Yang5a09d132015-11-04 14:25:13 +0800110 help
111 Say yes here to support the Atmel PIO4 driver.
112 The PIO4 is new version of Atmel PIO controller, which manages
113 up to 128 fully programmable input/output lines. Each I/O line
114 may be dedicated as a general purpose I/O or be assigned to
115 a function of an embedded peripheral.
116
Adam Fordbaad83a2018-07-10 07:01:20 -0500117config DA8XX_GPIO
118 bool "DA8xx GPIO Driver"
119 help
120 This driver supports the DA8xx GPIO controller
121
Simon Glass52c365f2016-03-11 22:07:27 -0700122config INTEL_BROADWELL_GPIO
123 bool "Intel Broadwell GPIO driver"
124 depends on DM
125 help
126 This driver supports Broadwell U devices which have an expanded
127 GPIO feature set. The difference is large enough to merit a separate
128 driver from the common Intel ICH6 driver. It supports a total of
129 95 GPIOs which can be configured from the device tree.
130
Simon Glass83490512019-12-06 21:42:54 -0700131config INTEL_GPIO
132 bool "Intel generic GPIO driver"
133 depends on DM_GPIO
134 help
135 Say yes here to select Intel generic GPIO driver. This controller
136 supports recent chips (e.g. Apollo Lake). It permits basic GPIO
137 control including setting pins to input/output. It makes use of its
138 parent pinctrl driver to actually effect changes.
139
Bin Mengce9d1b02017-07-30 06:23:28 -0700140config INTEL_ICH6_GPIO
141 bool "Intel ICH6 compatible legacy GPIO driver"
142 depends on DM_GPIO
143 help
144 Say yes here to select Intel ICH6 compatible legacy GPIO driver.
145
Peng Fanc5f49862017-02-22 16:21:45 +0800146config IMX_RGPIO2P
147 bool "i.MX7ULP RGPIO2P driver"
148 depends on DM
Peng Fanc5f49862017-02-22 16:21:45 +0800149 help
150 This driver supports i.MX7ULP Rapid GPIO2P controller.
151
Rayagonda Kokatanurf600db42020-05-05 23:26:46 +0530152config IPROC_GPIO
153 bool "Broadcom iProc GPIO driver(without pinconf)"
Rayagonda Kokatanurf600db42020-05-05 23:26:46 +0530154 help
155 The Broadcom iProc based SoCs- Cygnus, NS2, NS3, NSP and Stingray,
156 use the same GPIO Controller IP hence this driver could be used
157 for all.
158
159 The Broadcom iProc based SoCs have multiple GPIO controllers and only
160 the always-ON GPIO controller (CRMU/AON) is supported by this driver.
161
Eugeniy Paltsev92d32fc2017-10-16 16:21:32 +0300162config HSDK_CREG_GPIO
163 bool "HSDK CREG GPIO griver"
Alexey Brodkin72593382017-12-10 20:55:44 +0300164 depends on DM_GPIO
Eugeniy Paltsev92d32fc2017-10-16 16:21:32 +0300165 help
166 This driver supports CREG GPIOs on Synopsys HSDK SOC.
167
Albert ARIBAUD \(3ADEV\)eb135ad2015-03-31 11:40:46 +0200168config LPC32XX_GPIO
169 bool "LPC32XX GPIO driver"
170 depends on DM
Albert ARIBAUD \(3ADEV\)eb135ad2015-03-31 11:40:46 +0200171 help
172 Support for the LPC32XX GPIO driver.
Simon Glass084a3fe2015-03-06 13:19:01 -0700173
Sebastian Reicheld761e822021-07-15 17:40:00 +0200174config MCP230XX_GPIO
175 bool "MCP230XX GPIO driver"
176 depends on DM
177 help
178 Support for Microchip's MCP230XX I2C connected GPIO devices.
179 The following chips are supported:
180 - MCP23008
181 - MCP23017
182 - MCP23018
183
Lars Povlsen37a209c2019-01-02 09:52:21 +0100184config MSCC_SGPIO
185 bool "Microsemi Serial GPIO driver"
186 depends on DM_GPIO && SOC_VCOREIII
187 help
188 Support for the VCoreIII SoC serial GPIO device. By using a
189 serial interface, the SIO controller significantly extends
190 the number of available GPIOs with a minimum number of
191 additional pins on the device. The primary purpose of the
192 SIO controller is to connect control signals from SFP
193 modules and to act as an LED controller.
194
Mateusz Kulikowskia1b3ae92016-03-31 23:12:15 +0200195config MSM_GPIO
196 bool "Qualcomm GPIO driver"
197 depends on DM_GPIO
Mateusz Kulikowskia1b3ae92016-03-31 23:12:15 +0200198 help
199 Support GPIO controllers on Qualcomm Snapdragon family of SoCs.
200 This controller have single bank (default name "soc"), every
201 gpio has it's own set of registers.
202 Only simple GPIO operations are supported (get/set, change of
203 direction and checking pin function).
204 Supported devices:
205 - APQ8016
206 - MSM8916
207
Adam Fordb413c452018-02-04 09:32:43 -0600208config MXC_GPIO
Hannes Schmelzerfd94af52018-06-07 12:10:09 +0200209 bool "Freescale/NXP MXC GPIO driver"
Adam Fordb413c452018-02-04 09:32:43 -0600210 help
211 Support GPIO controllers on various i.MX platforms
212
Lukasz Majewskie076d7c2019-08-13 18:10:39 +0200213config MXS_GPIO
214 bool "Freescale/NXP MXS GPIO driver"
215 help
216 Support GPIO controllers on i.MX23 and i.MX28 platforms
217
Tom Rinifd36c192017-05-12 22:33:21 -0400218config OMAP_GPIO
219 bool "TI OMAP GPIO driver"
220 depends on ARCH_OMAP2PLUS
221 default y
222 help
223 Support GPIO controllers on the TI OMAP3/4/5 and related (such as
224 AM335x/AM43xx/AM57xx/DRA7xx/etc) families of SoCs.
225
Simon Glassa9e7f2c2017-08-04 16:34:32 -0600226config CMD_PCA953X
227 bool "Enable the pca953x command"
228 help
229 Deprecated: This should be converted to driver model.
230
231 This command provides access to a pca953x GPIO device using the
232 legacy GPIO interface. Several subcommands are provided which mirror
233 the standard 'gpio' command. It should use that instead.
234
Mateusz Kulikowski15a58532016-03-31 23:12:31 +0200235config PM8916_GPIO
236 bool "Qualcomm PM8916 PMIC GPIO/keypad driver"
237 depends on DM_GPIO && PMIC_PM8916
238 help
239 Support for GPIO pins and power/reset buttons found on
240 Qualcomm PM8916 PMIC.
241 Default name for GPIO bank is "pm8916".
242 Power and reset buttons are placed in "pm8916_key" bank and
243 have gpio numbers 0 and 1 respectively.
244
Vignesh R0caf07c2016-08-02 10:14:24 +0530245config PCF8575_GPIO
246 bool "PCF8575 I2C GPIO Expander driver"
247 depends on DM_GPIO && DM_I2C
248 help
249 Support for PCF8575 I2C 16-bit GPIO expander. Most of these
250 chips are from NXP and TI.
251
Marek Vasutfefed7a2017-09-15 21:13:56 +0200252config RCAR_GPIO
253 bool "Renesas RCar GPIO driver"
254 depends on DM_GPIO && ARCH_RMOBILE
255 help
256 This driver supports the GPIO banks on Renesas RCar SoCs.
257
Marek Vasut6d99d962019-05-04 16:00:17 +0200258config RZA1_GPIO
259 bool "Renesas RZ/A1 GPIO driver"
260 depends on DM_GPIO && RZA1
261 help
262 This driver supports the GPIO banks on Renesas RZ/A1 R7S72100 SoCs.
263
Simon Glass8fa4d5a2015-08-30 16:55:27 -0600264config ROCKCHIP_GPIO
265 bool "Rockchip GPIO driver"
266 depends on DM_GPIO
267 help
268 Support GPIO access on Rockchip SoCs. The GPIOs are arranged into
269 a number of banks (different for each SoC type) each with 32 GPIOs.
270 The GPIOs for a device are defined in the device tree with one node
271 for each bank.
272
Simon Glass084a3fe2015-03-06 13:19:01 -0700273config SANDBOX_GPIO
274 bool "Enable sandbox GPIO driver"
275 depends on SANDBOX && DM && DM_GPIO
276 help
277 This driver supports some simulated GPIOs which can be adjusted
278 using 'back door' functions like sandbox_gpio_set_value(). Then the
279 GPIOs can be inspected through the normal get_get_value()
280 interface. The purpose of this is to allow GPIOs to be used as
281 normal in sandbox, perhaps with test code actually driving the
282 behaviour of those GPIOs.
283
284config SANDBOX_GPIO_COUNT
285 int "Number of sandbox GPIOs"
286 depends on SANDBOX_GPIO
287 default 128
288 help
289 The sandbox driver can support any number of GPIOs. Generally these
290 are specified using the device tree. But you can also have a number
291 of 'anonymous' GPIOs that do not belong to any device or bank.
292 Select a suitable value depending on your needs.
Bhuvanchandra DV6d236aa2015-06-01 18:37:16 +0530293
Andre Przywara9d3bab92019-06-23 15:09:46 +0100294config SUNXI_GPIO
295 bool "Allwinner GPIO driver"
296 depends on ARCH_SUNXI
297 help
298 Support the GPIO device in Allwinner SoCs.
299
Vipul Kumar06905872018-02-28 11:32:22 +0530300config XILINX_GPIO
301 bool "Xilinx GPIO driver"
Michal Simek4e39ea82018-07-13 08:26:28 +0200302 depends on DM_GPIO
Vipul Kumar06905872018-02-28 11:32:22 +0530303 help
304 This config enable the Xilinx GPIO driver for Microblaze.
305
Simon Glass35432062017-08-04 16:34:54 -0600306config CMD_TCA642X
307 bool "tca642x - Command to access tca642x state"
308 help
309 DEPRECATED - This needs conversion to driver model
310
311 This provides a way to looking at the pin state of this device.
312 This mirrors the 'gpio' command and that should be used in preference
313 to custom code.
314
Stephen Warrenaf974be2016-05-12 12:07:41 -0600315config TEGRA_GPIO
316 bool "Tegra20..210 GPIO driver"
317 depends on DM_GPIO
318 help
319 Support for the GPIO controller contained in NVIDIA Tegra20 through
320 Tegra210.
321
Stephen Warren0c5403f2016-05-25 14:38:51 -0600322config TEGRA186_GPIO
323 bool "Tegra186 GPIO driver"
324 depends on DM_GPIO
325 help
326 Support for the GPIO controller contained in NVIDIA Tegra186. This
327 covers both the "main" and "AON" controller instances, even though
328 they have slightly different register layout.
329
Masahiro Yamada2dbca982016-02-16 17:03:48 +0900330config GPIO_UNIPHIER
331 bool "UniPhier GPIO"
332 depends on ARCH_UNIPHIER
333 help
334 Say yes here to support UniPhier GPIOs.
335
Bhuvanchandra DV6d236aa2015-06-01 18:37:16 +0530336config VYBRID_GPIO
337 bool "Vybrid GPIO driver"
338 depends on DM
Bhuvanchandra DV6d236aa2015-06-01 18:37:16 +0530339 help
340 Say yes here to support Vybrid vf610 GPIOs.
Masahiro Yamadacc85b7b2015-07-26 02:46:26 +0900341
Purna Chandra Mandal0ee99ca2016-01-28 15:30:13 +0530342config PIC32_GPIO
343 bool "Microchip PIC32 GPIO driver"
344 depends on DM_GPIO && MACH_PIC32
345 default y
346 help
347 Say yes here to support Microchip PIC32 GPIOs.
348
Suneel Garapatia432c252020-07-30 13:56:13 +0200349config OCTEON_GPIO
350 bool "Octeon II/III/TX/TX2 GPIO driver"
351 depends on DM_GPIO && DM_PCI && (ARCH_OCTEON || ARCH_OCTEONTX || ARCH_OCTEONTX2)
352 default y
353 help
354 Add support for the Marvell Octeon GPIO driver. This is used with
355 various Octeon parts such as Octeon II/III and OcteonTX/TX2.
356 Octeon II/III has 32 GPIOs (count defined via DT) and OcteonTX/TX2
357 has 64 GPIOs (count defined via internal register).
358
Patrice Chotarddaf1a592019-06-21 15:39:22 +0200359config STM32_GPIO
Vikas Manochaec8630a2017-04-10 15:02:57 -0700360 bool "ST STM32 GPIO driver"
Trevor Woerner2bcc1ed2020-05-06 08:02:42 -0400361 depends on DM_GPIO && (ARCH_STM32 || ARCH_STM32MP)
Vikas Manochaec8630a2017-04-10 15:02:57 -0700362 default y
363 help
364 Device model driver support for STM32 GPIO controller. It should be
Patrice Chotarddaf1a592019-06-21 15:39:22 +0200365 usable on many stm32 families like stm32f4/f7/h7 and stm32mp1.
Vikas Manochaec8630a2017-04-10 15:02:57 -0700366 Tested on STM32F7.
367
Sagar Shrikant Kadam211be3b2019-10-01 10:00:46 -0700368config SIFIVE_GPIO
369 bool "SiFive GPIO driver"
370 depends on DM_GPIO
371 help
372 Device model driver for GPIO controller present in SiFive FU540 SoC. This
373 driver enables GPIO interface on HiFive Unleashed A00 board.
374
Stefan Roesee0e70422016-02-12 13:46:50 +0100375config MVEBU_GPIO
376 bool "Marvell MVEBU GPIO driver"
Harm Berntsen1e220b22020-11-29 10:08:02 +0000377 depends on DM_GPIO && (ARCH_MVEBU || ARCH_KIRKWOOD)
Stefan Roesee0e70422016-02-12 13:46:50 +0100378 default y
379 help
380 Say yes here to support Marvell MVEBU (Armada XP/38x) GPIOs.
381
Siva Durga Prasad Paladugud6d00822016-03-10 16:27:39 +0530382config ZYNQ_GPIO
383 bool "Zynq GPIO driver"
Michal Simekc28665d2020-08-06 15:18:36 +0200384 depends on DM_GPIO
385 default y if ARCH_ZYNQ || ARCH_ZYNQMP || ARCH_VERSAL
Siva Durga Prasad Paladugud6d00822016-03-10 16:27:39 +0530386 help
387 Supports GPIO access on Zynq SoC.
388
Peng Fan28b4a1c2016-05-03 10:02:23 +0800389config DM_74X164
390 bool "74x164 serial-in/parallel-out 8-bits shift register"
391 depends on DM_GPIO
392 help
393 Driver for 74x164 compatible serial-in/parallel-out 8-outputs
394 shift registers, such as 74lv165, 74hc595.
395 This driver can be used to provide access to more gpio outputs.
396
Peng Fanca675072016-04-14 21:45:06 +0800397config DM_PCA953X
398 bool "PCA95[357]x, PCA9698, TCA64xx, and MAX7310 I/O ports"
Michal Simeka917de72021-06-02 12:40:45 +0200399 depends on DM_GPIO && DM_I2C
Peng Fanca675072016-04-14 21:45:06 +0800400 help
401 Say yes here to provide access to several register-oriented
402 SMBus I/O expanders, made mostly by NXP or TI. Compatible
403 models include:
404
405 4 bits: pca9536, pca9537
406
407 8 bits: max7310, max7315, pca6107, pca9534, pca9538, pca9554,
408 pca9556, pca9557, pca9574, tca6408, xra1202
409
410 16 bits: max7312, max7313, pca9535, pca9539, pca9555, pca9575,
411 tca6416
412
413 24 bits: tca6424
414
415 40 bits: pca9505, pca9698
416
417 Now, max 24 bits chips and PCA953X compatible chips are
418 supported
mario.six@gdsys.cc5b59a352016-05-25 15:15:20 +0200419
Peng Fane67502c2018-12-21 06:21:21 +0000420config SPL_DM_PCA953X
421 bool "PCA95[357]x, PCA9698, TCA64xx, and MAX7310 I/O ports in SPL"
422 depends on DM_GPIO
423 help
424 Say yes here to provide access to several register-oriented
425 SMBus I/O expanders, made mostly by NXP or TI. Compatible
426 models include:
427
428 4 bits: pca9536, pca9537
429
430 8 bits: max7310, max7315, pca6107, pca9534, pca9538, pca9554,
431 pca9556, pca9557, pca9574, tca6408, xra1202
432
433 16 bits: max7312, max7313, pca9535, pca9539, pca9555, pca9575,
434 tca6416
435
436 24 bits: tca6424
437
438 40 bits: pca9505, pca9698
439
440 Now, max 24 bits chips and PCA953X compatible chips are
441 supported
442
Mario Sixd006f682018-01-15 11:07:48 +0100443config MPC8XXX_GPIO
444 bool "Freescale MPC8XXX GPIO driver"
mario.six@gdsys.cc5b59a352016-05-25 15:15:20 +0200445 depends on DM_GPIO
446 help
Mario Sixd006f682018-01-15 11:07:48 +0100447 This driver supports the built-in GPIO controller of MPC8XXX CPUs.
mario.six@gdsys.cc5b59a352016-05-25 15:15:20 +0200448 Each GPIO bank is identified by its own entry in the device tree,
449 i.e.
450
451 gpio-controller@fc00 {
452 #gpio-cells = <2>;
453 compatible = "fsl,pq3-gpio";
454 reg = <0xfc00 0x100>
455 }
456
457 By default, each bank is assumed to have 32 GPIOs, but the ngpios
458 setting is honored, so the number of GPIOs for each bank is
459 configurable to match the actual GPIO count of the SoC (e.g. the
460 32/32/23 banks of the P1022 SoC).
461
mario.six@gdsys.cc7b4cf8b2016-05-25 15:15:22 +0200462 Aside from the standard functions of input/output mode, and output
463 value setting, the open-drain feature, which can configure individual
464 GPIOs to work as open-drain outputs, is supported.
Stefan Roesebbd6fe42018-10-08 12:38:01 +0200465
Klaus H. Sorensene308da02020-02-11 15:20:22 +0000466config MPC83XX_SPISEL_BOOT
467 bool "Freescale MPC83XX SPISEL_BOOT driver"
468 depends on DM_GPIO && ARCH_MPC830X
469 help
470 GPIO driver to set/clear dedicated SPISEL_BOOT output on MPC83XX.
471
472 This pin is typically used as spi chip select to a spi nor flash.
473
developer58690932020-11-12 16:36:33 +0800474config MT7620_GPIO
475 bool "MediaTek MT7620 GPIO driver"
476 depends on DM_GPIO && SOC_MT7620
477 default y
478 help
479 Device model driver for GPIO controller present in MediaTek MT7620
480 and earlier SoCs.
481
Stefan Roesebbd6fe42018-10-08 12:38:01 +0200482config MT7621_GPIO
483 bool "MediaTek MT7621 GPIO driver"
developer89f051b2019-04-30 11:13:58 +0800484 depends on DM_GPIO && SOC_MT7628
Stefan Roesebbd6fe42018-10-08 12:38:01 +0200485 default y
486 help
487 Say yes here to support MediaTek MT7621 compatible GPIOs.
488
Stefan Bosch9c21d402020-07-10 19:07:27 +0200489config NX_GPIO
490 bool "Nexell GPIO driver"
491 depends on DM_GPIO
492 help
493 Support GPIO access on Nexell SoCs. The GPIOs are arranged into
494 a number of banks (different for each SoC type) each with 32 GPIOs.
495 The GPIOs for a device are defined in the device tree with one node
496 for each bank.
497
Stephan Gerholddf839d52021-07-02 17:06:18 +0200498config NOMADIK_GPIO
499 bool "Nomadik GPIO driver"
500 depends on DM_GPIO
501 help
502 Support GPIO access on ST-Ericsson Ux500 SoCs. The GPIOs are arranged
503 into a number of banks each with 32 GPIOs. The GPIOs for a device are
504 defined in the device tree with one node for each bank.
505
Masahiro Yamadacc85b7b2015-07-26 02:46:26 +0900506endmenu