Kconfig 29 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045
  1. #
  2. # GPIO infrastructure and drivers
  3. #
  4. config ARCH_HAVE_CUSTOM_GPIO_H
  5. bool
  6. help
  7. Selecting this config option from the architecture Kconfig allows
  8. the architecture to provide a custom asm/gpio.h implementation
  9. overriding the default implementations. New uses of this are
  10. strongly discouraged.
  11. config ARCH_WANT_OPTIONAL_GPIOLIB
  12. bool
  13. help
  14. Select this config option from the architecture Kconfig, if
  15. it is possible to use gpiolib on the architecture, but let the
  16. user decide whether to actually build it or not.
  17. Select this instead of ARCH_REQUIRE_GPIOLIB, if your architecture does
  18. not depend on GPIOs being available, but rather let the user
  19. decide whether he needs it or not.
  20. config ARCH_REQUIRE_GPIOLIB
  21. bool
  22. select GPIOLIB
  23. help
  24. Platforms select gpiolib if they use this infrastructure
  25. for all their GPIOs, usually starting with ones integrated
  26. into SOC processors.
  27. Selecting this from the architecture code will cause the gpiolib
  28. code to always get built in.
  29. menuconfig GPIOLIB
  30. bool "GPIO Support"
  31. depends on ARCH_WANT_OPTIONAL_GPIOLIB || ARCH_REQUIRE_GPIOLIB
  32. help
  33. This enables GPIO support through the generic GPIO library.
  34. You only need to enable this, if you also want to enable
  35. one or more of the GPIO drivers below.
  36. If unsure, say N.
  37. if GPIOLIB
  38. config GPIO_DEVRES
  39. def_bool y
  40. depends on HAS_IOMEM
  41. config OF_GPIO
  42. def_bool y
  43. depends on OF
  44. config GPIO_ACPI
  45. def_bool y
  46. depends on ACPI
  47. config GPIOLIB_IRQCHIP
  48. select IRQ_DOMAIN
  49. bool
  50. config DEBUG_GPIO
  51. bool "Debug GPIO calls"
  52. depends on DEBUG_KERNEL
  53. help
  54. Say Y here to add some extra checks and diagnostics to GPIO calls.
  55. These checks help ensure that GPIOs have been properly initialized
  56. before they are used, and that sleeping calls are not made from
  57. non-sleeping contexts. They can make bitbanged serial protocols
  58. slower. The diagnostics help catch the type of setup errors
  59. that are most common when setting up new platforms or boards.
  60. config GPIO_SYSFS
  61. bool "/sys/class/gpio/... (sysfs interface)"
  62. depends on SYSFS
  63. help
  64. Say Y here to add a sysfs interface for GPIOs.
  65. This is mostly useful to work around omissions in a system's
  66. kernel support. Those are common in custom and semicustom
  67. hardware assembled using standard kernels with a minimum of
  68. custom patches. In those cases, userspace code may import
  69. a given GPIO from the kernel, if no kernel driver requested it.
  70. Kernel drivers may also request that a particular GPIO be
  71. exported to userspace; this can be useful when debugging.
  72. config GPIO_GENERIC
  73. tristate
  74. # put drivers in the right section, in alphabetical order
  75. # This symbol is selected by both I2C and SPI expanders
  76. config GPIO_MAX730X
  77. tristate
  78. menu "Memory mapped GPIO drivers"
  79. config GPIO_74XX_MMIO
  80. tristate "GPIO driver for 74xx-ICs with MMIO access"
  81. depends on OF_GPIO
  82. select GPIO_GENERIC
  83. help
  84. Say yes here to support GPIO functionality for 74xx-compatible ICs
  85. with MMIO access. Compatible models include:
  86. 1 bit: 741G125 (Input), 741G74 (Output)
  87. 2 bits: 742G125 (Input), 7474 (Output)
  88. 4 bits: 74125 (Input), 74175 (Output)
  89. 6 bits: 74365 (Input), 74174 (Output)
  90. 8 bits: 74244 (Input), 74273 (Output)
  91. 16 bits: 741624 (Input), 7416374 (Output)
  92. config GPIO_ALTERA
  93. tristate "Altera GPIO"
  94. depends on OF_GPIO
  95. select GPIOLIB_IRQCHIP
  96. help
  97. Say Y or M here to build support for the Altera PIO device.
  98. If driver is built as a module it will be called gpio-altera.
  99. config GPIO_AMDPT
  100. tristate "AMD Promontory GPIO support"
  101. depends on ACPI
  102. help
  103. driver for GPIO functionality on Promontory IOHub
  104. Require ACPI ASL code to enumerate as a platform device.
  105. config GPIO_BCM_KONA
  106. bool "Broadcom Kona GPIO"
  107. depends on OF_GPIO && (ARCH_BCM_MOBILE || COMPILE_TEST)
  108. help
  109. Turn on GPIO support for Broadcom "Kona" chips.
  110. config GPIO_BRCMSTB
  111. tristate "BRCMSTB GPIO support"
  112. default y if (ARCH_BRCMSTB || BMIPS_GENERIC)
  113. depends on OF_GPIO && (ARCH_BRCMSTB || BMIPS_GENERIC || COMPILE_TEST)
  114. select GPIO_GENERIC
  115. select GPIOLIB_IRQCHIP
  116. help
  117. Say yes here to enable GPIO support for Broadcom STB (BCM7XXX) SoCs.
  118. config GPIO_CLPS711X
  119. tristate "CLPS711X GPIO support"
  120. depends on ARCH_CLPS711X || COMPILE_TEST
  121. select GPIO_GENERIC
  122. help
  123. Say yes here to support GPIO on CLPS711X SoCs.
  124. config GPIO_DAVINCI
  125. bool "TI Davinci/Keystone GPIO support"
  126. default y if ARCH_DAVINCI
  127. depends on ARM && (ARCH_DAVINCI || ARCH_KEYSTONE)
  128. help
  129. Say yes here to enable GPIO support for TI Davinci/Keystone SoCs.
  130. config GPIO_DWAPB
  131. tristate "Synopsys DesignWare APB GPIO driver"
  132. select GPIO_GENERIC
  133. select GENERIC_IRQ_CHIP
  134. help
  135. Say Y or M here to build support for the Synopsys DesignWare APB
  136. GPIO block.
  137. config GPIO_EM
  138. tristate "Emma Mobile GPIO"
  139. depends on ARM && OF_GPIO
  140. help
  141. Say yes here to support GPIO on Renesas Emma Mobile SoCs.
  142. config GPIO_EP93XX
  143. def_bool y
  144. depends on ARCH_EP93XX
  145. select GPIO_GENERIC
  146. config GPIO_ETRAXFS
  147. bool "Axis ETRAX FS General I/O"
  148. depends on CRIS || COMPILE_TEST
  149. depends on OF
  150. select GPIO_GENERIC
  151. select GPIOLIB_IRQCHIP
  152. help
  153. Say yes here to support the GPIO controller on Axis ETRAX FS SoCs.
  154. config GPIO_GE_FPGA
  155. bool "GE FPGA based GPIO"
  156. depends on GE_FPGA
  157. select GPIO_GENERIC
  158. help
  159. Support for common GPIO functionality provided on some GE Single Board
  160. Computers.
  161. This driver provides basic support (configure as input or output, read
  162. and write pin state) for GPIO implemented in a number of GE single
  163. board computers.
  164. config GPIO_GENERIC_PLATFORM
  165. tristate "Generic memory-mapped GPIO controller support (MMIO platform device)"
  166. select GPIO_GENERIC
  167. help
  168. Say yes here to support basic platform_device memory-mapped GPIO controllers.
  169. config GPIO_GRGPIO
  170. tristate "Aeroflex Gaisler GRGPIO support"
  171. depends on OF
  172. select GPIO_GENERIC
  173. select IRQ_DOMAIN
  174. help
  175. Select this to support Aeroflex Gaisler GRGPIO cores from the GRLIB
  176. VHDL IP core library.
  177. config GPIO_ICH
  178. tristate "Intel ICH GPIO"
  179. depends on PCI && X86
  180. select MFD_CORE
  181. select LPC_ICH
  182. help
  183. Say yes here to support the GPIO functionality of a number of Intel
  184. ICH-based chipsets. Currently supported devices: ICH6, ICH7, ICH8
  185. ICH9, ICH10, Series 5/3400 (eg Ibex Peak), Series 6/C200 (eg
  186. Cougar Point), NM10 (Tiger Point), and 3100 (Whitmore Lake).
  187. If unsure, say N.
  188. config GPIO_IOP
  189. tristate "Intel IOP GPIO"
  190. depends on ARM && (ARCH_IOP32X || ARCH_IOP33X)
  191. help
  192. Say yes here to support the GPIO functionality of a number of Intel
  193. IOP32X or IOP33X.
  194. If unsure, say N.
  195. config GPIO_LOONGSON
  196. bool "Loongson-2/3 GPIO support"
  197. depends on CPU_LOONGSON2 || CPU_LOONGSON3
  198. help
  199. driver for GPIO functionality on Loongson-2F/3A/3B processors.
  200. config GPIO_LPC18XX
  201. bool "NXP LPC18XX/43XX GPIO support"
  202. default y if ARCH_LPC18XX
  203. depends on OF_GPIO && (ARCH_LPC18XX || COMPILE_TEST)
  204. help
  205. Select this option to enable GPIO driver for
  206. NXP LPC18XX/43XX devices.
  207. config GPIO_LYNXPOINT
  208. tristate "Intel Lynxpoint GPIO support"
  209. depends on ACPI && X86
  210. select GPIOLIB_IRQCHIP
  211. help
  212. driver for GPIO functionality on Intel Lynxpoint PCH chipset
  213. Requires ACPI device enumeration code to set up a platform device.
  214. config GPIO_MB86S7X
  215. bool "GPIO support for Fujitsu MB86S7x Platforms"
  216. depends on ARCH_MB86S7X
  217. help
  218. Say yes here to support the GPIO controller in Fujitsu MB86S70 SoCs.
  219. config GPIO_MM_LANTIQ
  220. bool "Lantiq Memory mapped GPIOs"
  221. depends on LANTIQ && SOC_XWAY
  222. help
  223. This enables support for memory mapped GPIOs on the External Bus Unit
  224. (EBU) found on Lantiq SoCs. The gpios are output only as they are
  225. created by attaching a 16bit latch to the bus.
  226. config GPIO_MOXART
  227. bool "MOXART GPIO support"
  228. depends on ARCH_MOXART
  229. select GPIO_GENERIC
  230. help
  231. Select this option to enable GPIO driver for
  232. MOXA ART SoC devices.
  233. config GPIO_MPC5200
  234. def_bool y
  235. depends on PPC_MPC52xx
  236. config GPIO_MPC8XXX
  237. bool "MPC512x/MPC8xxx GPIO support"
  238. depends on PPC_MPC512x || PPC_MPC831x || PPC_MPC834x || PPC_MPC837x || \
  239. FSL_SOC_BOOKE || PPC_86xx
  240. help
  241. Say Y here if you're going to use hardware that connects to the
  242. MPC512x/831x/834x/837x/8572/8610 GPIOs.
  243. config GPIO_MVEBU
  244. def_bool y
  245. depends on PLAT_ORION
  246. depends on OF
  247. select GENERIC_IRQ_CHIP
  248. config GPIO_MXC
  249. def_bool y
  250. depends on ARCH_MXC
  251. select GPIO_GENERIC
  252. select GENERIC_IRQ_CHIP
  253. config GPIO_MXS
  254. def_bool y
  255. depends on ARCH_MXS
  256. select GPIO_GENERIC
  257. select GENERIC_IRQ_CHIP
  258. config GPIO_OCTEON
  259. tristate "Cavium OCTEON GPIO"
  260. depends on GPIOLIB && CAVIUM_OCTEON_SOC
  261. default y
  262. help
  263. Say yes here to support the on-chip GPIO lines on the OCTEON
  264. family of SOCs.
  265. config GPIO_OMAP
  266. tristate "TI OMAP GPIO support" if ARCH_OMAP2PLUS || COMPILE_TEST
  267. default y if ARCH_OMAP
  268. depends on ARM
  269. select GENERIC_IRQ_CHIP
  270. select GPIOLIB_IRQCHIP
  271. help
  272. Say yes here to enable GPIO support for TI OMAP SoCs.
  273. config GPIO_PL061
  274. bool "PrimeCell PL061 GPIO support"
  275. depends on ARM_AMBA
  276. select IRQ_DOMAIN
  277. select GPIOLIB_IRQCHIP
  278. help
  279. Say yes here to support the PrimeCell PL061 GPIO device
  280. config GPIO_PXA
  281. bool "PXA GPIO support"
  282. depends on ARCH_PXA || ARCH_MMP
  283. help
  284. Say yes here to support the PXA GPIO device
  285. config GPIO_RCAR
  286. tristate "Renesas R-Car GPIO"
  287. depends on ARCH_SHMOBILE || COMPILE_TEST
  288. select GPIOLIB_IRQCHIP
  289. help
  290. Say yes here to support GPIO on Renesas R-Car SoCs.
  291. config GPIO_SPEAR_SPICS
  292. bool "ST SPEAr13xx SPI Chip Select as GPIO support"
  293. depends on PLAT_SPEAR
  294. select GENERIC_IRQ_CHIP
  295. help
  296. Say yes here to support ST SPEAr SPI Chip Select as GPIO device
  297. config GPIO_STA2X11
  298. bool "STA2x11/ConneXt GPIO support"
  299. depends on MFD_STA2X11
  300. select GENERIC_IRQ_CHIP
  301. help
  302. Say yes here to support the STA2x11/ConneXt GPIO device.
  303. The GPIO module has 128 GPIO pins with alternate functions.
  304. config GPIO_STP_XWAY
  305. bool "XWAY STP GPIOs"
  306. depends on SOC_XWAY
  307. help
  308. This enables support for the Serial To Parallel (STP) unit found on
  309. XWAY SoC. The STP allows the SoC to drive a shift registers cascade,
  310. that can be up to 24 bit. This peripheral is aimed at driving leds.
  311. Some of the gpios/leds can be auto updated by the soc with dsl and
  312. phy status.
  313. config GPIO_SYSCON
  314. tristate "GPIO based on SYSCON"
  315. depends on MFD_SYSCON && OF
  316. help
  317. Say yes here to support GPIO functionality though SYSCON driver.
  318. config GPIO_TB10X
  319. bool
  320. select GENERIC_IRQ_CHIP
  321. select OF_GPIO
  322. config GPIO_TZ1090
  323. bool "Toumaz Xenif TZ1090 GPIO support"
  324. depends on SOC_TZ1090
  325. select GENERIC_IRQ_CHIP
  326. default y
  327. help
  328. Say yes here to support Toumaz Xenif TZ1090 GPIOs.
  329. config GPIO_TZ1090_PDC
  330. bool "Toumaz Xenif TZ1090 PDC GPIO support"
  331. depends on SOC_TZ1090
  332. default y
  333. help
  334. Say yes here to support Toumaz Xenif TZ1090 PDC GPIOs.
  335. config GPIO_VF610
  336. def_bool y
  337. depends on ARCH_MXC && SOC_VF610
  338. select GPIOLIB_IRQCHIP
  339. help
  340. Say yes here to support Vybrid vf610 GPIOs.
  341. config GPIO_VR41XX
  342. tristate "NEC VR4100 series General-purpose I/O Uint support"
  343. depends on CPU_VR41XX
  344. help
  345. Say yes here to support the NEC VR4100 series General-purpose I/O Uint
  346. config GPIO_VX855
  347. tristate "VIA VX855/VX875 GPIO"
  348. depends on PCI
  349. select MFD_CORE
  350. select MFD_VX855
  351. help
  352. Support access to the VX855/VX875 GPIO lines through the gpio library.
  353. This driver provides common support for accessing the device,
  354. additional drivers must be enabled in order to use the
  355. functionality of the device.
  356. config GPIO_XGENE
  357. bool "APM X-Gene GPIO controller support"
  358. depends on ARM64 && OF_GPIO
  359. help
  360. This driver is to support the GPIO block within the APM X-Gene SoC
  361. platform's generic flash controller. The GPIO pins are muxed with
  362. the generic flash controller's address and data pins. Say yes
  363. here to enable the GFC GPIO functionality.
  364. config GPIO_XGENE_SB
  365. tristate "APM X-Gene GPIO standby controller support"
  366. depends on ARCH_XGENE && OF_GPIO
  367. select GPIO_GENERIC
  368. help
  369. This driver supports the GPIO block within the APM X-Gene
  370. Standby Domain. Say yes here to enable the GPIO functionality.
  371. config GPIO_XILINX
  372. tristate "Xilinx GPIO support"
  373. depends on OF_GPIO
  374. help
  375. Say yes here to support the Xilinx FPGA GPIO device
  376. config GPIO_XLP
  377. tristate "Netlogic XLP GPIO support"
  378. depends on CPU_XLP && OF_GPIO
  379. select GPIOLIB_IRQCHIP
  380. help
  381. This driver provides support for GPIO interface on Netlogic XLP MIPS64
  382. SoCs. Currently supported XLP variants are XLP8XX, XLP3XX, XLP2XX,
  383. XLP9XX and XLP5XX.
  384. If unsure, say N.
  385. config GPIO_XTENSA
  386. bool "Xtensa GPIO32 support"
  387. depends on XTENSA
  388. depends on HAVE_XTENSA_GPIO32
  389. depends on !SMP
  390. help
  391. Say yes here to support the Xtensa internal GPIO32 IMPWIRE (input)
  392. and EXPSTATE (output) ports
  393. config GPIO_ZEVIO
  394. bool "LSI ZEVIO SoC memory mapped GPIOs"
  395. depends on ARM && OF_GPIO
  396. help
  397. Say yes here to support the GPIO controller in LSI ZEVIO SoCs.
  398. config GPIO_ZYNQ
  399. tristate "Xilinx Zynq GPIO support"
  400. depends on ARCH_ZYNQ || ARCH_ZYNQMP
  401. select GPIOLIB_IRQCHIP
  402. help
  403. Say yes here to support Xilinx Zynq GPIO controller.
  404. config GPIO_ZX
  405. bool "ZTE ZX GPIO support"
  406. select GPIOLIB_IRQCHIP
  407. help
  408. Say yes here to support the GPIO device on ZTE ZX SoCs.
  409. endmenu
  410. menu "Port-mapped I/O GPIO drivers"
  411. depends on X86 # Unconditional I/O space access
  412. config GPIO_104_IDIO_16
  413. tristate "ACCES 104-IDIO-16 GPIO support"
  414. select GPIOLIB_IRQCHIP
  415. help
  416. Enables GPIO support for the ACCES 104-IDIO-16 family. The base port
  417. address for the device may be set via the idio_16_base module
  418. parameter. The interrupt line number for the device may be set via the
  419. idio_16_irq module parameter.
  420. config GPIO_104_IDI_48
  421. tristate "ACCES 104-IDI-48 GPIO support"
  422. select GPIOLIB_IRQCHIP
  423. help
  424. Enables GPIO support for the ACCES 104-IDI-48 family. The base port
  425. address for the device may be configured via the idi_48_base module
  426. parameter. The interrupt line number for the device may be configured
  427. via the idi_48_irq module parameter.
  428. config GPIO_F7188X
  429. tristate "F71869, F71869A, F71882FG and F71889F GPIO support"
  430. help
  431. This option enables support for GPIOs found on Fintek Super-I/O
  432. chips F71869, F71869A, F71882FG and F71889F.
  433. To compile this driver as a module, choose M here: the module will
  434. be called f7188x-gpio.
  435. config GPIO_IT87
  436. tristate "IT87xx GPIO support"
  437. help
  438. Say yes here to support GPIO functionality of IT87xx Super I/O chips.
  439. This driver is tested with ITE IT8728 and IT8732 Super I/O chips, and
  440. supports the IT8761E Super I/O chip as well.
  441. To compile this driver as a module, choose M here: the module will
  442. be called gpio_it87
  443. config GPIO_SCH
  444. tristate "Intel SCH/TunnelCreek/Centerton/Quark X1000 GPIO"
  445. depends on PCI
  446. select MFD_CORE
  447. select LPC_SCH
  448. help
  449. Say yes here to support GPIO interface on Intel Poulsbo SCH,
  450. Intel Tunnel Creek processor, Intel Centerton processor or
  451. Intel Quark X1000 SoC.
  452. The Intel SCH contains a total of 14 GPIO pins. Ten GPIOs are
  453. powered by the core power rail and are turned off during sleep
  454. modes (S3 and higher). The remaining four GPIOs are powered by
  455. the Intel SCH suspend power supply. These GPIOs remain
  456. active during S3. The suspend powered GPIOs can be used to wake the
  457. system from the Suspend-to-RAM state.
  458. The Intel Tunnel Creek processor has 5 GPIOs powered by the
  459. core power rail and 9 from suspend power supply.
  460. The Intel Centerton processor has a total of 30 GPIO pins.
  461. Twenty-one are powered by the core power rail and 9 from the
  462. suspend power supply.
  463. The Intel Quark X1000 SoC has 2 GPIOs powered by the core
  464. power well and 6 from the suspend power well.
  465. config GPIO_SCH311X
  466. tristate "SMSC SCH311x SuperI/O GPIO"
  467. help
  468. Driver to enable the GPIOs found on SMSC SMSC SCH3112, SCH3114 and
  469. SCH3116 "Super I/O" chipsets.
  470. To compile this driver as a module, choose M here: the module will
  471. be called gpio-sch311x.
  472. config GPIO_TS5500
  473. tristate "TS-5500 DIO blocks and compatibles"
  474. depends on TS5500 || COMPILE_TEST
  475. help
  476. This driver supports Digital I/O exposed by pin blocks found on some
  477. Technologic Systems platforms. It includes, but is not limited to, 3
  478. blocks of the TS-5500: DIO1, DIO2 and the LCD port, and the TS-5600
  479. LCD port.
  480. endmenu
  481. menu "I2C GPIO expanders"
  482. depends on I2C
  483. config GPIO_ADP5588
  484. tristate "ADP5588 I2C GPIO expander"
  485. help
  486. This option enables support for 18 GPIOs found
  487. on Analog Devices ADP5588 GPIO Expanders.
  488. config GPIO_ADP5588_IRQ
  489. bool "Interrupt controller support for ADP5588"
  490. depends on GPIO_ADP5588=y
  491. help
  492. Say yes here to enable the adp5588 to be used as an interrupt
  493. controller. It requires the driver to be built in the kernel.
  494. config GPIO_ADNP
  495. tristate "Avionic Design N-bit GPIO expander"
  496. depends on OF_GPIO
  497. select GPIOLIB_IRQCHIP
  498. help
  499. This option enables support for N GPIOs found on Avionic Design
  500. I2C GPIO expanders. The register space will be extended by powers
  501. of two, so the controller will need to accommodate for that. For
  502. example: if a controller provides 48 pins, 6 registers will be
  503. enough to represent all pins, but the driver will assume a
  504. register layout for 64 pins (8 registers).
  505. config GPIO_MAX7300
  506. tristate "Maxim MAX7300 GPIO expander"
  507. select GPIO_MAX730X
  508. help
  509. GPIO driver for Maxim MAX7300 I2C-based GPIO expander.
  510. config GPIO_MAX732X
  511. tristate "MAX7319, MAX7320-7327 I2C Port Expanders"
  512. help
  513. Say yes here to support the MAX7319, MAX7320-7327 series of I2C
  514. Port Expanders. Each IO port on these chips has a fixed role of
  515. Input (designated by 'I'), Push-Pull Output ('O'), or Open-Drain
  516. Input and Output (designed by 'P'). The combinations are listed
  517. below:
  518. 8 bits: max7319 (8I), max7320 (8O), max7321 (8P),
  519. max7322 (4I4O), max7323 (4P4O)
  520. 16 bits: max7324 (8I8O), max7325 (8P8O),
  521. max7326 (4I12O), max7327 (4P12O)
  522. Board setup code must specify the model to use, and the start
  523. number for these GPIOs.
  524. config GPIO_MAX732X_IRQ
  525. bool "Interrupt controller support for MAX732x"
  526. depends on GPIO_MAX732X=y
  527. select GPIOLIB_IRQCHIP
  528. help
  529. Say yes here to enable the max732x to be used as an interrupt
  530. controller. It requires the driver to be built in the kernel.
  531. config GPIO_MC9S08DZ60
  532. bool "MX35 3DS BOARD MC9S08DZ60 GPIO functions"
  533. depends on I2C=y && MACH_MX35_3DS
  534. help
  535. Select this to enable the MC9S08DZ60 GPIO driver
  536. config GPIO_PCA953X
  537. tristate "PCA95[357]x, PCA9698, TCA64xx, and MAX7310 I/O ports"
  538. help
  539. Say yes here to provide access to several register-oriented
  540. SMBus I/O expanders, made mostly by NXP or TI. Compatible
  541. models include:
  542. 4 bits: pca9536, pca9537
  543. 8 bits: max7310, max7315, pca6107, pca9534, pca9538, pca9554,
  544. pca9556, pca9557, pca9574, tca6408, xra1202
  545. 16 bits: max7312, max7313, pca9535, pca9539, pca9555, pca9575,
  546. tca6416
  547. 24 bits: tca6424
  548. 40 bits: pca9505, pca9698
  549. config GPIO_PCA953X_IRQ
  550. bool "Interrupt controller support for PCA953x"
  551. depends on GPIO_PCA953X=y
  552. select GPIOLIB_IRQCHIP
  553. help
  554. Say yes here to enable the pca953x to be used as an interrupt
  555. controller. It requires the driver to be built in the kernel.
  556. config GPIO_PCF857X
  557. tristate "PCF857x, PCA{85,96}7x, and MAX732[89] I2C GPIO expanders"
  558. select GPIOLIB_IRQCHIP
  559. select IRQ_DOMAIN
  560. help
  561. Say yes here to provide access to most "quasi-bidirectional" I2C
  562. GPIO expanders used for additional digital outputs or inputs.
  563. Most of these parts are from NXP, though TI is a second source for
  564. some of them. Compatible models include:
  565. 8 bits: pcf8574, pcf8574a, pca8574, pca8574a,
  566. pca9670, pca9672, pca9674, pca9674a,
  567. max7328, max7329
  568. 16 bits: pcf8575, pcf8575c, pca8575,
  569. pca9671, pca9673, pca9675
  570. Your board setup code will need to declare the expanders in
  571. use, and assign numbers to the GPIOs they expose. Those GPIOs
  572. can then be used from drivers and other kernel code, just like
  573. other GPIOs, but only accessible from task contexts.
  574. This driver provides an in-kernel interface to those GPIOs using
  575. platform-neutral GPIO calls.
  576. config GPIO_SX150X
  577. bool "Semtech SX150x I2C GPIO expander"
  578. depends on I2C=y
  579. select GPIOLIB_IRQCHIP
  580. default n
  581. help
  582. Say yes here to provide support for Semtech SX150-series I2C
  583. GPIO expanders. Compatible models include:
  584. 8 bits: sx1508q
  585. 16 bits: sx1509q
  586. endmenu
  587. menu "MFD GPIO expanders"
  588. config GPIO_ADP5520
  589. tristate "GPIO Support for ADP5520 PMIC"
  590. depends on PMIC_ADP5520
  591. help
  592. This option enables support for on-chip GPIO found
  593. on Analog Devices ADP5520 PMICs.
  594. config GPIO_ARIZONA
  595. tristate "Wolfson Microelectronics Arizona class devices"
  596. depends on MFD_ARIZONA
  597. help
  598. Support for GPIOs on Wolfson Arizona class devices.
  599. config GPIO_CRYSTAL_COVE
  600. tristate "GPIO support for Crystal Cove PMIC"
  601. depends on INTEL_SOC_PMIC
  602. select GPIOLIB_IRQCHIP
  603. help
  604. Support for GPIO pins on Crystal Cove PMIC.
  605. Say Yes if you have a Intel SoC based tablet with Crystal Cove PMIC
  606. inside.
  607. This driver can also be built as a module. If so, the module will be
  608. called gpio-crystalcove.
  609. config GPIO_CS5535
  610. tristate "AMD CS5535/CS5536 GPIO support"
  611. depends on MFD_CS5535
  612. help
  613. The AMD CS5535 and CS5536 southbridges support 28 GPIO pins that
  614. can be used for quite a number of things. The CS5535/6 is found on
  615. AMD Geode and Lemote Yeeloong devices.
  616. If unsure, say N.
  617. config GPIO_DA9052
  618. tristate "Dialog DA9052 GPIO"
  619. depends on PMIC_DA9052
  620. help
  621. Say yes here to enable the GPIO driver for the DA9052 chip.
  622. config GPIO_DA9055
  623. tristate "Dialog Semiconductor DA9055 GPIO"
  624. depends on MFD_DA9055
  625. help
  626. Say yes here to enable the GPIO driver for the DA9055 chip.
  627. The Dialog DA9055 PMIC chip has 3 GPIO pins that can be
  628. be controller by this driver.
  629. If driver is built as a module it will be called gpio-da9055.
  630. config GPIO_DLN2
  631. tristate "Diolan DLN2 GPIO support"
  632. depends on MFD_DLN2
  633. select GPIOLIB_IRQCHIP
  634. help
  635. Select this option to enable GPIO driver for the Diolan DLN2
  636. board.
  637. This driver can also be built as a module. If so, the module
  638. will be called gpio-dln2.
  639. config GPIO_JANZ_TTL
  640. tristate "Janz VMOD-TTL Digital IO Module"
  641. depends on MFD_JANZ_CMODIO
  642. help
  643. This enables support for the Janz VMOD-TTL Digital IO module.
  644. This driver provides support for driving the pins in output
  645. mode only. Input mode is not supported.
  646. config GPIO_KEMPLD
  647. tristate "Kontron ETX / COMexpress GPIO"
  648. depends on MFD_KEMPLD
  649. help
  650. This enables support for the PLD GPIO interface on some Kontron ETX
  651. and COMexpress (ETXexpress) modules.
  652. This driver can also be built as a module. If so, the module will be
  653. called gpio-kempld.
  654. config GPIO_LP3943
  655. tristate "TI/National Semiconductor LP3943 GPIO expander"
  656. depends on MFD_LP3943
  657. help
  658. GPIO driver for LP3943 MFD.
  659. LP3943 can be used as a GPIO expander which provides up to 16 GPIOs.
  660. Open drain outputs are required for this usage.
  661. config GPIO_MSIC
  662. bool "Intel MSIC mixed signal gpio support"
  663. depends on MFD_INTEL_MSIC
  664. help
  665. Enable support for GPIO on intel MSIC controllers found in
  666. intel MID devices
  667. config GPIO_PALMAS
  668. bool "TI PALMAS series PMICs GPIO"
  669. depends on MFD_PALMAS
  670. help
  671. Select this option to enable GPIO driver for the TI PALMAS
  672. series chip family.
  673. config GPIO_RC5T583
  674. bool "RICOH RC5T583 GPIO"
  675. depends on MFD_RC5T583
  676. help
  677. Select this option to enable GPIO driver for the Ricoh RC5T583
  678. chip family.
  679. This driver provides the support for driving/reading the gpio pins
  680. of RC5T583 device through standard gpio library.
  681. config GPIO_STMPE
  682. bool "STMPE GPIOs"
  683. depends on MFD_STMPE
  684. depends on OF_GPIO
  685. select GPIOLIB_IRQCHIP
  686. help
  687. This enables support for the GPIOs found on the STMPE I/O
  688. Expanders.
  689. config GPIO_TC3589X
  690. bool "TC3589X GPIOs"
  691. depends on MFD_TC3589X
  692. depends on OF_GPIO
  693. select GPIOLIB_IRQCHIP
  694. help
  695. This enables support for the GPIOs found on the TC3589X
  696. I/O Expander.
  697. config GPIO_TIMBERDALE
  698. bool "Support for timberdale GPIO IP"
  699. depends on MFD_TIMBERDALE
  700. ---help---
  701. Add support for the GPIO IP in the timberdale FPGA.
  702. config GPIO_TPS6586X
  703. bool "TPS6586X GPIO"
  704. depends on MFD_TPS6586X
  705. help
  706. Select this option to enable GPIO driver for the TPS6586X
  707. chip family.
  708. config GPIO_TPS65910
  709. bool "TPS65910 GPIO"
  710. depends on MFD_TPS65910
  711. help
  712. Select this option to enable GPIO driver for the TPS65910
  713. chip family.
  714. config GPIO_TPS65912
  715. tristate "TI TPS65912 GPIO"
  716. depends on (MFD_TPS65912_I2C || MFD_TPS65912_SPI)
  717. help
  718. This driver supports TPS65912 gpio chip
  719. config GPIO_TWL4030
  720. tristate "TWL4030, TWL5030, and TPS659x0 GPIOs"
  721. depends on TWL4030_CORE
  722. help
  723. Say yes here to access the GPIO signals of various multi-function
  724. power management chips from Texas Instruments.
  725. config GPIO_TWL6040
  726. tristate "TWL6040 GPO"
  727. depends on TWL6040_CORE
  728. help
  729. Say yes here to access the GPO signals of twl6040
  730. audio chip from Texas Instruments.
  731. config GPIO_UCB1400
  732. tristate "Philips UCB1400 GPIO"
  733. depends on UCB1400_CORE
  734. help
  735. This enables support for the Philips UCB1400 GPIO pins.
  736. The UCB1400 is an AC97 audio codec.
  737. config GPIO_WM831X
  738. tristate "WM831x GPIOs"
  739. depends on MFD_WM831X
  740. help
  741. Say yes here to access the GPIO signals of WM831x power management
  742. chips from Wolfson Microelectronics.
  743. config GPIO_WM8350
  744. tristate "WM8350 GPIOs"
  745. depends on MFD_WM8350
  746. help
  747. Say yes here to access the GPIO signals of WM8350 power management
  748. chips from Wolfson Microelectronics.
  749. config GPIO_WM8994
  750. tristate "WM8994 GPIOs"
  751. depends on MFD_WM8994
  752. help
  753. Say yes here to access the GPIO signals of WM8994 audio hub
  754. CODECs from Wolfson Microelectronics.
  755. endmenu
  756. menu "PCI GPIO expanders"
  757. depends on PCI
  758. config GPIO_AMD8111
  759. tristate "AMD 8111 GPIO driver"
  760. help
  761. The AMD 8111 south bridge contains 32 GPIO pins which can be used.
  762. Note, that usually system firmware/ACPI handles GPIO pins on their
  763. own and users might easily break their systems with uncarefull usage
  764. of this driver!
  765. If unsure, say N
  766. config GPIO_BT8XX
  767. tristate "BT8XX GPIO abuser"
  768. depends on VIDEO_BT848=n
  769. help
  770. The BT8xx frame grabber chip has 24 GPIO pins that can be abused
  771. as a cheap PCI GPIO card.
  772. This chip can be found on Miro, Hauppauge and STB TV-cards.
  773. The card needs to be physically altered for using it as a
  774. GPIO card. For more information on how to build a GPIO card
  775. from a BT8xx TV card, see the documentation file at
  776. Documentation/bt8xxgpio.txt
  777. If unsure, say N.
  778. config GPIO_INTEL_MID
  779. bool "Intel Mid GPIO support"
  780. depends on X86
  781. select GPIOLIB_IRQCHIP
  782. help
  783. Say Y here to support Intel Mid GPIO.
  784. config GPIO_ML_IOH
  785. tristate "OKI SEMICONDUCTOR ML7213 IOH GPIO support"
  786. select GENERIC_IRQ_CHIP
  787. help
  788. ML7213 is companion chip for Intel Atom E6xx series.
  789. This driver can be used for OKI SEMICONDUCTOR ML7213 IOH(Input/Output
  790. Hub) which is for IVI(In-Vehicle Infotainment) use.
  791. This driver can access the IOH's GPIO device.
  792. config GPIO_PCH
  793. tristate "Intel EG20T PCH/LAPIS Semiconductor IOH(ML7223/ML7831) GPIO"
  794. depends on X86_32 || MIPS || COMPILE_TEST
  795. select GENERIC_IRQ_CHIP
  796. help
  797. This driver is for PCH(Platform controller Hub) GPIO of Intel Topcliff
  798. which is an IOH(Input/Output Hub) for x86 embedded processor.
  799. This driver can access PCH GPIO device.
  800. This driver also can be used for LAPIS Semiconductor IOH(Input/
  801. Output Hub), ML7223 and ML7831.
  802. ML7223 IOH is for MP(Media Phone) use.
  803. ML7831 IOH is for general purpose use.
  804. ML7223/ML7831 is companion chip for Intel Atom E6xx series.
  805. ML7223/ML7831 is completely compatible for Intel EG20T PCH.
  806. config GPIO_RDC321X
  807. tristate "RDC R-321x GPIO support"
  808. select MFD_CORE
  809. select MFD_RDC321X
  810. help
  811. Support for the RDC R321x SoC GPIOs over southbridge
  812. PCI configuration space.
  813. config GPIO_SODAVILLE
  814. bool "Intel Sodaville GPIO support"
  815. depends on X86 && OF
  816. select GPIO_GENERIC
  817. select GENERIC_IRQ_CHIP
  818. help
  819. Say Y here to support Intel Sodaville GPIO.
  820. endmenu
  821. menu "SPI GPIO expanders"
  822. depends on SPI_MASTER
  823. config GPIO_74X164
  824. tristate "74x164 serial-in/parallel-out 8-bits shift register"
  825. depends on OF
  826. help
  827. Driver for 74x164 compatible serial-in/parallel-out 8-outputs
  828. shift registers. This driver can be used to provide access
  829. to more gpio outputs.
  830. config GPIO_MAX7301
  831. tristate "Maxim MAX7301 GPIO expander"
  832. select GPIO_MAX730X
  833. help
  834. GPIO driver for Maxim MAX7301 SPI-based GPIO expander.
  835. config GPIO_MC33880
  836. tristate "Freescale MC33880 high-side/low-side switch"
  837. help
  838. SPI driver for Freescale MC33880 high-side/low-side switch.
  839. This provides GPIO interface supporting inputs and outputs.
  840. endmenu
  841. menu "SPI or I2C GPIO expanders"
  842. depends on (SPI_MASTER && !I2C) || I2C
  843. config GPIO_MCP23S08
  844. tristate "Microchip MCP23xxx I/O expander"
  845. help
  846. SPI/I2C driver for Microchip MCP23S08/MCP23S17/MCP23008/MCP23017
  847. I/O expanders.
  848. This provides a GPIO interface supporting inputs and outputs.
  849. The I2C versions of the chips can be used as interrupt-controller.
  850. endmenu
  851. menu "USB GPIO expanders"
  852. depends on USB
  853. config GPIO_VIPERBOARD
  854. tristate "Viperboard GPIO a & b support"
  855. depends on MFD_VIPERBOARD
  856. help
  857. Say yes here to access the GPIO signals of Nano River
  858. Technologies Viperboard. There are two GPIO chips on the
  859. board: gpioa and gpiob.
  860. See viperboard API specification and Nano
  861. River Tech's viperboard.h for detailed meaning
  862. of the module parameters.
  863. endmenu
  864. endif