5f0a96b044
This creates a CS5535/CS5536 GPIO driver which uses a gpio_chip backend (allowing GPIO users to use the generic GPIO API if desired) while also allowing architecture-specific users directly (via the cs5535_gpio_* functions). Tested on an OLPC machine. Some Leemotes also use CS5536 (with a mips cpu), which is why this is in drivers/gpio rather than arch/x86. Currently, it conflicts with older geode GPIO support; once MFGPT support is reworked to also be more generic, the older geode code will be removed. Signed-off-by: Andres Salomon <dilinger@collabora.co.uk> Cc: Takashi Iwai <tiwai@suse.de> Cc: Jordan Crouse <jordan@cosmicpenguin.net> Cc: David Brownell <david-b@pacbell.net> Reviewed-by: Alessandro Zummo <a.zummo@towertech.it> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
23 lines
796 B
Makefile
23 lines
796 B
Makefile
# gpio support: dedicated expander chips, etc
|
|
|
|
ccflags-$(CONFIG_DEBUG_GPIO) += -DDEBUG
|
|
|
|
obj-$(CONFIG_GPIOLIB) += gpiolib.o
|
|
|
|
obj-$(CONFIG_GPIO_ADP5520) += adp5520-gpio.o
|
|
obj-$(CONFIG_GPIO_LANGWELL) += langwell_gpio.o
|
|
obj-$(CONFIG_GPIO_MAX7301) += max7301.o
|
|
obj-$(CONFIG_GPIO_MAX732X) += max732x.o
|
|
obj-$(CONFIG_GPIO_MC33880) += mc33880.o
|
|
obj-$(CONFIG_GPIO_MCP23S08) += mcp23s08.o
|
|
obj-$(CONFIG_GPIO_PCA953X) += pca953x.o
|
|
obj-$(CONFIG_GPIO_PCF857X) += pcf857x.o
|
|
obj-$(CONFIG_GPIO_PL061) += pl061.o
|
|
obj-$(CONFIG_GPIO_TWL4030) += twl4030-gpio.o
|
|
obj-$(CONFIG_GPIO_UCB1400) += ucb1400_gpio.o
|
|
obj-$(CONFIG_GPIO_XILINX) += xilinx_gpio.o
|
|
obj-$(CONFIG_GPIO_CS5535) += cs5535-gpio.o
|
|
obj-$(CONFIG_GPIO_BT8XX) += bt8xxgpio.o
|
|
obj-$(CONFIG_GPIO_VR41XX) += vr41xx_giu.o
|
|
obj-$(CONFIG_GPIO_WM831X) += wm831x-gpio.o
|