Root/target/linux/ar71xx/patches-3.2/450-gpio-nxp-74hc153-gpio-chip-driver.patch

1--- a/drivers/gpio/Kconfig
2+++ b/drivers/gpio/Kconfig
3@@ -489,4 +489,13 @@ config GPIO_TPS65910
4     help
5       Select this option to enable GPIO driver for the TPS65910
6       chip family.
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@@ -35,6 +35,7 @@ obj-$(CONFIG_GPIO_MSM_V2) += gpio-msm-v2
20 obj-$(CONFIG_GPIO_MXC) += gpio-mxc.o
21 obj-$(CONFIG_GPIO_MXS) += gpio-mxs.o
22 obj-$(CONFIG_PLAT_NOMADIK) += gpio-nomadik.o
23+obj-$(CONFIG_GPIO_NXP_74HC153) += gpio-nxp-74hc153.o
24 obj-$(CONFIG_ARCH_OMAP) += gpio-omap.o
25 obj-$(CONFIG_GPIO_PCA953X) += gpio-pca953x.o
26 obj-$(CONFIG_GPIO_PCF857X) += gpio-pcf857x.o
27

Archive Download this file



interactive