Kconfig 34 KB

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