Kconfig 40 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399
  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. menuconfig GPIOLIB
  12. bool "GPIO Support"
  13. select ANON_INODES
  14. help
  15. This enables GPIO support through the generic GPIO library.
  16. You only need to enable this, if you also want to enable
  17. one or more of the GPIO drivers below.
  18. If unsure, say N.
  19. if GPIOLIB
  20. config GPIOLIB_FASTPATH_LIMIT
  21. int "Maximum number of GPIOs for fast path"
  22. range 32 512
  23. default 512
  24. help
  25. This adjusts the point at which certain APIs will switch from
  26. using a stack allocated buffer to a dynamically allocated buffer.
  27. You shouldn't need to change this unless you really need to
  28. optimize either stack space or performance. Change this carefully
  29. since setting an incorrect value could cause stack corruption.
  30. config OF_GPIO
  31. def_bool y
  32. depends on OF
  33. depends on HAS_IOMEM
  34. config GPIO_ACPI
  35. def_bool y
  36. depends on ACPI
  37. config GPIOLIB_IRQCHIP
  38. select IRQ_DOMAIN
  39. bool
  40. config DEBUG_GPIO
  41. bool "Debug GPIO calls"
  42. depends on DEBUG_KERNEL
  43. help
  44. Say Y here to add some extra checks and diagnostics to GPIO calls.
  45. These checks help ensure that GPIOs have been properly initialized
  46. before they are used, and that sleeping calls are not made from
  47. non-sleeping contexts. They can make bitbanged serial protocols
  48. slower. The diagnostics help catch the type of setup errors
  49. that are most common when setting up new platforms or boards.
  50. config GPIO_SYSFS
  51. bool "/sys/class/gpio/... (sysfs interface)"
  52. depends on SYSFS
  53. help
  54. Say Y here to add a sysfs interface for GPIOs.
  55. This is mostly useful to work around omissions in a system's
  56. kernel support. Those are common in custom and semicustom
  57. hardware assembled using standard kernels with a minimum of
  58. custom patches. In those cases, userspace code may import
  59. a given GPIO from the kernel, if no kernel driver requested it.
  60. Kernel drivers may also request that a particular GPIO be
  61. exported to userspace; this can be useful when debugging.
  62. config GPIO_GENERIC
  63. depends on HAS_IOMEM # Only for IOMEM drivers
  64. tristate
  65. # put drivers in the right section, in alphabetical order
  66. # This symbol is selected by both I2C and SPI expanders
  67. config GPIO_MAX730X
  68. tristate
  69. menu "Memory mapped GPIO drivers"
  70. depends on HAS_IOMEM
  71. config GPIO_74XX_MMIO
  72. tristate "GPIO driver for 74xx-ICs with MMIO access"
  73. depends on OF_GPIO
  74. select GPIO_GENERIC
  75. help
  76. Say yes here to support GPIO functionality for 74xx-compatible ICs
  77. with MMIO access. Compatible models include:
  78. 1 bit: 741G125 (Input), 741G74 (Output)
  79. 2 bits: 742G125 (Input), 7474 (Output)
  80. 4 bits: 74125 (Input), 74175 (Output)
  81. 6 bits: 74365 (Input), 74174 (Output)
  82. 8 bits: 74244 (Input), 74273 (Output)
  83. 16 bits: 741624 (Input), 7416374 (Output)
  84. config GPIO_ALTERA
  85. tristate "Altera GPIO"
  86. depends on OF_GPIO
  87. select GPIOLIB_IRQCHIP
  88. help
  89. Say Y or M here to build support for the Altera PIO device.
  90. If driver is built as a module it will be called gpio-altera.
  91. config GPIO_AMDPT
  92. tristate "AMD Promontory GPIO support"
  93. depends on ACPI
  94. select GPIO_GENERIC
  95. help
  96. driver for GPIO functionality on Promontory IOHub
  97. Require ACPI ASL code to enumerate as a platform device.
  98. config GPIO_ASPEED
  99. tristate "Aspeed GPIO support"
  100. depends on (ARCH_ASPEED || COMPILE_TEST) && OF_GPIO
  101. select GPIOLIB_IRQCHIP
  102. help
  103. Say Y here to support Aspeed AST2400 and AST2500 GPIO controllers.
  104. config GPIO_ATH79
  105. tristate "Atheros AR71XX/AR724X/AR913X GPIO support"
  106. default y if ATH79
  107. depends on ATH79 || COMPILE_TEST
  108. select GPIO_GENERIC
  109. select GPIOLIB_IRQCHIP
  110. help
  111. Select this option to enable GPIO driver for
  112. Atheros AR71XX/AR724X/AR913X SoC devices.
  113. config GPIO_RASPBERRYPI_EXP
  114. tristate "Raspberry Pi 3 GPIO Expander"
  115. default RASPBERRYPI_FIRMWARE
  116. depends on OF_GPIO
  117. # Make sure not 'y' when RASPBERRYPI_FIRMWARE is 'm'. This can only
  118. # happen when COMPILE_TEST=y, hence the added !RASPBERRYPI_FIRMWARE.
  119. depends on (ARCH_BCM2835 && RASPBERRYPI_FIRMWARE) || (COMPILE_TEST && !RASPBERRYPI_FIRMWARE)
  120. help
  121. Turn on GPIO support for the expander on Raspberry Pi 3 boards, using
  122. the firmware mailbox to communicate with VideoCore on BCM283x chips.
  123. config GPIO_BCM_KONA
  124. bool "Broadcom Kona GPIO"
  125. depends on OF_GPIO && (ARCH_BCM_MOBILE || COMPILE_TEST)
  126. help
  127. Turn on GPIO support for Broadcom "Kona" chips.
  128. config GPIO_BRCMSTB
  129. tristate "BRCMSTB GPIO support"
  130. default y if (ARCH_BRCMSTB || BMIPS_GENERIC)
  131. depends on OF_GPIO && (ARCH_BRCMSTB || BMIPS_GENERIC || COMPILE_TEST)
  132. select GPIO_GENERIC
  133. select IRQ_DOMAIN
  134. help
  135. Say yes here to enable GPIO support for Broadcom STB (BCM7XXX) SoCs.
  136. config GPIO_CLPS711X
  137. tristate "CLPS711X GPIO support"
  138. depends on ARCH_CLPS711X || COMPILE_TEST
  139. select GPIO_GENERIC
  140. help
  141. Say yes here to support GPIO on CLPS711X SoCs.
  142. config GPIO_DAVINCI
  143. bool "TI Davinci/Keystone GPIO support"
  144. default y if ARCH_DAVINCI
  145. depends on ARM && (ARCH_DAVINCI || ARCH_KEYSTONE)
  146. help
  147. Say yes here to enable GPIO support for TI Davinci/Keystone SoCs.
  148. config GPIO_DWAPB
  149. tristate "Synopsys DesignWare APB GPIO driver"
  150. select GPIO_GENERIC
  151. select GENERIC_IRQ_CHIP
  152. help
  153. Say Y or M here to build support for the Synopsys DesignWare APB
  154. GPIO block.
  155. config GPIO_EIC_SPRD
  156. tristate "Spreadtrum EIC support"
  157. depends on ARCH_SPRD || COMPILE_TEST
  158. depends on OF_GPIO
  159. select GPIOLIB_IRQCHIP
  160. help
  161. Say yes here to support Spreadtrum EIC device.
  162. config GPIO_EM
  163. tristate "Emma Mobile GPIO"
  164. depends on (ARCH_EMEV2 || COMPILE_TEST) && OF_GPIO
  165. help
  166. Say yes here to support GPIO on Renesas Emma Mobile SoCs.
  167. config GPIO_EP93XX
  168. def_bool y
  169. depends on ARCH_EP93XX
  170. select GPIO_GENERIC
  171. select GPIOLIB_IRQCHIP
  172. config GPIO_EXAR
  173. tristate "Support for GPIO pins on XR17V352/354/358"
  174. depends on SERIAL_8250_EXAR
  175. help
  176. Selecting this option will enable handling of GPIO pins present
  177. on Exar XR17V352/354/358 chips.
  178. config GPIO_GE_FPGA
  179. bool "GE FPGA based GPIO"
  180. depends on GE_FPGA
  181. select GPIO_GENERIC
  182. help
  183. Support for common GPIO functionality provided on some GE Single Board
  184. Computers.
  185. This driver provides basic support (configure as input or output, read
  186. and write pin state) for GPIO implemented in a number of GE single
  187. board computers.
  188. config GPIO_FTGPIO010
  189. bool "Faraday FTGPIO010 GPIO"
  190. depends on OF_GPIO
  191. select GPIO_GENERIC
  192. select GPIOLIB_IRQCHIP
  193. default (ARCH_GEMINI || ARCH_MOXART)
  194. help
  195. Support for common GPIOs from the Faraday FTGPIO010 IP core, found in
  196. Cortina systems Gemini platforms, Moxa ART and others.
  197. config GPIO_GENERIC_PLATFORM
  198. tristate "Generic memory-mapped GPIO controller support (MMIO platform device)"
  199. select GPIO_GENERIC
  200. help
  201. Say yes here to support basic platform_device memory-mapped GPIO controllers.
  202. config GPIO_GRGPIO
  203. tristate "Aeroflex Gaisler GRGPIO support"
  204. depends on OF_GPIO
  205. select GPIO_GENERIC
  206. select IRQ_DOMAIN
  207. help
  208. Select this to support Aeroflex Gaisler GRGPIO cores from the GRLIB
  209. VHDL IP core library.
  210. config GPIO_HLWD
  211. tristate "Nintendo Wii (Hollywood) GPIO"
  212. depends on OF_GPIO
  213. select GPIO_GENERIC
  214. help
  215. Select this to support the GPIO controller of the Nintendo Wii.
  216. If unsure, say N.
  217. config GPIO_ICH
  218. tristate "Intel ICH GPIO"
  219. depends on PCI && X86
  220. select MFD_CORE
  221. select LPC_ICH
  222. help
  223. Say yes here to support the GPIO functionality of a number of Intel
  224. ICH-based chipsets. Currently supported devices: ICH6, ICH7, ICH8
  225. ICH9, ICH10, Series 5/3400 (eg Ibex Peak), Series 6/C200 (eg
  226. Cougar Point), NM10 (Tiger Point), and 3100 (Whitmore Lake).
  227. If unsure, say N.
  228. config GPIO_IOP
  229. tristate "Intel IOP GPIO"
  230. depends on ARCH_IOP32X || ARCH_IOP33X || COMPILE_TEST
  231. select GPIO_GENERIC
  232. help
  233. Say yes here to support the GPIO functionality of a number of Intel
  234. IOP32X or IOP33X.
  235. If unsure, say N.
  236. config GPIO_LOONGSON
  237. bool "Loongson-2/3 GPIO support"
  238. depends on CPU_LOONGSON2 || CPU_LOONGSON3
  239. help
  240. driver for GPIO functionality on Loongson-2F/3A/3B processors.
  241. config GPIO_LPC18XX
  242. tristate "NXP LPC18XX/43XX GPIO support"
  243. default y if ARCH_LPC18XX
  244. depends on OF_GPIO && (ARCH_LPC18XX || COMPILE_TEST)
  245. help
  246. Select this option to enable GPIO driver for
  247. NXP LPC18XX/43XX devices.
  248. config GPIO_LYNXPOINT
  249. tristate "Intel Lynxpoint GPIO support"
  250. depends on ACPI && X86
  251. select GPIOLIB_IRQCHIP
  252. help
  253. driver for GPIO functionality on Intel Lynxpoint PCH chipset
  254. Requires ACPI device enumeration code to set up a platform device.
  255. config GPIO_MB86S7X
  256. tristate "GPIO support for Fujitsu MB86S7x Platforms"
  257. help
  258. Say yes here to support the GPIO controller in Fujitsu MB86S70 SoCs.
  259. config GPIO_MENZ127
  260. tristate "MEN 16Z127 GPIO support"
  261. depends on MCB
  262. select GPIO_GENERIC
  263. help
  264. Say yes here to support the MEN 16Z127 GPIO Controller
  265. config GPIO_MM_LANTIQ
  266. bool "Lantiq Memory mapped GPIOs"
  267. depends on LANTIQ && SOC_XWAY
  268. help
  269. This enables support for memory mapped GPIOs on the External Bus Unit
  270. (EBU) found on Lantiq SoCs. The gpios are output only as they are
  271. created by attaching a 16bit latch to the bus.
  272. config GPIO_MOCKUP
  273. tristate "GPIO Testing Driver"
  274. depends on GPIOLIB && SYSFS
  275. select GPIO_SYSFS
  276. select GPIOLIB_IRQCHIP
  277. select IRQ_SIM
  278. help
  279. This enables GPIO Testing driver, which provides a way to test GPIO
  280. subsystem through sysfs(or char device) and debugfs. GPIO_SYSFS
  281. must be selected for this test.
  282. User could use it through the script in
  283. tools/testing/selftests/gpio/gpio-mockup.sh. Reference the usage in
  284. it.
  285. config GPIO_MPC5200
  286. def_bool y
  287. depends on PPC_MPC52xx
  288. config GPIO_MPC8XXX
  289. bool "MPC512x/MPC8xxx/QorIQ GPIO support"
  290. depends on PPC_MPC512x || PPC_MPC831x || PPC_MPC834x || PPC_MPC837x || \
  291. FSL_SOC_BOOKE || PPC_86xx || ARCH_LAYERSCAPE || ARM || \
  292. COMPILE_TEST
  293. select GPIO_GENERIC
  294. select IRQ_DOMAIN
  295. help
  296. Say Y here if you're going to use hardware that connects to the
  297. MPC512x/831x/834x/837x/8572/8610/QorIQ GPIOs.
  298. config GPIO_MT7621
  299. bool "Mediatek MT7621 GPIO Support"
  300. depends on SOC_MT7620 || SOC_MT7621 || COMPILE_TEST
  301. depends on OF_GPIO
  302. select GPIO_GENERIC
  303. select GPIOLIB_IRQCHIP
  304. help
  305. Say yes here to support the Mediatek MT7621 SoC GPIO device
  306. config GPIO_MVEBU
  307. def_bool y
  308. depends on PLAT_ORION || ARCH_MVEBU
  309. depends on OF_GPIO
  310. select GENERIC_IRQ_CHIP
  311. select REGMAP_MMIO
  312. config GPIO_MXC
  313. def_bool y
  314. depends on ARCH_MXC
  315. select GPIO_GENERIC
  316. select GENERIC_IRQ_CHIP
  317. config GPIO_MXS
  318. def_bool y
  319. depends on ARCH_MXS
  320. select GPIO_GENERIC
  321. select GENERIC_IRQ_CHIP
  322. config GPIO_OCTEON
  323. tristate "Cavium OCTEON GPIO"
  324. depends on GPIOLIB && CAVIUM_OCTEON_SOC
  325. default y
  326. help
  327. Say yes here to support the on-chip GPIO lines on the OCTEON
  328. family of SOCs.
  329. config GPIO_OMAP
  330. tristate "TI OMAP GPIO support" if ARCH_OMAP2PLUS || COMPILE_TEST
  331. default y if ARCH_OMAP
  332. depends on ARM
  333. select GENERIC_IRQ_CHIP
  334. select GPIOLIB_IRQCHIP
  335. help
  336. Say yes here to enable GPIO support for TI OMAP SoCs.
  337. config GPIO_PL061
  338. bool "PrimeCell PL061 GPIO support"
  339. depends on ARM_AMBA
  340. select IRQ_DOMAIN
  341. select GPIOLIB_IRQCHIP
  342. help
  343. Say yes here to support the PrimeCell PL061 GPIO device
  344. config GPIO_PMIC_EIC_SPRD
  345. tristate "Spreadtrum PMIC EIC support"
  346. depends on MFD_SC27XX_PMIC || COMPILE_TEST
  347. depends on OF_GPIO
  348. select GPIOLIB_IRQCHIP
  349. help
  350. Say yes here to support Spreadtrum PMIC EIC device.
  351. config GPIO_PXA
  352. bool "PXA GPIO support"
  353. depends on ARCH_PXA || ARCH_MMP
  354. help
  355. Say yes here to support the PXA GPIO device
  356. config GPIO_RCAR
  357. tristate "Renesas R-Car GPIO"
  358. depends on ARCH_RENESAS || COMPILE_TEST
  359. select GPIOLIB_IRQCHIP
  360. help
  361. Say yes here to support GPIO on Renesas R-Car SoCs.
  362. config GPIO_REG
  363. bool
  364. help
  365. A 32-bit single register GPIO fixed in/out implementation. This
  366. can be used to represent any register as a set of GPIO signals.
  367. config GPIO_SIOX
  368. tristate "SIOX GPIO support"
  369. depends on SIOX
  370. select GPIOLIB_IRQCHIP
  371. help
  372. Say yes here to support SIOX I/O devices. These are units connected
  373. via a SIOX bus and have a number of fixed-direction I/O lines.
  374. config GPIO_SNPS_CREG
  375. bool "Synopsys GPIO via CREG (Control REGisters) driver"
  376. depends on ARC || COMPILE_TEST
  377. depends on OF_GPIO
  378. help
  379. This driver supports GPIOs via CREG on various Synopsys SoCs.
  380. This is a single-register MMIO GPIO driver for complex cases
  381. where only several fields in register belong to GPIO lines and
  382. each GPIO line owns a field with different length and on/off value.
  383. config GPIO_SPEAR_SPICS
  384. bool "ST SPEAr13xx SPI Chip Select as GPIO support"
  385. depends on PLAT_SPEAR
  386. select GENERIC_IRQ_CHIP
  387. help
  388. Say yes here to support ST SPEAr SPI Chip Select as GPIO device
  389. config GPIO_SPRD
  390. tristate "Spreadtrum GPIO support"
  391. depends on ARCH_SPRD || COMPILE_TEST
  392. depends on OF_GPIO
  393. select GPIOLIB_IRQCHIP
  394. help
  395. Say yes here to support Spreadtrum GPIO device.
  396. config GPIO_STA2X11
  397. bool "STA2x11/ConneXt GPIO support"
  398. depends on MFD_STA2X11
  399. select GENERIC_IRQ_CHIP
  400. help
  401. Say yes here to support the STA2x11/ConneXt GPIO device.
  402. The GPIO module has 128 GPIO pins with alternate functions.
  403. config GPIO_STP_XWAY
  404. bool "XWAY STP GPIOs"
  405. depends on SOC_XWAY
  406. help
  407. This enables support for the Serial To Parallel (STP) unit found on
  408. XWAY SoC. The STP allows the SoC to drive a shift registers cascade,
  409. that can be up to 24 bit. This peripheral is aimed at driving leds.
  410. Some of the gpios/leds can be auto updated by the soc with dsl and
  411. phy status.
  412. config GPIO_SYSCON
  413. tristate "GPIO based on SYSCON"
  414. depends on MFD_SYSCON && OF
  415. help
  416. Say yes here to support GPIO functionality though SYSCON driver.
  417. config GPIO_TB10X
  418. bool
  419. select GPIO_GENERIC
  420. select GENERIC_IRQ_CHIP
  421. select OF_GPIO
  422. config GPIO_TEGRA
  423. bool "NVIDIA Tegra GPIO support"
  424. default ARCH_TEGRA
  425. depends on ARCH_TEGRA || COMPILE_TEST
  426. depends on OF_GPIO
  427. help
  428. Say yes here to support GPIO pins on NVIDIA Tegra SoCs.
  429. config GPIO_TEGRA186
  430. tristate "NVIDIA Tegra186 GPIO support"
  431. default ARCH_TEGRA_186_SOC
  432. depends on ARCH_TEGRA_186_SOC || COMPILE_TEST
  433. depends on OF_GPIO
  434. select GPIOLIB_IRQCHIP
  435. help
  436. Say yes here to support GPIO pins on NVIDIA Tegra186 SoCs.
  437. config GPIO_TS4800
  438. tristate "TS-4800 DIO blocks and compatibles"
  439. depends on OF_GPIO
  440. depends on SOC_IMX51 || COMPILE_TEST
  441. select GPIO_GENERIC
  442. help
  443. This driver support TS-4800 FPGA GPIO controllers.
  444. config GPIO_THUNDERX
  445. tristate "Cavium ThunderX/OCTEON-TX GPIO"
  446. depends on ARCH_THUNDER || (64BIT && COMPILE_TEST)
  447. depends on PCI_MSI
  448. select IRQ_DOMAIN_HIERARCHY
  449. select IRQ_FASTEOI_HIERARCHY_HANDLERS
  450. help
  451. Say yes here to support the on-chip GPIO lines on the ThunderX
  452. and OCTEON-TX families of SoCs.
  453. config GPIO_UNIPHIER
  454. tristate "UniPhier GPIO support"
  455. depends on ARCH_UNIPHIER || COMPILE_TEST
  456. depends on OF_GPIO
  457. select IRQ_DOMAIN_HIERARCHY
  458. help
  459. Say yes here to support UniPhier GPIOs.
  460. config GPIO_VF610
  461. def_bool y
  462. depends on ARCH_MXC && SOC_VF610
  463. select GPIOLIB_IRQCHIP
  464. help
  465. Say yes here to support Vybrid vf610 GPIOs.
  466. config GPIO_VR41XX
  467. tristate "NEC VR4100 series General-purpose I/O Uint support"
  468. depends on CPU_VR41XX
  469. help
  470. Say yes here to support the NEC VR4100 series General-purpose I/O Uint
  471. config GPIO_VX855
  472. tristate "VIA VX855/VX875 GPIO"
  473. depends on (X86 || COMPILE_TEST) && PCI
  474. select MFD_CORE
  475. select MFD_VX855
  476. help
  477. Support access to the VX855/VX875 GPIO lines through the gpio library.
  478. This driver provides common support for accessing the device,
  479. additional drivers must be enabled in order to use the
  480. functionality of the device.
  481. config GPIO_XGENE
  482. bool "APM X-Gene GPIO controller support"
  483. depends on ARM64 && OF_GPIO
  484. help
  485. This driver is to support the GPIO block within the APM X-Gene SoC
  486. platform's generic flash controller. The GPIO pins are muxed with
  487. the generic flash controller's address and data pins. Say yes
  488. here to enable the GFC GPIO functionality.
  489. config GPIO_XGENE_SB
  490. tristate "APM X-Gene GPIO standby controller support"
  491. depends on ARCH_XGENE && OF_GPIO
  492. select GPIO_GENERIC
  493. select GPIOLIB_IRQCHIP
  494. select IRQ_DOMAIN_HIERARCHY
  495. help
  496. This driver supports the GPIO block within the APM X-Gene
  497. Standby Domain. Say yes here to enable the GPIO functionality.
  498. config GPIO_XILINX
  499. tristate "Xilinx GPIO support"
  500. depends on OF_GPIO
  501. help
  502. Say yes here to support the Xilinx FPGA GPIO device
  503. config GPIO_XLP
  504. tristate "Netlogic XLP GPIO support"
  505. depends on OF_GPIO && (CPU_XLP || ARCH_THUNDER2 || COMPILE_TEST)
  506. select GPIOLIB_IRQCHIP
  507. help
  508. This driver provides support for GPIO interface on Netlogic XLP MIPS64
  509. SoCs. Currently supported XLP variants are XLP8XX, XLP3XX, XLP2XX,
  510. XLP9XX and XLP5XX. The same GPIO controller block is also present in
  511. Cavium's ThunderX2 CN99XX SoCs.
  512. If unsure, say N.
  513. config GPIO_XTENSA
  514. bool "Xtensa GPIO32 support"
  515. depends on XTENSA
  516. depends on HAVE_XTENSA_GPIO32
  517. depends on !SMP
  518. help
  519. Say yes here to support the Xtensa internal GPIO32 IMPWIRE (input)
  520. and EXPSTATE (output) ports
  521. config GPIO_ZEVIO
  522. bool "LSI ZEVIO SoC memory mapped GPIOs"
  523. depends on ARM && OF_GPIO
  524. help
  525. Say yes here to support the GPIO controller in LSI ZEVIO SoCs.
  526. config GPIO_ZYNQ
  527. tristate "Xilinx Zynq GPIO support"
  528. depends on ARCH_ZYNQ || ARCH_ZYNQMP
  529. select GPIOLIB_IRQCHIP
  530. help
  531. Say yes here to support Xilinx Zynq GPIO controller.
  532. config GPIO_ZX
  533. bool "ZTE ZX GPIO support"
  534. depends on ARCH_ZX || COMPILE_TEST
  535. select GPIOLIB_IRQCHIP
  536. help
  537. Say yes here to support the GPIO device on ZTE ZX SoCs.
  538. config GPIO_LOONGSON1
  539. tristate "Loongson1 GPIO support"
  540. depends on MACH_LOONGSON32
  541. select GPIO_GENERIC
  542. help
  543. Say Y or M here to support GPIO on Loongson1 SoCs.
  544. endmenu
  545. menu "Port-mapped I/O GPIO drivers"
  546. depends on X86 # Unconditional I/O space access
  547. config GPIO_104_DIO_48E
  548. tristate "ACCES 104-DIO-48E GPIO support"
  549. depends on PC104
  550. select ISA_BUS_API
  551. select GPIOLIB_IRQCHIP
  552. help
  553. Enables GPIO support for the ACCES 104-DIO-48E series (104-DIO-48E,
  554. 104-DIO-24E). The base port addresses for the devices may be
  555. configured via the base module parameter. The interrupt line numbers
  556. for the devices may be configured via the irq module parameter.
  557. config GPIO_104_IDIO_16
  558. tristate "ACCES 104-IDIO-16 GPIO support"
  559. depends on PC104
  560. select ISA_BUS_API
  561. select GPIOLIB_IRQCHIP
  562. help
  563. Enables GPIO support for the ACCES 104-IDIO-16 family (104-IDIO-16,
  564. 104-IDIO-16E, 104-IDO-16, 104-IDIO-8, 104-IDIO-8E, 104-IDO-8). The
  565. base port addresses for the devices may be configured via the base
  566. module parameter. The interrupt line numbers for the devices may be
  567. configured via the irq module parameter.
  568. config GPIO_104_IDI_48
  569. tristate "ACCES 104-IDI-48 GPIO support"
  570. depends on PC104
  571. select ISA_BUS_API
  572. select GPIOLIB_IRQCHIP
  573. help
  574. Enables GPIO support for the ACCES 104-IDI-48 family (104-IDI-48A,
  575. 104-IDI-48AC, 104-IDI-48B, 104-IDI-48BC). The base port addresses for
  576. the devices may be configured via the base module parameter. The
  577. interrupt line numbers for the devices may be configured via the irq
  578. module parameter.
  579. config GPIO_F7188X
  580. tristate "F71869, F71869A, F71882FG, F71889F and F81866 GPIO support"
  581. help
  582. This option enables support for GPIOs found on Fintek Super-I/O
  583. chips F71869, F71869A, F71882FG, F71889F and F81866.
  584. To compile this driver as a module, choose M here: the module will
  585. be called f7188x-gpio.
  586. config GPIO_GPIO_MM
  587. tristate "Diamond Systems GPIO-MM GPIO support"
  588. depends on PC104
  589. select ISA_BUS_API
  590. help
  591. Enables GPIO support for the Diamond Systems GPIO-MM and GPIO-MM-12.
  592. The Diamond Systems GPIO-MM device features 48 lines of digital I/O
  593. via the emulation of dual 82C55A PPI chips. This driver provides GPIO
  594. support for these 48 channels of digital I/O.
  595. The base port addresses for the devices may be configured via the base
  596. array module parameter.
  597. config GPIO_IT87
  598. tristate "IT87xx GPIO support"
  599. help
  600. Say yes here to support GPIO functionality of IT87xx Super I/O chips.
  601. This driver is tested with ITE IT8728 and IT8732 Super I/O chips, and
  602. supports the IT8761E, IT8613, IT8620E, and IT8628E Super I/O chips as
  603. well.
  604. To compile this driver as a module, choose M here: the module will
  605. be called gpio_it87
  606. config GPIO_SCH
  607. tristate "Intel SCH/TunnelCreek/Centerton/Quark X1000 GPIO"
  608. depends on (X86 || COMPILE_TEST) && PCI
  609. select MFD_CORE
  610. select LPC_SCH
  611. help
  612. Say yes here to support GPIO interface on Intel Poulsbo SCH,
  613. Intel Tunnel Creek processor, Intel Centerton processor or
  614. Intel Quark X1000 SoC.
  615. The Intel SCH contains a total of 14 GPIO pins. Ten GPIOs are
  616. powered by the core power rail and are turned off during sleep
  617. modes (S3 and higher). The remaining four GPIOs are powered by
  618. the Intel SCH suspend power supply. These GPIOs remain
  619. active during S3. The suspend powered GPIOs can be used to wake the
  620. system from the Suspend-to-RAM state.
  621. The Intel Tunnel Creek processor has 5 GPIOs powered by the
  622. core power rail and 9 from suspend power supply.
  623. The Intel Centerton processor has a total of 30 GPIO pins.
  624. Twenty-one are powered by the core power rail and 9 from the
  625. suspend power supply.
  626. The Intel Quark X1000 SoC has 2 GPIOs powered by the core
  627. power well and 6 from the suspend power well.
  628. config GPIO_SCH311X
  629. tristate "SMSC SCH311x SuperI/O GPIO"
  630. help
  631. Driver to enable the GPIOs found on SMSC SMSC SCH3112, SCH3114 and
  632. SCH3116 "Super I/O" chipsets.
  633. To compile this driver as a module, choose M here: the module will
  634. be called gpio-sch311x.
  635. config GPIO_TS5500
  636. tristate "TS-5500 DIO blocks and compatibles"
  637. depends on TS5500 || COMPILE_TEST
  638. help
  639. This driver supports Digital I/O exposed by pin blocks found on some
  640. Technologic Systems platforms. It includes, but is not limited to, 3
  641. blocks of the TS-5500: DIO1, DIO2 and the LCD port, and the TS-5600
  642. LCD port.
  643. config GPIO_WINBOND
  644. tristate "Winbond Super I/O GPIO support"
  645. select ISA_BUS_API
  646. help
  647. This option enables support for GPIOs found on Winbond Super I/O
  648. chips.
  649. Currently, only W83627UHG (also known as Nuvoton NCT6627UD) is
  650. supported.
  651. You will need to provide a module parameter "gpios", or a
  652. boot-time parameter "gpio_winbond.gpios" with a bitmask of GPIO
  653. ports to enable (bit 0 is GPIO1, bit 1 is GPIO2, etc.).
  654. To compile this driver as a module, choose M here: the module will
  655. be called gpio-winbond.
  656. config GPIO_WS16C48
  657. tristate "WinSystems WS16C48 GPIO support"
  658. select ISA_BUS_API
  659. select GPIOLIB_IRQCHIP
  660. help
  661. Enables GPIO support for the WinSystems WS16C48. The base port
  662. addresses for the devices may be configured via the base module
  663. parameter. The interrupt line numbers for the devices may be
  664. configured via the irq module parameter.
  665. endmenu
  666. menu "I2C GPIO expanders"
  667. depends on I2C
  668. config GPIO_ADP5588
  669. tristate "ADP5588 I2C GPIO expander"
  670. help
  671. This option enables support for 18 GPIOs found
  672. on Analog Devices ADP5588 GPIO Expanders.
  673. config GPIO_ADP5588_IRQ
  674. bool "Interrupt controller support for ADP5588"
  675. depends on GPIO_ADP5588=y
  676. help
  677. Say yes here to enable the adp5588 to be used as an interrupt
  678. controller. It requires the driver to be built in the kernel.
  679. config GPIO_ADNP
  680. tristate "Avionic Design N-bit GPIO expander"
  681. depends on OF_GPIO
  682. select GPIOLIB_IRQCHIP
  683. help
  684. This option enables support for N GPIOs found on Avionic Design
  685. I2C GPIO expanders. The register space will be extended by powers
  686. of two, so the controller will need to accommodate for that. For
  687. example: if a controller provides 48 pins, 6 registers will be
  688. enough to represent all pins, but the driver will assume a
  689. register layout for 64 pins (8 registers).
  690. config GPIO_MAX7300
  691. tristate "Maxim MAX7300 GPIO expander"
  692. select GPIO_MAX730X
  693. help
  694. GPIO driver for Maxim MAX7300 I2C-based GPIO expander.
  695. config GPIO_MAX732X
  696. tristate "MAX7319, MAX7320-7327 I2C Port Expanders"
  697. help
  698. Say yes here to support the MAX7319, MAX7320-7327 series of I2C
  699. Port Expanders. Each IO port on these chips has a fixed role of
  700. Input (designated by 'I'), Push-Pull Output ('O'), or Open-Drain
  701. Input and Output (designed by 'P'). The combinations are listed
  702. below:
  703. 8 bits: max7319 (8I), max7320 (8O), max7321 (8P),
  704. max7322 (4I4O), max7323 (4P4O)
  705. 16 bits: max7324 (8I8O), max7325 (8P8O),
  706. max7326 (4I12O), max7327 (4P12O)
  707. Board setup code must specify the model to use, and the start
  708. number for these GPIOs.
  709. config GPIO_MAX732X_IRQ
  710. bool "Interrupt controller support for MAX732x"
  711. depends on GPIO_MAX732X=y
  712. select GPIOLIB_IRQCHIP
  713. help
  714. Say yes here to enable the max732x to be used as an interrupt
  715. controller. It requires the driver to be built in the kernel.
  716. config GPIO_MC9S08DZ60
  717. bool "MX35 3DS BOARD MC9S08DZ60 GPIO functions"
  718. depends on I2C=y && MACH_MX35_3DS
  719. help
  720. Select this to enable the MC9S08DZ60 GPIO driver
  721. config GPIO_PCA953X
  722. tristate "PCA95[357]x, PCA9698, TCA64xx, and MAX7310 I/O ports"
  723. help
  724. Say yes here to provide access to several register-oriented
  725. SMBus I/O expanders, made mostly by NXP or TI. Compatible
  726. models include:
  727. 4 bits: pca9536, pca9537
  728. 8 bits: max7310, max7315, pca6107, pca9534, pca9538, pca9554,
  729. pca9556, pca9557, pca9574, tca6408, tca9554, xra1202
  730. 16 bits: max7312, max7313, pca9535, pca9539, pca9555, pca9575,
  731. tca6416
  732. 24 bits: tca6424
  733. 40 bits: pca9505, pca9698
  734. config GPIO_PCA953X_IRQ
  735. bool "Interrupt controller support for PCA953x"
  736. depends on GPIO_PCA953X=y
  737. select GPIOLIB_IRQCHIP
  738. help
  739. Say yes here to enable the pca953x to be used as an interrupt
  740. controller. It requires the driver to be built in the kernel.
  741. config GPIO_PCF857X
  742. tristate "PCF857x, PCA{85,96}7x, and MAX732[89] I2C GPIO expanders"
  743. select GPIOLIB_IRQCHIP
  744. select IRQ_DOMAIN
  745. help
  746. Say yes here to provide access to most "quasi-bidirectional" I2C
  747. GPIO expanders used for additional digital outputs or inputs.
  748. Most of these parts are from NXP, though TI is a second source for
  749. some of them. Compatible models include:
  750. 8 bits: pcf8574, pcf8574a, pca8574, pca8574a,
  751. pca9670, pca9672, pca9674, pca9674a,
  752. max7328, max7329
  753. 16 bits: pcf8575, pcf8575c, pca8575,
  754. pca9671, pca9673, pca9675
  755. Your board setup code will need to declare the expanders in
  756. use, and assign numbers to the GPIOs they expose. Those GPIOs
  757. can then be used from drivers and other kernel code, just like
  758. other GPIOs, but only accessible from task contexts.
  759. This driver provides an in-kernel interface to those GPIOs using
  760. platform-neutral GPIO calls.
  761. config GPIO_TPIC2810
  762. tristate "TPIC2810 8-Bit I2C GPO expander"
  763. help
  764. Say yes here to enable the GPO driver for the TI TPIC2810 chip.
  765. To compile this driver as a module, choose M here: the module will
  766. be called gpio-tpic2810.
  767. config GPIO_TS4900
  768. tristate "Technologic Systems FPGA I2C GPIO"
  769. depends on SOC_IMX6 || COMPILE_TEST
  770. select REGMAP_I2C
  771. help
  772. Say yes here to enabled the GPIO driver for Technologic's FPGA core.
  773. Series supported include TS-4100, TS-4900, TS-7970 and TS-7990.
  774. endmenu
  775. menu "MFD GPIO expanders"
  776. config GPIO_ADP5520
  777. tristate "GPIO Support for ADP5520 PMIC"
  778. depends on PMIC_ADP5520
  779. help
  780. This option enables support for on-chip GPIO found
  781. on Analog Devices ADP5520 PMICs.
  782. config GPIO_ALTERA_A10SR
  783. tristate "Altera Arria10 System Resource GPIO"
  784. depends on MFD_ALTERA_A10SR
  785. help
  786. Driver for Arria10 Development Kit GPIO expansion which
  787. includes reads of pushbuttons and DIP switches as well
  788. as writes to LEDs.
  789. config GPIO_ARIZONA
  790. tristate "Wolfson Microelectronics Arizona class devices"
  791. depends on MFD_ARIZONA
  792. help
  793. Support for GPIOs on Wolfson Arizona class devices.
  794. config GPIO_BD9571MWV
  795. tristate "ROHM BD9571 GPIO support"
  796. depends on MFD_BD9571MWV
  797. help
  798. Support for GPIOs on ROHM BD9571 PMIC. There are two GPIOs
  799. available on the ROHM PMIC in total, both of which can also
  800. generate interrupts.
  801. This driver can also be built as a module. If so, the module
  802. will be called gpio-bd9571mwv.
  803. config GPIO_CRYSTAL_COVE
  804. tristate "GPIO support for Crystal Cove PMIC"
  805. depends on (X86 || COMPILE_TEST) && INTEL_SOC_PMIC
  806. select GPIOLIB_IRQCHIP
  807. help
  808. Support for GPIO pins on Crystal Cove PMIC.
  809. Say Yes if you have a Intel SoC based tablet with Crystal Cove PMIC
  810. inside.
  811. This driver can also be built as a module. If so, the module will be
  812. called gpio-crystalcove.
  813. config GPIO_CS5535
  814. tristate "AMD CS5535/CS5536 GPIO support"
  815. depends on X86 || MIPS || COMPILE_TEST
  816. depends on MFD_CS5535
  817. help
  818. The AMD CS5535 and CS5536 southbridges support 28 GPIO pins that
  819. can be used for quite a number of things. The CS5535/6 is found on
  820. AMD Geode and Lemote Yeeloong devices.
  821. If unsure, say N.
  822. config GPIO_DA9052
  823. tristate "Dialog DA9052 GPIO"
  824. depends on PMIC_DA9052
  825. help
  826. Say yes here to enable the GPIO driver for the DA9052 chip.
  827. config GPIO_DA9055
  828. tristate "Dialog Semiconductor DA9055 GPIO"
  829. depends on MFD_DA9055
  830. help
  831. Say yes here to enable the GPIO driver for the DA9055 chip.
  832. The Dialog DA9055 PMIC chip has 3 GPIO pins that can be
  833. be controller by this driver.
  834. If driver is built as a module it will be called gpio-da9055.
  835. config GPIO_DLN2
  836. tristate "Diolan DLN2 GPIO support"
  837. depends on MFD_DLN2
  838. select GPIOLIB_IRQCHIP
  839. help
  840. Select this option to enable GPIO driver for the Diolan DLN2
  841. board.
  842. This driver can also be built as a module. If so, the module
  843. will be called gpio-dln2.
  844. config HTC_EGPIO
  845. bool "HTC EGPIO support"
  846. depends on GPIOLIB && ARM
  847. help
  848. This driver supports the CPLD egpio chip present on
  849. several HTC phones. It provides basic support for input
  850. pins, output pins, and irqs.
  851. config GPIO_JANZ_TTL
  852. tristate "Janz VMOD-TTL Digital IO Module"
  853. depends on MFD_JANZ_CMODIO
  854. help
  855. This enables support for the Janz VMOD-TTL Digital IO module.
  856. This driver provides support for driving the pins in output
  857. mode only. Input mode is not supported.
  858. config GPIO_KEMPLD
  859. tristate "Kontron ETX / COMexpress GPIO"
  860. depends on MFD_KEMPLD
  861. help
  862. This enables support for the PLD GPIO interface on some Kontron ETX
  863. and COMexpress (ETXexpress) modules.
  864. This driver can also be built as a module. If so, the module will be
  865. called gpio-kempld.
  866. config GPIO_LP3943
  867. tristate "TI/National Semiconductor LP3943 GPIO expander"
  868. depends on MFD_LP3943
  869. help
  870. GPIO driver for LP3943 MFD.
  871. LP3943 can be used as a GPIO expander which provides up to 16 GPIOs.
  872. Open drain outputs are required for this usage.
  873. config GPIO_LP873X
  874. tristate "TI LP873X GPO"
  875. depends on MFD_TI_LP873X
  876. help
  877. This driver supports the GPO on TI Lp873x PMICs. 2 GPOs are present
  878. on LP873X PMICs.
  879. This driver can also be built as a module. If so, the module will be
  880. called gpio-lp873x.
  881. config GPIO_LP87565
  882. tristate "TI LP87565 GPIO"
  883. depends on MFD_TI_LP87565
  884. help
  885. This driver supports the GPIO on TI Lp873565 PMICs. 3 GPIOs are present
  886. on LP87565 PMICs.
  887. This driver can also be built as a module. If so, the module will be
  888. called gpio-lp87565.
  889. config GPIO_MADERA
  890. tristate "Cirrus Logic Madera class codecs"
  891. depends on PINCTRL_MADERA
  892. help
  893. Support for GPIOs on Cirrus Logic Madera class codecs.
  894. config GPIO_MAX77620
  895. tristate "GPIO support for PMIC MAX77620 and MAX20024"
  896. depends on MFD_MAX77620
  897. help
  898. GPIO driver for MAX77620 and MAX20024 PMIC from Maxim Semiconductor.
  899. MAX77620 PMIC has 8 pins that can be configured as GPIOs. The
  900. driver also provides interrupt support for each of the gpios.
  901. Say yes here to enable the max77620 to be used as gpio controller.
  902. config GPIO_MSIC
  903. bool "Intel MSIC mixed signal gpio support"
  904. depends on (X86 || COMPILE_TEST) && MFD_INTEL_MSIC
  905. help
  906. Enable support for GPIO on intel MSIC controllers found in
  907. intel MID devices
  908. config GPIO_PALMAS
  909. bool "TI PALMAS series PMICs GPIO"
  910. depends on MFD_PALMAS
  911. help
  912. Select this option to enable GPIO driver for the TI PALMAS
  913. series chip family.
  914. config GPIO_RC5T583
  915. bool "RICOH RC5T583 GPIO"
  916. depends on MFD_RC5T583
  917. help
  918. Select this option to enable GPIO driver for the Ricoh RC5T583
  919. chip family.
  920. This driver provides the support for driving/reading the gpio pins
  921. of RC5T583 device through standard gpio library.
  922. config GPIO_STMPE
  923. bool "STMPE GPIOs"
  924. depends on MFD_STMPE
  925. depends on OF_GPIO
  926. select GPIOLIB_IRQCHIP
  927. help
  928. This enables support for the GPIOs found on the STMPE I/O
  929. Expanders.
  930. config GPIO_TC3589X
  931. bool "TC3589X GPIOs"
  932. depends on MFD_TC3589X
  933. depends on OF_GPIO
  934. select GPIOLIB_IRQCHIP
  935. help
  936. This enables support for the GPIOs found on the TC3589X
  937. I/O Expander.
  938. config GPIO_TIMBERDALE
  939. bool "Support for timberdale GPIO IP"
  940. depends on MFD_TIMBERDALE
  941. ---help---
  942. Add support for the GPIO IP in the timberdale FPGA.
  943. config GPIO_TPS65086
  944. tristate "TI TPS65086 GPO"
  945. depends on MFD_TPS65086
  946. help
  947. This driver supports the GPO on TI TPS65086x PMICs.
  948. config GPIO_TPS65218
  949. tristate "TPS65218 GPIO"
  950. depends on MFD_TPS65218
  951. help
  952. Select this option to enable GPIO driver for the TPS65218
  953. chip family.
  954. config GPIO_TPS6586X
  955. bool "TPS6586X GPIO"
  956. depends on MFD_TPS6586X
  957. help
  958. Select this option to enable GPIO driver for the TPS6586X
  959. chip family.
  960. config GPIO_TPS65910
  961. bool "TPS65910 GPIO"
  962. depends on MFD_TPS65910
  963. help
  964. Select this option to enable GPIO driver for the TPS65910
  965. chip family.
  966. config GPIO_TPS65912
  967. tristate "TI TPS65912 GPIO"
  968. depends on MFD_TPS65912
  969. help
  970. This driver supports TPS65912 gpio chip
  971. config GPIO_TPS68470
  972. bool "TPS68470 GPIO"
  973. depends on MFD_TPS68470
  974. help
  975. Select this option to enable GPIO driver for the TPS68470
  976. chip family.
  977. There are 7 GPIOs and few sensor related GPIOs supported
  978. by the TPS68470. While the 7 GPIOs can be configured as
  979. input or output as appropriate, the sensor related GPIOs
  980. are "output only" GPIOs.
  981. This driver config is bool, as the GPIO functionality
  982. of the TPS68470 must be available before dependent
  983. drivers are loaded.
  984. config GPIO_TWL4030
  985. tristate "TWL4030, TWL5030, and TPS659x0 GPIOs"
  986. depends on TWL4030_CORE
  987. help
  988. Say yes here to access the GPIO signals of various multi-function
  989. power management chips from Texas Instruments.
  990. config GPIO_TWL6040
  991. tristate "TWL6040 GPO"
  992. depends on TWL6040_CORE
  993. help
  994. Say yes here to access the GPO signals of twl6040
  995. audio chip from Texas Instruments.
  996. config GPIO_UCB1400
  997. tristate "Philips UCB1400 GPIO"
  998. depends on UCB1400_CORE
  999. help
  1000. This enables support for the Philips UCB1400 GPIO pins.
  1001. The UCB1400 is an AC97 audio codec.
  1002. config GPIO_WHISKEY_COVE
  1003. tristate "GPIO support for Whiskey Cove PMIC"
  1004. depends on (X86 || COMPILE_TEST) && INTEL_SOC_PMIC_BXTWC
  1005. select GPIOLIB_IRQCHIP
  1006. help
  1007. Support for GPIO pins on Whiskey Cove PMIC.
  1008. Say Yes if you have a Intel SoC based tablet with Whiskey Cove PMIC
  1009. inside.
  1010. This driver can also be built as a module. If so, the module will be
  1011. called gpio-wcove.
  1012. config GPIO_WM831X
  1013. tristate "WM831x GPIOs"
  1014. depends on MFD_WM831X
  1015. help
  1016. Say yes here to access the GPIO signals of WM831x power management
  1017. chips from Wolfson Microelectronics.
  1018. config GPIO_WM8350
  1019. tristate "WM8350 GPIOs"
  1020. depends on MFD_WM8350
  1021. help
  1022. Say yes here to access the GPIO signals of WM8350 power management
  1023. chips from Wolfson Microelectronics.
  1024. config GPIO_WM8994
  1025. tristate "WM8994 GPIOs"
  1026. depends on MFD_WM8994
  1027. help
  1028. Say yes here to access the GPIO signals of WM8994 audio hub
  1029. CODECs from Wolfson Microelectronics.
  1030. endmenu
  1031. menu "PCI GPIO expanders"
  1032. depends on PCI
  1033. config GPIO_AMD8111
  1034. tristate "AMD 8111 GPIO driver"
  1035. depends on X86 || COMPILE_TEST
  1036. help
  1037. The AMD 8111 south bridge contains 32 GPIO pins which can be used.
  1038. Note, that usually system firmware/ACPI handles GPIO pins on their
  1039. own and users might easily break their systems with uncarefull usage
  1040. of this driver!
  1041. If unsure, say N
  1042. config GPIO_BT8XX
  1043. tristate "BT8XX GPIO abuser"
  1044. depends on VIDEO_BT848=n
  1045. help
  1046. The BT8xx frame grabber chip has 24 GPIO pins that can be abused
  1047. as a cheap PCI GPIO card.
  1048. This chip can be found on Miro, Hauppauge and STB TV-cards.
  1049. The card needs to be physically altered for using it as a
  1050. GPIO card. For more information on how to build a GPIO card
  1051. from a BT8xx TV card, see the documentation file at
  1052. Documentation/bt8xxgpio.txt
  1053. If unsure, say N.
  1054. config GPIO_INTEL_MID
  1055. bool "Intel MID GPIO support"
  1056. depends on X86_INTEL_MID
  1057. select GPIOLIB_IRQCHIP
  1058. help
  1059. Say Y here to support Intel MID GPIO.
  1060. config GPIO_MERRIFIELD
  1061. tristate "Intel Merrifield GPIO support"
  1062. depends on X86_INTEL_MID
  1063. select GPIOLIB_IRQCHIP
  1064. help
  1065. Say Y here to support Intel Merrifield GPIO.
  1066. config GPIO_ML_IOH
  1067. tristate "OKI SEMICONDUCTOR ML7213 IOH GPIO support"
  1068. depends on X86 || COMPILE_TEST
  1069. select GENERIC_IRQ_CHIP
  1070. help
  1071. ML7213 is companion chip for Intel Atom E6xx series.
  1072. This driver can be used for OKI SEMICONDUCTOR ML7213 IOH(Input/Output
  1073. Hub) which is for IVI(In-Vehicle Infotainment) use.
  1074. This driver can access the IOH's GPIO device.
  1075. config GPIO_PCH
  1076. tristate "Intel EG20T PCH/LAPIS Semiconductor IOH(ML7223/ML7831) GPIO"
  1077. depends on X86_32 || MIPS || COMPILE_TEST
  1078. select GENERIC_IRQ_CHIP
  1079. help
  1080. This driver is for PCH(Platform controller Hub) GPIO of Intel Topcliff
  1081. which is an IOH(Input/Output Hub) for x86 embedded processor.
  1082. This driver can access PCH GPIO device.
  1083. This driver also can be used for LAPIS Semiconductor IOH(Input/
  1084. Output Hub), ML7223 and ML7831.
  1085. ML7223 IOH is for MP(Media Phone) use.
  1086. ML7831 IOH is for general purpose use.
  1087. ML7223/ML7831 is companion chip for Intel Atom E6xx series.
  1088. ML7223/ML7831 is completely compatible for Intel EG20T PCH.
  1089. config GPIO_PCI_IDIO_16
  1090. tristate "ACCES PCI-IDIO-16 GPIO support"
  1091. select GPIOLIB_IRQCHIP
  1092. help
  1093. Enables GPIO support for the ACCES PCI-IDIO-16. An interrupt is
  1094. generated when any of the inputs change state (low to high or high to
  1095. low). Input filter control is not supported by this driver, and the
  1096. input filters are deactivated by this driver.
  1097. config GPIO_PCIE_IDIO_24
  1098. tristate "ACCES PCIe-IDIO-24 GPIO support"
  1099. select GPIOLIB_IRQCHIP
  1100. help
  1101. Enables GPIO support for the ACCES PCIe-IDIO-24 family (PCIe-IDIO-24,
  1102. PCIe-IDI-24, PCIe-IDO-24, PCIe-IDIO-12). An interrupt is generated
  1103. when any of the inputs change state (low to high or high to low).
  1104. Input filter control is not supported by this driver, and the input
  1105. filters are deactivated by this driver.
  1106. config GPIO_RDC321X
  1107. tristate "RDC R-321x GPIO support"
  1108. select MFD_CORE
  1109. select MFD_RDC321X
  1110. help
  1111. Support for the RDC R321x SoC GPIOs over southbridge
  1112. PCI configuration space.
  1113. config GPIO_SODAVILLE
  1114. bool "Intel Sodaville GPIO support"
  1115. depends on X86 && OF
  1116. select GPIO_GENERIC
  1117. select GENERIC_IRQ_CHIP
  1118. help
  1119. Say Y here to support Intel Sodaville GPIO.
  1120. endmenu
  1121. menu "SPI GPIO expanders"
  1122. depends on SPI_MASTER
  1123. config GPIO_74X164
  1124. tristate "74x164 serial-in/parallel-out 8-bits shift register"
  1125. depends on OF_GPIO
  1126. help
  1127. Driver for 74x164 compatible serial-in/parallel-out 8-outputs
  1128. shift registers. This driver can be used to provide access
  1129. to more gpio outputs.
  1130. config GPIO_MAX3191X
  1131. tristate "Maxim MAX3191x industrial serializer"
  1132. select CRC8
  1133. help
  1134. GPIO driver for Maxim MAX31910, MAX31911, MAX31912, MAX31913,
  1135. MAX31953 and MAX31963 industrial serializer, a daisy-chainable
  1136. chip to make 8 digital 24V inputs available via SPI. Supports
  1137. CRC checksums to guard against electromagnetic interference,
  1138. as well as undervoltage and overtemperature detection.
  1139. config GPIO_MAX7301
  1140. tristate "Maxim MAX7301 GPIO expander"
  1141. select GPIO_MAX730X
  1142. help
  1143. GPIO driver for Maxim MAX7301 SPI-based GPIO expander.
  1144. config GPIO_MC33880
  1145. tristate "Freescale MC33880 high-side/low-side switch"
  1146. help
  1147. SPI driver for Freescale MC33880 high-side/low-side switch.
  1148. This provides GPIO interface supporting inputs and outputs.
  1149. config GPIO_PISOSR
  1150. tristate "Generic parallel-in/serial-out shift register"
  1151. help
  1152. GPIO driver for SPI compatible parallel-in/serial-out shift
  1153. registers. These are input only devices.
  1154. config GPIO_XRA1403
  1155. tristate "EXAR XRA1403 16-bit GPIO expander"
  1156. select REGMAP_SPI
  1157. help
  1158. GPIO driver for EXAR XRA1403 16-bit SPI-based GPIO expander.
  1159. endmenu
  1160. menu "USB GPIO expanders"
  1161. depends on USB
  1162. config GPIO_VIPERBOARD
  1163. tristate "Viperboard GPIO a & b support"
  1164. depends on MFD_VIPERBOARD
  1165. help
  1166. Say yes here to access the GPIO signals of Nano River
  1167. Technologies Viperboard. There are two GPIO chips on the
  1168. board: gpioa and gpiob.
  1169. See viperboard API specification and Nano
  1170. River Tech's viperboard.h for detailed meaning
  1171. of the module parameters.
  1172. endmenu
  1173. endif