2011-05-20 10:40:19 +04:00
|
|
|
# generic gpio support: platform drivers, dedicated expander chips, etc
|
2008-02-05 09:28:17 +03:00
|
|
|
|
|
|
|
ccflags-$(CONFIG_DEBUG_GPIO) += -DDEBUG
|
|
|
|
|
2016-11-16 01:39:02 +03:00
|
|
|
obj-$(CONFIG_GPIOLIB) += devres.o
|
2013-01-18 11:57:46 +04:00
|
|
|
obj-$(CONFIG_GPIOLIB) += gpiolib.o
|
2014-07-01 09:45:16 +04:00
|
|
|
obj-$(CONFIG_GPIOLIB) += gpiolib-legacy.o
|
2016-10-21 17:21:31 +03:00
|
|
|
obj-$(CONFIG_GPIOLIB) += gpiolib-devprop.o
|
2012-04-08 00:31:33 +04:00
|
|
|
obj-$(CONFIG_OF_GPIO) += gpiolib-of.o
|
2014-07-01 09:45:15 +04:00
|
|
|
obj-$(CONFIG_GPIO_SYSFS) += gpiolib-sysfs.o
|
2012-11-30 15:37:36 +04:00
|
|
|
obj-$(CONFIG_GPIO_ACPI) += gpiolib-acpi.o
|
2008-02-05 09:28:20 +03:00
|
|
|
|
2011-06-05 04:38:28 +04:00
|
|
|
# Device drivers. Generally keep list sorted alphabetically
|
|
|
|
obj-$(CONFIG_GPIO_GENERIC) += gpio-generic.o
|
|
|
|
|
2016-04-28 12:05:12 +03:00
|
|
|
# directly supported by gpio-generic
|
|
|
|
gpio-generic-$(CONFIG_GPIO_GENERIC) += gpio-mmio.o
|
|
|
|
|
2016-01-20 21:50:11 +03:00
|
|
|
obj-$(CONFIG_GPIO_104_DIO_48E) += gpio-104-dio-48e.o
|
2015-10-19 19:59:14 +03:00
|
|
|
obj-$(CONFIG_GPIO_104_IDIO_16) += gpio-104-idio-16.o
|
2015-11-23 20:54:50 +03:00
|
|
|
obj-$(CONFIG_GPIO_104_IDI_48) += gpio-104-idi-48.o
|
2011-06-05 04:38:28 +04:00
|
|
|
obj-$(CONFIG_GPIO_74X164) += gpio-74x164.o
|
2014-10-03 11:31:57 +04:00
|
|
|
obj-$(CONFIG_GPIO_74XX_MMIO) += gpio-74xx-mmio.o
|
2012-09-18 12:57:10 +04:00
|
|
|
obj-$(CONFIG_GPIO_ADNP) += gpio-adnp.o
|
2011-06-05 04:38:28 +04:00
|
|
|
obj-$(CONFIG_GPIO_ADP5520) += gpio-adp5520.o
|
|
|
|
obj-$(CONFIG_GPIO_ADP5588) += gpio-adp5588.o
|
2015-02-24 12:53:03 +03:00
|
|
|
obj-$(CONFIG_GPIO_ALTERA) += gpio-altera.o
|
2016-06-02 20:52:24 +03:00
|
|
|
obj-$(CONFIG_GPIO_ALTERA_A10SR) += gpio-altera-a10sr.o
|
2012-06-01 17:36:31 +04:00
|
|
|
obj-$(CONFIG_GPIO_AMD8111) += gpio-amd8111.o
|
2015-10-19 06:07:37 +03:00
|
|
|
obj-$(CONFIG_GPIO_AMDPT) += gpio-amdpt.o
|
2012-06-23 16:29:25 +04:00
|
|
|
obj-$(CONFIG_GPIO_ARIZONA) += gpio-arizona.o
|
2016-01-28 22:44:29 +03:00
|
|
|
obj-$(CONFIG_GPIO_ATH79) += gpio-ath79.o
|
2016-08-30 10:54:27 +03:00
|
|
|
obj-$(CONFIG_GPIO_ASPEED) += gpio-aspeed.o
|
2016-07-20 17:11:36 +03:00
|
|
|
obj-$(CONFIG_GPIO_AXP209) += gpio-axp209.o
|
2013-09-10 22:07:01 +04:00
|
|
|
obj-$(CONFIG_GPIO_BCM_KONA) += gpio-bcm-kona.o
|
2015-05-29 05:14:05 +03:00
|
|
|
obj-$(CONFIG_GPIO_BRCMSTB) += gpio-brcmstb.o
|
2011-06-05 04:38:28 +04:00
|
|
|
obj-$(CONFIG_GPIO_BT8XX) += gpio-bt8xx.o
|
2012-10-09 20:05:56 +04:00
|
|
|
obj-$(CONFIG_GPIO_CLPS711X) += gpio-clps711x.o
|
2011-06-05 04:38:28 +04:00
|
|
|
obj-$(CONFIG_GPIO_CS5535) += gpio-cs5535.o
|
2014-06-03 09:26:04 +04:00
|
|
|
obj-$(CONFIG_GPIO_CRYSTAL_COVE) += gpio-crystalcove.o
|
2011-07-06 14:32:13 +04:00
|
|
|
obj-$(CONFIG_GPIO_DA9052) += gpio-da9052.o
|
2012-09-14 17:30:16 +04:00
|
|
|
obj-$(CONFIG_GPIO_DA9055) += gpio-da9055.o
|
2013-11-21 19:34:36 +04:00
|
|
|
obj-$(CONFIG_GPIO_DAVINCI) += gpio-davinci.o
|
2014-11-06 16:48:05 +03:00
|
|
|
obj-$(CONFIG_GPIO_DLN2) += gpio-dln2.o
|
2014-02-26 03:01:01 +04:00
|
|
|
obj-$(CONFIG_GPIO_DWAPB) += gpio-dwapb.o
|
2012-05-17 10:22:23 +04:00
|
|
|
obj-$(CONFIG_GPIO_EM) += gpio-em.o
|
2011-06-01 21:09:19 +04:00
|
|
|
obj-$(CONFIG_GPIO_EP93XX) += gpio-ep93xx.o
|
2015-06-06 23:30:40 +03:00
|
|
|
obj-$(CONFIG_GPIO_ETRAXFS) += gpio-etraxfs.o
|
2013-08-30 00:56:56 +04:00
|
|
|
obj-$(CONFIG_GPIO_F7188X) += gpio-f7188x.o
|
2012-03-12 21:12:58 +04:00
|
|
|
obj-$(CONFIG_GPIO_GE_FPGA) += gpio-ge.o
|
2016-08-02 16:57:47 +03:00
|
|
|
obj-$(CONFIG_GPIO_GPIO_MM) += gpio-gpio-mm.o
|
2013-04-17 16:36:50 +04:00
|
|
|
obj-$(CONFIG_GPIO_GRGPIO) += gpio-grgpio.o
|
2016-09-16 14:48:12 +03:00
|
|
|
obj-$(CONFIG_HTC_EGPIO) += gpio-htc-egpio.o
|
gpio: Add support for Intel ICHx/3100/Series[56] GPIO
This driver works on many Intel chipsets, including the ICH6, ICH7,
ICH8, ICH9, ICH10, 3100, Series 5/3400 (Ibex Peak), Series 6/C200
(Cougar Point), and NM10 (Tiger Point).
Additional Intel chipsets should be easily supported if needed, eg the
ICH1-5, EP80579, etc.
Tested on QM67 (Cougar Point), QM57 (Ibex Peak), 3100 (Whitmore Lake),
and NM10 (Tiger Point).
Includes work from Jean Delvare:
- Resource leak removal during module load/unload
- GPIO API bit value enforcement
Also includes code cleanup from Guenter Roeck and Grant Likely.
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Signed-off-by: Aaron Sierra <asierra@xes-inc.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2012-04-18 18:48:24 +04:00
|
|
|
obj-$(CONFIG_GPIO_ICH) += gpio-ich.o
|
2013-09-09 13:59:51 +04:00
|
|
|
obj-$(CONFIG_GPIO_IOP) += gpio-iop.o
|
2015-09-21 19:24:24 +03:00
|
|
|
obj-$(CONFIG_GPIO_IT87) += gpio-it87.o
|
2011-06-05 04:38:28 +04:00
|
|
|
obj-$(CONFIG_GPIO_JANZ_TTL) += gpio-janz-ttl.o
|
2013-06-24 08:00:05 +04:00
|
|
|
obj-$(CONFIG_GPIO_KEMPLD) += gpio-kempld.o
|
2011-12-05 17:47:48 +04:00
|
|
|
obj-$(CONFIG_ARCH_KS8695) += gpio-ks8695.o
|
2013-10-05 00:01:41 +04:00
|
|
|
obj-$(CONFIG_GPIO_INTEL_MID) += gpio-intel-mid.o
|
2015-04-01 05:20:08 +03:00
|
|
|
obj-$(CONFIG_GPIO_LOONGSON) += gpio-loongson.o
|
gpio: add LP3943 I2C GPIO expander driver
This is one of LP3943 MFD driver.
LP3943 is configurable as a GPIO expander, up to 16 GPIOs.
* Application note: how to configure LP3943 as a GPIO expander
http://www.ti.com/lit/an/snva287a/snva287a.pdf
* Supported GPIO controller operations
request, free, direction_input, direction_output, get and set
* GPIO direction register not supported
LP3943 doesn't have the GPIO direction register. It only provides input and
output status registers.
So, private data for the direction should be handled manually.
This variable is updated whenever the direction is changed and
used in 'get' operation.
* Pin assignment
A driver data, 'pin_used' is checked when a GPIO is requested.
If the GPIO is already assigned, then returns as failure.
If the GPIO is available, 'pin_used' is set.
When the GPIO is not used anymore, then it is cleared.
It is defined as unsigned long type for atomic bit operation APIs,
but only LSB 16bits are used because LP3943 has 16 outputs.
Signed-off-by: Milo Kim <milo.kim@ti.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
2013-12-06 06:18:42 +04:00
|
|
|
obj-$(CONFIG_GPIO_LP3943) += gpio-lp3943.o
|
2015-05-03 00:11:34 +03:00
|
|
|
obj-$(CONFIG_GPIO_LPC18XX) += gpio-lpc18xx.o
|
2011-08-22 11:44:45 +04:00
|
|
|
obj-$(CONFIG_ARCH_LPC32XX) += gpio-lpc32xx.o
|
2016-08-31 11:58:11 +03:00
|
|
|
obj-$(CONFIG_GPIO_LP873X) += gpio-lp873x.o
|
2012-12-12 19:42:38 +04:00
|
|
|
obj-$(CONFIG_GPIO_LYNXPOINT) += gpio-lynxpoint.o
|
2011-06-05 04:38:28 +04:00
|
|
|
obj-$(CONFIG_GPIO_MAX730X) += gpio-max730x.o
|
|
|
|
obj-$(CONFIG_GPIO_MAX7300) += gpio-max7300.o
|
|
|
|
obj-$(CONFIG_GPIO_MAX7301) += gpio-max7301.o
|
|
|
|
obj-$(CONFIG_GPIO_MAX732X) += gpio-max732x.o
|
2016-05-13 08:19:14 +03:00
|
|
|
obj-$(CONFIG_GPIO_MAX77620) += gpio-max77620.o
|
2015-01-19 13:35:53 +03:00
|
|
|
obj-$(CONFIG_GPIO_MB86S7X) += gpio-mb86s7x.o
|
2016-02-29 21:44:43 +03:00
|
|
|
obj-$(CONFIG_GPIO_MENZ127) += gpio-menz127.o
|
2016-07-08 14:08:23 +03:00
|
|
|
obj-$(CONFIG_GPIO_MERRIFIELD) += gpio-merrifield.o
|
2011-06-05 04:38:28 +04:00
|
|
|
obj-$(CONFIG_GPIO_MC33880) += gpio-mc33880.o
|
2012-01-30 10:31:20 +04:00
|
|
|
obj-$(CONFIG_GPIO_MC9S08DZ60) += gpio-mc9s08dz60.o
|
2011-06-05 04:38:28 +04:00
|
|
|
obj-$(CONFIG_GPIO_MCP23S08) += gpio-mcp23s08.o
|
|
|
|
obj-$(CONFIG_GPIO_ML_IOH) += gpio-ml-ioh.o
|
2012-05-11 20:48:39 +04:00
|
|
|
obj-$(CONFIG_GPIO_MM_LANTIQ) += gpio-mm-lantiq.o
|
2016-08-31 12:45:46 +03:00
|
|
|
obj-$(CONFIG_GPIO_MOCKUP) += gpio-mockup.o
|
2013-11-29 15:11:34 +04:00
|
|
|
obj-$(CONFIG_GPIO_MOXART) += gpio-moxart.o
|
2011-07-06 21:54:19 +04:00
|
|
|
obj-$(CONFIG_GPIO_MPC5200) += gpio-mpc5200.o
|
2011-09-21 14:49:20 +04:00
|
|
|
obj-$(CONFIG_GPIO_MPC8XXX) += gpio-mpc8xxx.o
|
2012-04-24 14:02:49 +04:00
|
|
|
obj-$(CONFIG_GPIO_MSIC) += gpio-msic.o
|
2012-09-20 00:52:58 +04:00
|
|
|
obj-$(CONFIG_GPIO_MVEBU) += gpio-mvebu.o
|
2011-06-05 20:07:54 +04:00
|
|
|
obj-$(CONFIG_GPIO_MXC) += gpio-mxc.o
|
2011-06-06 19:37:58 +04:00
|
|
|
obj-$(CONFIG_GPIO_MXS) += gpio-mxs.o
|
2013-07-30 01:29:10 +04:00
|
|
|
obj-$(CONFIG_GPIO_OCTEON) += gpio-octeon.o
|
2014-04-06 18:58:15 +04:00
|
|
|
obj-$(CONFIG_GPIO_OMAP) += gpio-omap.o
|
2011-06-05 04:38:28 +04:00
|
|
|
obj-$(CONFIG_GPIO_PCA953X) += gpio-pca953x.o
|
|
|
|
obj-$(CONFIG_GPIO_PCF857X) += gpio-pcf857x.o
|
|
|
|
obj-$(CONFIG_GPIO_PCH) += gpio-pch.o
|
2016-01-25 19:37:31 +03:00
|
|
|
obj-$(CONFIG_GPIO_PISOSR) += gpio-pisosr.o
|
2011-06-05 04:38:28 +04:00
|
|
|
obj-$(CONFIG_GPIO_PL061) += gpio-pl061.o
|
2011-10-17 16:37:52 +04:00
|
|
|
obj-$(CONFIG_GPIO_PXA) += gpio-pxa.o
|
2012-05-14 11:16:12 +04:00
|
|
|
obj-$(CONFIG_GPIO_RC5T583) += gpio-rc5t583.o
|
2011-06-05 04:38:28 +04:00
|
|
|
obj-$(CONFIG_GPIO_RDC321X) += gpio-rdc321x.o
|
2013-03-13 15:32:13 +04:00
|
|
|
obj-$(CONFIG_GPIO_RCAR) += gpio-rcar.o
|
2011-08-22 11:49:07 +04:00
|
|
|
obj-$(CONFIG_ARCH_SA1100) += gpio-sa1100.o
|
2011-06-05 04:38:28 +04:00
|
|
|
obj-$(CONFIG_GPIO_SCH) += gpio-sch.o
|
2013-12-05 03:56:43 +04:00
|
|
|
obj-$(CONFIG_GPIO_SCH311X) += gpio-sch311x.o
|
2011-06-27 11:26:23 +04:00
|
|
|
obj-$(CONFIG_GPIO_SODAVILLE) += gpio-sodaville.o
|
2012-11-16 09:15:25 +04:00
|
|
|
obj-$(CONFIG_GPIO_SPEAR_SPICS) += gpio-spear-spics.o
|
2012-04-12 12:48:55 +04:00
|
|
|
obj-$(CONFIG_GPIO_STA2X11) += gpio-sta2x11.o
|
2011-06-05 04:38:28 +04:00
|
|
|
obj-$(CONFIG_GPIO_STMPE) += gpio-stmpe.o
|
2012-05-11 20:48:39 +04:00
|
|
|
obj-$(CONFIG_GPIO_STP_XWAY) += gpio-stp-xway.o
|
2014-03-11 21:55:14 +04:00
|
|
|
obj-$(CONFIG_GPIO_SYSCON) += gpio-syscon.o
|
2013-10-08 16:25:22 +04:00
|
|
|
obj-$(CONFIG_GPIO_TB10X) += gpio-tb10x.o
|
2011-06-05 04:38:28 +04:00
|
|
|
obj-$(CONFIG_GPIO_TC3589X) += gpio-tc3589x.o
|
2016-02-24 22:54:32 +03:00
|
|
|
obj-$(CONFIG_GPIO_TEGRA) += gpio-tegra.o
|
2011-06-05 04:38:28 +04:00
|
|
|
obj-$(CONFIG_GPIO_TIMBERDALE) += gpio-timberdale.o
|
2013-01-03 14:46:59 +04:00
|
|
|
obj-$(CONFIG_GPIO_PALMAS) += gpio-palmas.o
|
2016-01-25 19:14:12 +03:00
|
|
|
obj-$(CONFIG_GPIO_TPIC2810) += gpio-tpic2810.o
|
2016-02-06 19:12:10 +03:00
|
|
|
obj-$(CONFIG_GPIO_TPS65086) += gpio-tps65086.o
|
2016-01-30 20:06:44 +03:00
|
|
|
obj-$(CONFIG_GPIO_TPS65218) += gpio-tps65218.o
|
2012-07-18 10:20:48 +04:00
|
|
|
obj-$(CONFIG_GPIO_TPS6586X) += gpio-tps6586x.o
|
2011-06-05 04:38:28 +04:00
|
|
|
obj-$(CONFIG_GPIO_TPS65910) += gpio-tps65910.o
|
2011-06-09 23:50:19 +04:00
|
|
|
obj-$(CONFIG_GPIO_TPS65912) += gpio-tps65912.o
|
2016-01-13 19:57:43 +03:00
|
|
|
obj-$(CONFIG_GPIO_TS4800) += gpio-ts4800.o
|
2016-08-12 18:16:49 +03:00
|
|
|
obj-$(CONFIG_GPIO_TS4900) += gpio-ts4900.o
|
2012-12-08 06:36:34 +04:00
|
|
|
obj-$(CONFIG_GPIO_TS5500) += gpio-ts5500.o
|
2011-06-05 04:38:28 +04:00
|
|
|
obj-$(CONFIG_GPIO_TWL4030) += gpio-twl4030.o
|
2012-08-16 16:13:15 +04:00
|
|
|
obj-$(CONFIG_GPIO_TWL6040) += gpio-twl6040.o
|
2013-06-25 18:27:43 +04:00
|
|
|
obj-$(CONFIG_GPIO_TZ1090) += gpio-tz1090.o
|
2013-06-25 18:27:44 +04:00
|
|
|
obj-$(CONFIG_GPIO_TZ1090_PDC) += gpio-tz1090-pdc.o
|
2011-06-05 04:38:28 +04:00
|
|
|
obj-$(CONFIG_GPIO_UCB1400) += gpio-ucb1400.o
|
2014-10-16 23:47:58 +04:00
|
|
|
obj-$(CONFIG_GPIO_VF610) += gpio-vf610.o
|
2012-11-05 18:48:24 +04:00
|
|
|
obj-$(CONFIG_GPIO_VIPERBOARD) += gpio-viperboard.o
|
2011-06-05 04:38:28 +04:00
|
|
|
obj-$(CONFIG_GPIO_VR41XX) += gpio-vr41xx.o
|
|
|
|
obj-$(CONFIG_GPIO_VX855) += gpio-vx855.o
|
2016-07-26 00:59:38 +03:00
|
|
|
obj-$(CONFIG_GPIO_WHISKEY_COVE) += gpio-wcove.o
|
2011-06-05 04:38:28 +04:00
|
|
|
obj-$(CONFIG_GPIO_WM831X) += gpio-wm831x.o
|
|
|
|
obj-$(CONFIG_GPIO_WM8350) += gpio-wm8350.o
|
|
|
|
obj-$(CONFIG_GPIO_WM8994) += gpio-wm8994.o
|
2016-01-20 21:45:33 +03:00
|
|
|
obj-$(CONFIG_GPIO_WS16C48) += gpio-ws16c48.o
|
2014-07-31 23:03:25 +04:00
|
|
|
obj-$(CONFIG_GPIO_XGENE) += gpio-xgene.o
|
2015-01-16 10:34:19 +03:00
|
|
|
obj-$(CONFIG_GPIO_XGENE_SB) += gpio-xgene-sb.o
|
2011-06-05 04:38:28 +04:00
|
|
|
obj-$(CONFIG_GPIO_XILINX) += gpio-xilinx.o
|
2015-04-28 17:40:45 +03:00
|
|
|
obj-$(CONFIG_GPIO_XLP) += gpio-xlp.o
|
2013-12-12 13:18:41 +04:00
|
|
|
obj-$(CONFIG_GPIO_XTENSA) += gpio-xtensa.o
|
2014-02-24 23:54:58 +04:00
|
|
|
obj-$(CONFIG_GPIO_ZEVIO) += gpio-zevio.o
|
2014-07-08 15:02:35 +04:00
|
|
|
obj-$(CONFIG_GPIO_ZYNQ) += gpio-zynq.o
|
2015-06-29 05:35:57 +03:00
|
|
|
obj-$(CONFIG_GPIO_ZX) += gpio-zx.o
|
2016-04-06 15:34:53 +03:00
|
|
|
obj-$(CONFIG_GPIO_LOONGSON1) += gpio-loongson1.o
|