Kconfig 27 KB

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