3cf5755dfcf9bdd850690000ae9290f265beed4e
[openwrt/staging/chunkeey.git] / target / linux / ar71xx / patches-4.1 / 450-gpio-nxp-74hc153-gpio-chip-driver.patch
1 --- a/drivers/gpio/Kconfig
2 +++ b/drivers/gpio/Kconfig
3 @@ -905,4 +905,12 @@ config GPIO_VIPERBOARD
4 River Tech's viperboard.h for detailed meaning
5 of the module parameters.
6
7 +comment "Other GPIO expanders"
8 +
9 +config GPIO_NXP_74HC153
10 + tristate "NXP 74HC153 Dual 4-input multiplexer"
11 + help
12 + Platform driver for NXP 74HC153 Dual 4-input Multiplexer. This
13 + provides a GPIO interface supporting input mode only.
14 +
15 endif
16 --- a/drivers/gpio/Makefile
17 +++ b/drivers/gpio/Makefile
18 @@ -60,6 +60,7 @@ obj-$(CONFIG_GPIO_MSM_V2) += gpio-msm-v2
19 obj-$(CONFIG_GPIO_MVEBU) += gpio-mvebu.o
20 obj-$(CONFIG_GPIO_MXC) += gpio-mxc.o
21 obj-$(CONFIG_GPIO_MXS) += gpio-mxs.o
22 +obj-$(CONFIG_GPIO_NXP_74HC153) += gpio-nxp-74hc153.o
23 obj-$(CONFIG_GPIO_OCTEON) += gpio-octeon.o
24 obj-$(CONFIG_GPIO_OMAP) += gpio-omap.o
25 obj-$(CONFIG_GPIO_PCA953X) += gpio-pca953x.o