Skip to contentSkip to conversation

gpio: tca642x: Add the tca642x gpio expander driver

PATCH New Dan Murphy 1 participant 1 message Jul 8, 2013 GPIO

lore
Share & tools
lore

Dan Murphy

author
#0 lore raw

PATCH 1/1 gpio: tca642x: Add the tca642x gpio expander driver

Add the tca642x gpio expander driver

---
 drivers/gpio/Makefile  |    1 +
 drivers/gpio/tca642x.c |  312 ++++++++++++++++++++++++++++++++++++++++++++++++
 include/tca642x.h      |   64 ++++++++++
 3 files changed, 377 insertions(+)
 create mode 100644 drivers/gpio/tca642x.c
 create mode 100644 include/tca642x.h
drivers/gpio/Makefile +1 -0
index f77c1ec..7e74dfe 100644
@@ -49,6 +49,7 @@ COBJS-$(CONFIG_BCM2835_GPIO)	+= bcm2835_gpio.o
 COBJS-$(CONFIG_S3C2440_GPIO)	+= s3c2440_gpio.o
 COBJS-$(CONFIG_XILINX_GPIO)	+= xilinx_gpio.o
 COBJS-$(CONFIG_ADI_GPIO2)	+= adi_gpio2.o
+COBJS-$(CONFIG_TCA642X)		+= tca642x.o
 
 COBJS	:= $(COBJS-y)
 SRCS 	:= $(COBJS:.o=.c)
drivers/gpio/tca642x.c new file +312 -0

312 lines not on this page · raw message

include/tca642x.h new file +64 -0

64 lines not on this page · raw message

Signature · 1 line
1.7.9.5