Kconfig 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790
  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. config GPIO_DEVRES
  30. def_bool y
  31. depends on HAS_IOMEM
  32. menuconfig GPIOLIB
  33. bool "GPIO Support"
  34. depends on ARCH_WANT_OPTIONAL_GPIOLIB || ARCH_REQUIRE_GPIOLIB
  35. help
  36. This enables GPIO support through the generic GPIO library.
  37. You only need to enable this, if you also want to enable
  38. one or more of the GPIO drivers below.
  39. If unsure, say N.
  40. if GPIOLIB
  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 DEBUG_GPIO
  48. bool "Debug GPIO calls"
  49. depends on DEBUG_KERNEL
  50. help
  51. Say Y here to add some extra checks and diagnostics to GPIO calls.
  52. These checks help ensure that GPIOs have been properly initialized
  53. before they are used, and that sleeping calls are not made from
  54. non-sleeping contexts. They can make bitbanged serial protocols
  55. slower. The diagnostics help catch the type of setup errors
  56. that are most common when setting up new platforms or boards.
  57. config GPIO_SYSFS
  58. bool "/sys/class/gpio/... (sysfs interface)"
  59. depends on SYSFS
  60. help
  61. Say Y here to add a sysfs interface for GPIOs.
  62. This is mostly useful to work around omissions in a system's
  63. kernel support. Those are common in custom and semicustom
  64. hardware assembled using standard kernels with a minimum of
  65. custom patches. In those cases, userspace code may import
  66. a given GPIO from the kernel, if no kernel driver requested it.
  67. Kernel drivers may also request that a particular GPIO be
  68. exported to userspace; this can be useful when debugging.
  69. config GPIO_GENERIC
  70. tristate
  71. # put drivers in the right section, in alphabetical order
  72. config GPIO_DA9052
  73. tristate "Dialog DA9052 GPIO"
  74. depends on PMIC_DA9052
  75. help
  76. Say yes here to enable the GPIO driver for the DA9052 chip.
  77. config GPIO_DA9055
  78. tristate "Dialog Semiconductor DA9055 GPIO"
  79. depends on MFD_DA9055
  80. help
  81. Say yes here to enable the GPIO driver for the DA9055 chip.
  82. The Dialog DA9055 PMIC chip has 3 GPIO pins that can be
  83. be controller by this driver.
  84. If driver is built as a module it will be called gpio-da9055.
  85. config GPIO_MAX730X
  86. tristate
  87. comment "Memory mapped GPIO drivers:"
  88. config GPIO_CLPS711X
  89. tristate "CLPS711X GPIO support"
  90. depends on ARCH_CLPS711X
  91. select GPIO_GENERIC
  92. help
  93. Say yes here to support GPIO on CLPS711X SoCs.
  94. config GPIO_GENERIC_PLATFORM
  95. tristate "Generic memory-mapped GPIO controller support (MMIO platform device)"
  96. select GPIO_GENERIC
  97. help
  98. Say yes here to support basic platform_device memory-mapped GPIO controllers.
  99. config GPIO_IT8761E
  100. tristate "IT8761E GPIO support"
  101. depends on X86 # unconditional access to IO space.
  102. help
  103. Say yes here to support GPIO functionality of IT8761E super I/O chip.
  104. config GPIO_EM
  105. tristate "Emma Mobile GPIO"
  106. depends on ARM && OF_GPIO
  107. help
  108. Say yes here to support GPIO on Renesas Emma Mobile SoCs.
  109. config GPIO_EP93XX
  110. def_bool y
  111. depends on ARCH_EP93XX
  112. select GPIO_GENERIC
  113. config GPIO_MM_LANTIQ
  114. bool "Lantiq Memory mapped GPIOs"
  115. depends on LANTIQ && SOC_XWAY
  116. help
  117. This enables support for memory mapped GPIOs on the External Bus Unit
  118. (EBU) found on Lantiq SoCs. The gpios are output only as they are
  119. created by attaching a 16bit latch to the bus.
  120. config GPIO_F7188X
  121. tristate "F71882FG and F71889F GPIO support"
  122. depends on X86
  123. help
  124. This option enables support for GPIOs found on Fintek Super-I/O
  125. chips F71882FG and F71889F.
  126. To compile this driver as a module, choose M here: the module will
  127. be called f7188x-gpio.
  128. config GPIO_MPC5200
  129. def_bool y
  130. depends on PPC_MPC52xx
  131. config GPIO_MPC8XXX
  132. bool "MPC512x/MPC8xxx GPIO support"
  133. depends on PPC_MPC512x || PPC_MPC831x || PPC_MPC834x || PPC_MPC837x || \
  134. FSL_SOC_BOOKE || PPC_86xx
  135. help
  136. Say Y here if you're going to use hardware that connects to the
  137. MPC512x/831x/834x/837x/8572/8610 GPIOs.
  138. config GPIO_MSM_V1
  139. tristate "Qualcomm MSM GPIO v1"
  140. depends on GPIOLIB && ARCH_MSM && (ARCH_MSM7X00A || ARCH_MSM7X30 || ARCH_QSD8X50)
  141. help
  142. Say yes here to support the GPIO interface on ARM v6 based
  143. Qualcomm MSM chips. Most of the pins on the MSM can be
  144. selected for GPIO, and are controlled by this driver.
  145. config GPIO_MSM_V2
  146. tristate "Qualcomm MSM GPIO v2"
  147. depends on GPIOLIB && OF && ARCH_MSM
  148. help
  149. Say yes here to support the GPIO interface on ARM v7 based
  150. Qualcomm MSM chips. Most of the pins on the MSM can be
  151. selected for GPIO, and are controlled by this driver.
  152. config GPIO_MVEBU
  153. def_bool y
  154. depends on PLAT_ORION
  155. depends on OF
  156. select GPIO_GENERIC
  157. select GENERIC_IRQ_CHIP
  158. config GPIO_MXC
  159. def_bool y
  160. depends on ARCH_MXC
  161. select GPIO_GENERIC
  162. select GENERIC_IRQ_CHIP
  163. config GPIO_MXS
  164. def_bool y
  165. depends on ARCH_MXS
  166. select GPIO_GENERIC
  167. select GENERIC_IRQ_CHIP
  168. config GPIO_OCTEON
  169. tristate "Cavium OCTEON GPIO"
  170. depends on GPIOLIB && CAVIUM_OCTEON_SOC
  171. default y
  172. help
  173. Say yes here to support the on-chip GPIO lines on the OCTEON
  174. family of SOCs.
  175. config GPIO_PL061
  176. bool "PrimeCell PL061 GPIO support"
  177. depends on ARM && ARM_AMBA
  178. select GENERIC_IRQ_CHIP
  179. help
  180. Say yes here to support the PrimeCell PL061 GPIO device
  181. config GPIO_PXA
  182. bool "PXA GPIO support"
  183. depends on ARCH_PXA || ARCH_MMP
  184. help
  185. Say yes here to support the PXA GPIO device
  186. config GPIO_RCAR
  187. tristate "Renesas R-Car GPIO"
  188. depends on ARM
  189. help
  190. Say yes here to support GPIO on Renesas R-Car SoCs.
  191. config GPIO_SAMSUNG
  192. bool
  193. depends on PLAT_SAMSUNG
  194. help
  195. Legacy GPIO support. Use only for platforms without support for
  196. pinctrl.
  197. config GPIO_SPEAR_SPICS
  198. bool "ST SPEAr13xx SPI Chip Select as GPIO support"
  199. depends on PLAT_SPEAR
  200. select GENERIC_IRQ_CHIP
  201. help
  202. Say yes here to support ST SPEAr SPI Chip Select as GPIO device
  203. config GPIO_STA2X11
  204. bool "STA2x11/ConneXt GPIO support"
  205. depends on MFD_STA2X11
  206. select GENERIC_IRQ_CHIP
  207. help
  208. Say yes here to support the STA2x11/ConneXt GPIO device.
  209. The GPIO module has 128 GPIO pins with alternate functions.
  210. config GPIO_TS5500
  211. tristate "TS-5500 DIO blocks and compatibles"
  212. help
  213. This driver supports Digital I/O exposed by pin blocks found on some
  214. Technologic Systems platforms. It includes, but is not limited to, 3
  215. blocks of the TS-5500: DIO1, DIO2 and the LCD port, and the TS-5600
  216. LCD port.
  217. config GPIO_TZ1090
  218. bool "Toumaz Xenif TZ1090 GPIO support"
  219. depends on SOC_TZ1090
  220. select GENERIC_IRQ_CHIP
  221. default y
  222. help
  223. Say yes here to support Toumaz Xenif TZ1090 GPIOs.
  224. config GPIO_TZ1090_PDC
  225. bool "Toumaz Xenif TZ1090 PDC GPIO support"
  226. depends on SOC_TZ1090
  227. default y
  228. help
  229. Say yes here to support Toumaz Xenif TZ1090 PDC GPIOs.
  230. config GPIO_XILINX
  231. bool "Xilinx GPIO support"
  232. depends on PPC_OF || MICROBLAZE || ARCH_ZYNQ
  233. help
  234. Say yes here to support the Xilinx FPGA GPIO device
  235. config GPIO_VR41XX
  236. tristate "NEC VR4100 series General-purpose I/O Uint support"
  237. depends on CPU_VR41XX
  238. help
  239. Say yes here to support the NEC VR4100 series General-purpose I/O Uint
  240. config GPIO_SCH
  241. tristate "Intel SCH/TunnelCreek/Centerton GPIO"
  242. depends on PCI && X86
  243. select MFD_CORE
  244. select LPC_SCH
  245. help
  246. Say yes here to support GPIO interface on Intel Poulsbo SCH,
  247. Intel Tunnel Creek processor or Intel Centerton processor.
  248. The Intel SCH contains a total of 14 GPIO pins. Ten GPIOs are
  249. powered by the core power rail and are turned off during sleep
  250. modes (S3 and higher). The remaining four GPIOs are powered by
  251. the Intel SCH suspend power supply. These GPIOs remain
  252. active during S3. The suspend powered GPIOs can be used to wake the
  253. system from the Suspend-to-RAM state.
  254. The Intel Tunnel Creek processor has 5 GPIOs powered by the
  255. core power rail and 9 from suspend power supply.
  256. The Intel Centerton processor has a total of 30 GPIO pins.
  257. Twenty-one are powered by the core power rail and 9 from the
  258. suspend power supply.
  259. config GPIO_ICH
  260. tristate "Intel ICH GPIO"
  261. depends on PCI && X86
  262. select MFD_CORE
  263. select LPC_ICH
  264. help
  265. Say yes here to support the GPIO functionality of a number of Intel
  266. ICH-based chipsets. Currently supported devices: ICH6, ICH7, ICH8
  267. ICH9, ICH10, Series 5/3400 (eg Ibex Peak), Series 6/C200 (eg
  268. Cougar Point), NM10 (Tiger Point), and 3100 (Whitmore Lake).
  269. If unsure, say N.
  270. config GPIO_IOP
  271. tristate "Intel IOP GPIO"
  272. depends on ARM && (ARCH_IOP32X || ARCH_IOP33X)
  273. help
  274. Say yes here to support the GPIO functionality of a number of Intel
  275. IOP32X or IOP33X.
  276. If unsure, say N.
  277. config GPIO_VX855
  278. tristate "VIA VX855/VX875 GPIO"
  279. depends on PCI
  280. select MFD_CORE
  281. select MFD_VX855
  282. help
  283. Support access to the VX855/VX875 GPIO lines through the gpio library.
  284. This driver provides common support for accessing the device,
  285. additional drivers must be enabled in order to use the
  286. functionality of the device.
  287. config GPIO_GE_FPGA
  288. bool "GE FPGA based GPIO"
  289. depends on GE_FPGA
  290. help
  291. Support for common GPIO functionality provided on some GE Single Board
  292. Computers.
  293. This driver provides basic support (configure as input or output, read
  294. and write pin state) for GPIO implemented in a number of GE single
  295. board computers.
  296. config GPIO_LYNXPOINT
  297. bool "Intel Lynxpoint GPIO support"
  298. depends on ACPI && X86
  299. select IRQ_DOMAIN
  300. help
  301. driver for GPIO functionality on Intel Lynxpoint PCH chipset
  302. Requires ACPI device enumeration code to set up a platform device.
  303. config GPIO_GRGPIO
  304. tristate "Aeroflex Gaisler GRGPIO support"
  305. depends on OF
  306. select GPIO_GENERIC
  307. select IRQ_DOMAIN
  308. help
  309. Select this to support Aeroflex Gaisler GRGPIO cores from the GRLIB
  310. VHDL IP core library.
  311. comment "I2C GPIO expanders:"
  312. config GPIO_ARIZONA
  313. tristate "Wolfson Microelectronics Arizona class devices"
  314. depends on MFD_ARIZONA
  315. help
  316. Support for GPIOs on Wolfson Arizona class devices.
  317. config GPIO_MAX7300
  318. tristate "Maxim MAX7300 GPIO expander"
  319. depends on I2C
  320. select GPIO_MAX730X
  321. help
  322. GPIO driver for Maxim MAX7300 I2C-based GPIO expander.
  323. config GPIO_MAX732X
  324. tristate "MAX7319, MAX7320-7327 I2C Port Expanders"
  325. depends on I2C
  326. help
  327. Say yes here to support the MAX7319, MAX7320-7327 series of I2C
  328. Port Expanders. Each IO port on these chips has a fixed role of
  329. Input (designated by 'I'), Push-Pull Output ('O'), or Open-Drain
  330. Input and Output (designed by 'P'). The combinations are listed
  331. below:
  332. 8 bits: max7319 (8I), max7320 (8O), max7321 (8P),
  333. max7322 (4I4O), max7323 (4P4O)
  334. 16 bits: max7324 (8I8O), max7325 (8P8O),
  335. max7326 (4I12O), max7327 (4P12O)
  336. Board setup code must specify the model to use, and the start
  337. number for these GPIOs.
  338. config GPIO_MAX732X_IRQ
  339. bool "Interrupt controller support for MAX732x"
  340. depends on GPIO_MAX732X=y
  341. help
  342. Say yes here to enable the max732x to be used as an interrupt
  343. controller. It requires the driver to be built in the kernel.
  344. config GPIO_MC9S08DZ60
  345. bool "MX35 3DS BOARD MC9S08DZ60 GPIO functions"
  346. depends on I2C=y && MACH_MX35_3DS
  347. help
  348. Select this to enable the MC9S08DZ60 GPIO driver
  349. config GPIO_PCA953X
  350. tristate "PCA953x, PCA955x, PCA957x, TCA64xx, and MAX7310 I/O ports"
  351. depends on I2C
  352. help
  353. Say yes here to provide access to several register-oriented
  354. SMBus I/O expanders, made mostly by NXP or TI. Compatible
  355. models include:
  356. 4 bits: pca9536, pca9537
  357. 8 bits: max7310, max7315, pca6107, pca9534, pca9538, pca9554,
  358. pca9556, pca9557, pca9574, tca6408
  359. 16 bits: max7312, max7313, pca9535, pca9539, pca9555, pca9575,
  360. tca6416
  361. config GPIO_PCA953X_IRQ
  362. bool "Interrupt controller support for PCA953x"
  363. depends on GPIO_PCA953X=y
  364. help
  365. Say yes here to enable the pca953x to be used as an interrupt
  366. controller. It requires the driver to be built in the kernel.
  367. config GPIO_PCF857X
  368. tristate "PCF857x, PCA{85,96}7x, and MAX732[89] I2C GPIO expanders"
  369. depends on I2C
  370. select IRQ_DOMAIN
  371. help
  372. Say yes here to provide access to most "quasi-bidirectional" I2C
  373. GPIO expanders used for additional digital outputs or inputs.
  374. Most of these parts are from NXP, though TI is a second source for
  375. some of them. Compatible models include:
  376. 8 bits: pcf8574, pcf8574a, pca8574, pca8574a,
  377. pca9670, pca9672, pca9674, pca9674a,
  378. max7328, max7329
  379. 16 bits: pcf8575, pcf8575c, pca8575,
  380. pca9671, pca9673, pca9675
  381. Your board setup code will need to declare the expanders in
  382. use, and assign numbers to the GPIOs they expose. Those GPIOs
  383. can then be used from drivers and other kernel code, just like
  384. other GPIOs, but only accessible from task contexts.
  385. This driver provides an in-kernel interface to those GPIOs using
  386. platform-neutral GPIO calls.
  387. config GPIO_RC5T583
  388. bool "RICOH RC5T583 GPIO"
  389. depends on MFD_RC5T583
  390. help
  391. Select this option to enable GPIO driver for the Ricoh RC5T583
  392. chip family.
  393. This driver provides the support for driving/reading the gpio pins
  394. of RC5T583 device through standard gpio library.
  395. config GPIO_SX150X
  396. bool "Semtech SX150x I2C GPIO expander"
  397. depends on I2C=y
  398. default n
  399. help
  400. Say yes here to provide support for Semtech SX150-series I2C
  401. GPIO expanders. Compatible models include:
  402. 8 bits: sx1508q
  403. 16 bits: sx1509q
  404. config GPIO_STMPE
  405. bool "STMPE GPIOs"
  406. depends on MFD_STMPE
  407. help
  408. This enables support for the GPIOs found on the STMPE I/O
  409. Expanders.
  410. config GPIO_STP_XWAY
  411. bool "XWAY STP GPIOs"
  412. depends on SOC_XWAY
  413. help
  414. This enables support for the Serial To Parallel (STP) unit found on
  415. XWAY SoC. The STP allows the SoC to drive a shift registers cascade,
  416. that can be up to 24 bit. This peripheral is aimed at driving leds.
  417. Some of the gpios/leds can be auto updated by the soc with dsl and
  418. phy status.
  419. config GPIO_TC3589X
  420. bool "TC3589X GPIOs"
  421. depends on MFD_TC3589X
  422. help
  423. This enables support for the GPIOs found on the TC3589X
  424. I/O Expander.
  425. config GPIO_TPS65912
  426. tristate "TI TPS65912 GPIO"
  427. depends on (MFD_TPS65912_I2C || MFD_TPS65912_SPI)
  428. help
  429. This driver supports TPS65912 gpio chip
  430. config GPIO_TWL4030
  431. tristate "TWL4030, TWL5030, and TPS659x0 GPIOs"
  432. depends on TWL4030_CORE
  433. help
  434. Say yes here to access the GPIO signals of various multi-function
  435. power management chips from Texas Instruments.
  436. config GPIO_TWL6040
  437. tristate "TWL6040 GPO"
  438. depends on TWL6040_CORE
  439. help
  440. Say yes here to access the GPO signals of twl6040
  441. audio chip from Texas Instruments.
  442. config GPIO_WM831X
  443. tristate "WM831x GPIOs"
  444. depends on MFD_WM831X
  445. help
  446. Say yes here to access the GPIO signals of WM831x power management
  447. chips from Wolfson Microelectronics.
  448. config GPIO_WM8350
  449. tristate "WM8350 GPIOs"
  450. depends on MFD_WM8350
  451. help
  452. Say yes here to access the GPIO signals of WM8350 power management
  453. chips from Wolfson Microelectronics.
  454. config GPIO_WM8994
  455. tristate "WM8994 GPIOs"
  456. depends on MFD_WM8994
  457. help
  458. Say yes here to access the GPIO signals of WM8994 audio hub
  459. CODECs from Wolfson Microelectronics.
  460. config GPIO_ADP5520
  461. tristate "GPIO Support for ADP5520 PMIC"
  462. depends on PMIC_ADP5520
  463. help
  464. This option enables support for on-chip GPIO found
  465. on Analog Devices ADP5520 PMICs.
  466. config GPIO_ADP5588
  467. tristate "ADP5588 I2C GPIO expander"
  468. depends on I2C
  469. help
  470. This option enables support for 18 GPIOs found
  471. on Analog Devices ADP5588 GPIO Expanders.
  472. config GPIO_ADP5588_IRQ
  473. bool "Interrupt controller support for ADP5588"
  474. depends on GPIO_ADP5588=y
  475. help
  476. Say yes here to enable the adp5588 to be used as an interrupt
  477. controller. It requires the driver to be built in the kernel.
  478. config GPIO_ADNP
  479. tristate "Avionic Design N-bit GPIO expander"
  480. depends on I2C && OF_GPIO
  481. help
  482. This option enables support for N GPIOs found on Avionic Design
  483. I2C GPIO expanders. The register space will be extended by powers
  484. of two, so the controller will need to accommodate for that. For
  485. example: if a controller provides 48 pins, 6 registers will be
  486. enough to represent all pins, but the driver will assume a
  487. register layout for 64 pins (8 registers).
  488. comment "PCI GPIO expanders:"
  489. config GPIO_CS5535
  490. tristate "AMD CS5535/CS5536 GPIO support"
  491. depends on PCI && X86 && MFD_CS5535
  492. help
  493. The AMD CS5535 and CS5536 southbridges support 28 GPIO pins that
  494. can be used for quite a number of things. The CS5535/6 is found on
  495. AMD Geode and Lemote Yeeloong devices.
  496. If unsure, say N.
  497. config GPIO_BT8XX
  498. tristate "BT8XX GPIO abuser"
  499. depends on PCI && VIDEO_BT848=n
  500. help
  501. The BT8xx frame grabber chip has 24 GPIO pins than can be abused
  502. as a cheap PCI GPIO card.
  503. This chip can be found on Miro, Hauppauge and STB TV-cards.
  504. The card needs to be physically altered for using it as a
  505. GPIO card. For more information on how to build a GPIO card
  506. from a BT8xx TV card, see the documentation file at
  507. Documentation/bt8xxgpio.txt
  508. If unsure, say N.
  509. config GPIO_AMD8111
  510. tristate "AMD 8111 GPIO driver"
  511. depends on PCI
  512. help
  513. The AMD 8111 south bridge contains 32 GPIO pins which can be used.
  514. Note, that usually system firmware/ACPI handles GPIO pins on their
  515. own and users might easily break their systems with uncarefull usage
  516. of this driver!
  517. If unsure, say N
  518. config GPIO_LANGWELL
  519. bool "Intel Langwell/Penwell GPIO support"
  520. depends on PCI && X86
  521. select IRQ_DOMAIN
  522. help
  523. Say Y here to support Intel Langwell/Penwell GPIO.
  524. config GPIO_PCH
  525. tristate "Intel EG20T PCH/LAPIS Semiconductor IOH(ML7223/ML7831) GPIO"
  526. depends on PCI && X86
  527. select GENERIC_IRQ_CHIP
  528. help
  529. This driver is for PCH(Platform controller Hub) GPIO of Intel Topcliff
  530. which is an IOH(Input/Output Hub) for x86 embedded processor.
  531. This driver can access PCH GPIO device.
  532. This driver also can be used for LAPIS Semiconductor IOH(Input/
  533. Output Hub), ML7223 and ML7831.
  534. ML7223 IOH is for MP(Media Phone) use.
  535. ML7831 IOH is for general purpose use.
  536. ML7223/ML7831 is companion chip for Intel Atom E6xx series.
  537. ML7223/ML7831 is completely compatible for Intel EG20T PCH.
  538. config GPIO_ML_IOH
  539. tristate "OKI SEMICONDUCTOR ML7213 IOH GPIO support"
  540. depends on PCI
  541. select GENERIC_IRQ_CHIP
  542. help
  543. ML7213 is companion chip for Intel Atom E6xx series.
  544. This driver can be used for OKI SEMICONDUCTOR ML7213 IOH(Input/Output
  545. Hub) which is for IVI(In-Vehicle Infotainment) use.
  546. This driver can access the IOH's GPIO device.
  547. config GPIO_SODAVILLE
  548. bool "Intel Sodaville GPIO support"
  549. depends on X86 && PCI && OF
  550. select GPIO_GENERIC
  551. select GENERIC_IRQ_CHIP
  552. help
  553. Say Y here to support Intel Sodaville GPIO.
  554. config GPIO_TIMBERDALE
  555. bool "Support for timberdale GPIO IP"
  556. depends on MFD_TIMBERDALE && HAS_IOMEM
  557. ---help---
  558. Add support for the GPIO IP in the timberdale FPGA.
  559. config GPIO_RDC321X
  560. tristate "RDC R-321x GPIO support"
  561. depends on PCI
  562. select MFD_CORE
  563. select MFD_RDC321X
  564. help
  565. Support for the RDC R321x SoC GPIOs over southbridge
  566. PCI configuration space.
  567. comment "SPI GPIO expanders:"
  568. config GPIO_MAX7301
  569. tristate "Maxim MAX7301 GPIO expander"
  570. depends on SPI_MASTER
  571. select GPIO_MAX730X
  572. help
  573. GPIO driver for Maxim MAX7301 SPI-based GPIO expander.
  574. config GPIO_MCP23S08
  575. tristate "Microchip MCP23xxx I/O expander"
  576. depends on (SPI_MASTER && !I2C) || I2C
  577. help
  578. SPI/I2C driver for Microchip MCP23S08/MCP23S17/MCP23008/MCP23017
  579. I/O expanders.
  580. This provides a GPIO interface supporting inputs and outputs.
  581. config GPIO_MC33880
  582. tristate "Freescale MC33880 high-side/low-side switch"
  583. depends on SPI_MASTER
  584. help
  585. SPI driver for Freescale MC33880 high-side/low-side switch.
  586. This provides GPIO interface supporting inputs and outputs.
  587. config GPIO_74X164
  588. tristate "74x164 serial-in/parallel-out 8-bits shift register"
  589. depends on SPI_MASTER
  590. help
  591. Platform driver for 74x164 compatible serial-in/parallel-out
  592. 8-outputs shift registers. This driver can be used to provide access
  593. to more gpio outputs.
  594. comment "AC97 GPIO expanders:"
  595. config GPIO_UCB1400
  596. tristate "Philips UCB1400 GPIO"
  597. depends on UCB1400_CORE
  598. help
  599. This enables support for the Philips UCB1400 GPIO pins.
  600. The UCB1400 is an AC97 audio codec.
  601. comment "LPC GPIO expanders:"
  602. config GPIO_KEMPLD
  603. tristate "Kontron ETX / COMexpress GPIO"
  604. depends on MFD_KEMPLD
  605. help
  606. This enables support for the PLD GPIO interface on some Kontron ETX
  607. and COMexpress (ETXexpress) modules.
  608. This driver can also be built as a module. If so, the module will be
  609. called gpio-kempld.
  610. comment "MODULbus GPIO expanders:"
  611. config GPIO_JANZ_TTL
  612. tristate "Janz VMOD-TTL Digital IO Module"
  613. depends on MFD_JANZ_CMODIO
  614. help
  615. This enables support for the Janz VMOD-TTL Digital IO module.
  616. This driver provides support for driving the pins in output
  617. mode only. Input mode is not supported.
  618. config GPIO_PALMAS
  619. bool "TI PALMAS series PMICs GPIO"
  620. depends on MFD_PALMAS
  621. help
  622. Select this option to enable GPIO driver for the TI PALMAS
  623. series chip family.
  624. config GPIO_TPS6586X
  625. bool "TPS6586X GPIO"
  626. depends on MFD_TPS6586X
  627. help
  628. Select this option to enable GPIO driver for the TPS6586X
  629. chip family.
  630. config GPIO_TPS65910
  631. bool "TPS65910 GPIO"
  632. depends on MFD_TPS65910
  633. help
  634. Select this option to enable GPIO driver for the TPS65910
  635. chip family.
  636. config GPIO_MSIC
  637. bool "Intel MSIC mixed signal gpio support"
  638. depends on MFD_INTEL_MSIC
  639. help
  640. Enable support for GPIO on intel MSIC controllers found in
  641. intel MID devices
  642. config GPIO_BCM_KONA
  643. bool "Broadcom Kona GPIO"
  644. depends on OF_GPIO
  645. help
  646. Turn on GPIO support for Broadcom "Kona" chips.
  647. comment "USB GPIO expanders:"
  648. config GPIO_VIPERBOARD
  649. tristate "Viperboard GPIO a & b support"
  650. depends on MFD_VIPERBOARD && USB
  651. help
  652. Say yes here to access the GPIO signals of Nano River
  653. Technologies Viperboard. There are two GPIO chips on the
  654. board: gpioa and gpiob.
  655. See viperboard API specification and Nano
  656. River Tech's viperboard.h for detailed meaning
  657. of the module parameters.
  658. endif