Kconfig 40 KB

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