Root/target/linux/ar71xx/patches-2.6.39/206-nxp-74hc153-gpio-chip-driver.patch

1--- a/drivers/gpio/Kconfig
2+++ b/drivers/gpio/Kconfig
3@@ -419,4 +419,13 @@ config AB8500_GPIO
4     depends on AB8500_CORE && BROKEN
5     help
6       Select this to enable the AB8500 IC GPIO driver
7+
8+comment "Other GPIO expanders"
9+
10+config GPIO_NXP_74HC153
11+ tristate "NXP 74HC153 Dual 4-input multiplexer"
12+ help
13+ Platform driver for NXP 74HC153 Dual 4-input Multiplexer. This
14+ provides a GPIO interface supporting input mode only.
15+
16 endif
17--- a/drivers/gpio/Makefile
18+++ b/drivers/gpio/Makefile
19@@ -18,6 +18,7 @@ obj-$(CONFIG_GPIO_MAX7301) += max7301.o
20 obj-$(CONFIG_GPIO_MAX732X) += max732x.o
21 obj-$(CONFIG_GPIO_MC33880) += mc33880.o
22 obj-$(CONFIG_GPIO_MCP23S08) += mcp23s08.o
23+obj-$(CONFIG_GPIO_NXP_74HC153) += nxp_74hc153.o
24 obj-$(CONFIG_GPIO_74X164) += 74x164.o
25 obj-$(CONFIG_GPIO_PCA953X) += pca953x.o
26 obj-$(CONFIG_GPIO_PCF857X) += pcf857x.o
27

Archive Download this file



interactive