Kconfig 31 KB

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