450-gpio-nxp-74hc153-gpio-chip-driver.patch 872 B

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