Kconfig 29 KB

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