2011-05-20 14:40:19 +08:00
|
|
|
# generic gpio support: platform drivers, dedicated expander chips, etc
|
2008-02-05 14:28:17 +08:00
|
|
|
|
|
|
|
ccflags-$(CONFIG_DEBUG_GPIO) += -DDEBUG
|
|
|
|
|
2013-01-18 15:57:46 +08:00
|
|
|
obj-$(CONFIG_GPIO_DEVRES) += devres.o
|
|
|
|
obj-$(CONFIG_GPIOLIB) += gpiolib.o
|
2012-04-08 04:31:33 +08:00
|
|
|
obj-$(CONFIG_OF_GPIO) += gpiolib-of.o
|
2012-11-30 19:37:36 +08:00
|
|
|
obj-$(CONFIG_GPIO_ACPI) += gpiolib-acpi.o
|
2008-02-05 14:28:20 +08:00
|
|
|
|
2011-06-05 08:38:28 +08:00
|
|
|
# Device drivers. Generally keep list sorted alphabetically
|
|
|
|
obj-$(CONFIG_GPIO_GENERIC) += gpio-generic.o
|
|
|
|
|
|
|
|
obj-$(CONFIG_GPIO_74X164) += gpio-74x164.o
|
2012-09-18 16:57:10 +08:00
|
|
|
obj-$(CONFIG_GPIO_ADNP) += gpio-adnp.o
|
2011-06-05 08:38:28 +08:00
|
|
|
obj-$(CONFIG_GPIO_ADP5520) += gpio-adp5520.o
|
|
|
|
obj-$(CONFIG_GPIO_ADP5588) += gpio-adp5588.o
|
2012-06-01 21:36:31 +08:00
|
|
|
obj-$(CONFIG_GPIO_AMD8111) += gpio-amd8111.o
|
2012-06-23 20:29:25 +08:00
|
|
|
obj-$(CONFIG_GPIO_ARIZONA) += gpio-arizona.o
|
2013-09-11 02:07:01 +08:00
|
|
|
obj-$(CONFIG_GPIO_BCM_KONA) += gpio-bcm-kona.o
|
2011-06-05 08:38:28 +08:00
|
|
|
obj-$(CONFIG_GPIO_BT8XX) += gpio-bt8xx.o
|
2012-10-10 00:05:56 +08:00
|
|
|
obj-$(CONFIG_GPIO_CLPS711X) += gpio-clps711x.o
|
2011-06-05 08:38:28 +08:00
|
|
|
obj-$(CONFIG_GPIO_CS5535) += gpio-cs5535.o
|
2011-07-06 18:32:13 +08:00
|
|
|
obj-$(CONFIG_GPIO_DA9052) += gpio-da9052.o
|
2012-09-14 21:30:16 +08:00
|
|
|
obj-$(CONFIG_GPIO_DA9055) += gpio-da9055.o
|
2013-11-21 23:34:36 +08:00
|
|
|
obj-$(CONFIG_GPIO_DAVINCI) += gpio-davinci.o
|
2012-05-17 14:22:23 +08:00
|
|
|
obj-$(CONFIG_GPIO_EM) += gpio-em.o
|
2011-06-02 01:09:19 +08:00
|
|
|
obj-$(CONFIG_GPIO_EP93XX) += gpio-ep93xx.o
|
2013-08-30 04:56:56 +08:00
|
|
|
obj-$(CONFIG_GPIO_F7188X) += gpio-f7188x.o
|
2012-03-13 01:12:58 +08:00
|
|
|
obj-$(CONFIG_GPIO_GE_FPGA) += gpio-ge.o
|
2013-04-17 20:36:50 +08:00
|
|
|
obj-$(CONFIG_GPIO_GRGPIO) += gpio-grgpio.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 22:48:24 +08:00
|
|
|
obj-$(CONFIG_GPIO_ICH) += gpio-ich.o
|
2013-09-09 17:59:51 +08:00
|
|
|
obj-$(CONFIG_GPIO_IOP) += gpio-iop.o
|
2011-06-05 08:38:28 +08:00
|
|
|
obj-$(CONFIG_GPIO_IT8761E) += gpio-it8761e.o
|
|
|
|
obj-$(CONFIG_GPIO_JANZ_TTL) += gpio-janz-ttl.o
|
2013-06-24 12:00:05 +08:00
|
|
|
obj-$(CONFIG_GPIO_KEMPLD) += gpio-kempld.o
|
2011-12-05 21:47:48 +08:00
|
|
|
obj-$(CONFIG_ARCH_KS8695) += gpio-ks8695.o
|
2013-10-05 04:01:41 +08:00
|
|
|
obj-$(CONFIG_GPIO_INTEL_MID) += gpio-intel-mid.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 10:18:42 +08:00
|
|
|
obj-$(CONFIG_GPIO_LP3943) += gpio-lp3943.o
|
2011-08-22 15:44:45 +08:00
|
|
|
obj-$(CONFIG_ARCH_LPC32XX) += gpio-lpc32xx.o
|
2012-12-12 23:42:38 +08:00
|
|
|
obj-$(CONFIG_GPIO_LYNXPOINT) += gpio-lynxpoint.o
|
2011-06-05 08:38:28 +08: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
|
|
|
|
obj-$(CONFIG_GPIO_MC33880) += gpio-mc33880.o
|
2012-01-30 14:31:20 +08:00
|
|
|
obj-$(CONFIG_GPIO_MC9S08DZ60) += gpio-mc9s08dz60.o
|
2011-06-05 08:38:28 +08:00
|
|
|
obj-$(CONFIG_GPIO_MCP23S08) += gpio-mcp23s08.o
|
|
|
|
obj-$(CONFIG_GPIO_ML_IOH) += gpio-ml-ioh.o
|
2012-05-12 00:48:39 +08:00
|
|
|
obj-$(CONFIG_GPIO_MM_LANTIQ) += gpio-mm-lantiq.o
|
2013-11-29 19:11:34 +08:00
|
|
|
obj-$(CONFIG_GPIO_MOXART) += gpio-moxart.o
|
2011-07-07 01:54:19 +08:00
|
|
|
obj-$(CONFIG_GPIO_MPC5200) += gpio-mpc5200.o
|
2011-09-21 18:49:20 +08:00
|
|
|
obj-$(CONFIG_GPIO_MPC8XXX) += gpio-mpc8xxx.o
|
2012-04-24 18:02:49 +08:00
|
|
|
obj-$(CONFIG_GPIO_MSIC) += gpio-msic.o
|
2011-08-01 22:16:05 +08:00
|
|
|
obj-$(CONFIG_GPIO_MSM_V1) += gpio-msm-v1.o
|
|
|
|
obj-$(CONFIG_GPIO_MSM_V2) += gpio-msm-v2.o
|
2012-09-20 04:52:58 +08:00
|
|
|
obj-$(CONFIG_GPIO_MVEBU) += gpio-mvebu.o
|
2011-06-06 00:07:54 +08:00
|
|
|
obj-$(CONFIG_GPIO_MXC) += gpio-mxc.o
|
2011-06-06 23:37:58 +08:00
|
|
|
obj-$(CONFIG_GPIO_MXS) += gpio-mxs.o
|
2013-07-30 05:29:10 +08:00
|
|
|
obj-$(CONFIG_GPIO_OCTEON) += gpio-octeon.o
|
2011-06-05 08:38:28 +08:00
|
|
|
obj-$(CONFIG_ARCH_OMAP) += gpio-omap.o
|
|
|
|
obj-$(CONFIG_GPIO_PCA953X) += gpio-pca953x.o
|
|
|
|
obj-$(CONFIG_GPIO_PCF857X) += gpio-pcf857x.o
|
|
|
|
obj-$(CONFIG_GPIO_PCH) += gpio-pch.o
|
|
|
|
obj-$(CONFIG_GPIO_PL061) += gpio-pl061.o
|
2011-10-17 20:37:52 +08:00
|
|
|
obj-$(CONFIG_GPIO_PXA) += gpio-pxa.o
|
2012-05-14 15:16:12 +08:00
|
|
|
obj-$(CONFIG_GPIO_RC5T583) += gpio-rc5t583.o
|
2011-06-05 08:38:28 +08:00
|
|
|
obj-$(CONFIG_GPIO_RDC321X) += gpio-rdc321x.o
|
2013-03-13 19:32:13 +08:00
|
|
|
obj-$(CONFIG_GPIO_RCAR) += gpio-rcar.o
|
2013-06-19 00:22:20 +08:00
|
|
|
obj-$(CONFIG_GPIO_SAMSUNG) += gpio-samsung.o
|
2011-08-22 15:49:07 +08:00
|
|
|
obj-$(CONFIG_ARCH_SA1100) += gpio-sa1100.o
|
2011-06-05 08:38:28 +08:00
|
|
|
obj-$(CONFIG_GPIO_SCH) += gpio-sch.o
|
2013-12-05 07:56:43 +08:00
|
|
|
obj-$(CONFIG_GPIO_SCH311X) += gpio-sch311x.o
|
2011-06-27 15:26:23 +08:00
|
|
|
obj-$(CONFIG_GPIO_SODAVILLE) += gpio-sodaville.o
|
2012-11-16 13:15:25 +08:00
|
|
|
obj-$(CONFIG_GPIO_SPEAR_SPICS) += gpio-spear-spics.o
|
2012-04-12 16:48:55 +08:00
|
|
|
obj-$(CONFIG_GPIO_STA2X11) += gpio-sta2x11.o
|
2011-06-05 08:38:28 +08:00
|
|
|
obj-$(CONFIG_GPIO_STMPE) += gpio-stmpe.o
|
2012-05-12 00:48:39 +08:00
|
|
|
obj-$(CONFIG_GPIO_STP_XWAY) += gpio-stp-xway.o
|
2011-06-05 08:38:28 +08:00
|
|
|
obj-$(CONFIG_GPIO_SX150X) += gpio-sx150x.o
|
2013-10-08 20:25:22 +08:00
|
|
|
obj-$(CONFIG_GPIO_TB10X) += gpio-tb10x.o
|
2011-06-05 08:38:28 +08:00
|
|
|
obj-$(CONFIG_GPIO_TC3589X) += gpio-tc3589x.o
|
2011-06-16 04:52:43 +08:00
|
|
|
obj-$(CONFIG_ARCH_TEGRA) += gpio-tegra.o
|
2011-06-05 08:38:28 +08:00
|
|
|
obj-$(CONFIG_GPIO_TIMBERDALE) += gpio-timberdale.o
|
2011-08-22 15:40:10 +08:00
|
|
|
obj-$(CONFIG_ARCH_DAVINCI_TNETV107X) += gpio-tnetv107x.o
|
2013-01-03 18:46:59 +08:00
|
|
|
obj-$(CONFIG_GPIO_PALMAS) += gpio-palmas.o
|
2012-07-18 14:20:48 +08:00
|
|
|
obj-$(CONFIG_GPIO_TPS6586X) += gpio-tps6586x.o
|
2011-06-05 08:38:28 +08:00
|
|
|
obj-$(CONFIG_GPIO_TPS65910) += gpio-tps65910.o
|
2011-06-10 03:50:19 +08:00
|
|
|
obj-$(CONFIG_GPIO_TPS65912) += gpio-tps65912.o
|
2012-12-08 10:36:34 +08:00
|
|
|
obj-$(CONFIG_GPIO_TS5500) += gpio-ts5500.o
|
2011-06-05 08:38:28 +08:00
|
|
|
obj-$(CONFIG_GPIO_TWL4030) += gpio-twl4030.o
|
2012-08-16 20:13:15 +08:00
|
|
|
obj-$(CONFIG_GPIO_TWL6040) += gpio-twl6040.o
|
2013-06-25 22:27:43 +08:00
|
|
|
obj-$(CONFIG_GPIO_TZ1090) += gpio-tz1090.o
|
2013-06-25 22:27:44 +08:00
|
|
|
obj-$(CONFIG_GPIO_TZ1090_PDC) += gpio-tz1090-pdc.o
|
2011-06-05 08:38:28 +08:00
|
|
|
obj-$(CONFIG_GPIO_UCB1400) += gpio-ucb1400.o
|
2012-11-05 22:48:24 +08:00
|
|
|
obj-$(CONFIG_GPIO_VIPERBOARD) += gpio-viperboard.o
|
2011-06-05 08:38:28 +08:00
|
|
|
obj-$(CONFIG_GPIO_VR41XX) += gpio-vr41xx.o
|
|
|
|
obj-$(CONFIG_GPIO_VX855) += gpio-vx855.o
|
|
|
|
obj-$(CONFIG_GPIO_WM831X) += gpio-wm831x.o
|
|
|
|
obj-$(CONFIG_GPIO_WM8350) += gpio-wm8350.o
|
|
|
|
obj-$(CONFIG_GPIO_WM8994) += gpio-wm8994.o
|
|
|
|
obj-$(CONFIG_GPIO_XILINX) += gpio-xilinx.o
|
2013-12-12 17:18:41 +08:00
|
|
|
obj-$(CONFIG_GPIO_XTENSA) += gpio-xtensa.o
|