Kconfig 32 KB

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