Kconfig 26 KB

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