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

12345678910111213141516171819202122232425
  1. --- a/drivers/gpio/Kconfig
  2. +++ b/drivers/gpio/Kconfig
  3. @@ -1298,4 +1298,12 @@ config GPIO_VIPERBOARD
  4. endmenu
  5. +comment "Other GPIO expanders"
  6. +
  7. +config GPIO_NXP_74HC153
  8. + tristate "NXP 74HC153 Dual 4-input multiplexer"
  9. + help
  10. + Platform driver for NXP 74HC153 Dual 4-input Multiplexer. This
  11. + provides a GPIO interface supporting input mode only.
  12. +
  13. endif
  14. --- a/drivers/gpio/Makefile
  15. +++ b/drivers/gpio/Makefile
  16. @@ -89,6 +89,7 @@ obj-$(CONFIG_GPIO_MSIC) += gpio-msic.o
  17. obj-$(CONFIG_GPIO_MVEBU) += gpio-mvebu.o
  18. obj-$(CONFIG_GPIO_MXC) += gpio-mxc.o
  19. obj-$(CONFIG_GPIO_MXS) += gpio-mxs.o
  20. +obj-$(CONFIG_GPIO_NXP_74HC153) += gpio-nxp-74hc153.o
  21. obj-$(CONFIG_GPIO_OCTEON) += gpio-octeon.o
  22. obj-$(CONFIG_GPIO_OMAP) += gpio-omap.o
  23. obj-$(CONFIG_GPIO_PCA953X) += gpio-pca953x.o