Kconfig 40 KB

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