gpio: npcm: Add support for Nuvoton NPCM SoCs
Subsystems (2)
PATCH 1/1 gpio: npcm: Add support for Nuvoton NPCM SoCs
Add Nuvoton BMC NPCM7xx/NPCM8xx gpio driver
Signed-off-by Stanley Chu <[email protected]>
--- drivers/gpio/Kconfig | 7 +++ drivers/gpio/Makefile | 1 + drivers/gpio/npcm_gpio.c | 123 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 131 insertions(+) create mode 100644 drivers/gpio/npcm_gpio.c
drivers/gpio/Kconfig +7 -0
@@ -247,6 +247,13 @@ config MXS_GPIO help Support GPIO controllers on i.MX23 and i.MX28 platforms +config NPCM_GPIO + bool "Nuvoton NPCM GPIO driver" + depends on DM_GPIO + help + Support GPIO controllers on Nuvovon NPCM SoCs. + NPCM7xx/NPCM8xx contain 8 GPIO banks, each bank contains 32 pins. + config OMAP_GPIO bool "TI OMAP GPIO driver" depends on ARCH_OMAP2PLUS
drivers/gpio/Makefile +1 -0
@@ -27,6 +27,7 @@ obj-$(CONFIG_MARVELL_GPIO) += mvgpio.o obj-$(CONFIG_MCP230XX_GPIO) += mcp230xx_gpio.o obj-$(CONFIG_MXC_GPIO) += mxc_gpio.o obj-$(CONFIG_MXS_GPIO) += mxs_gpio.o +obj-$(CONFIG_NPCM_GPIO) += npcm_gpio.o obj-$(CONFIG_PCA953X) += pca953x.o obj-$(CONFIG_PCA9698) += pca9698.o obj-$(CONFIG_ROCKCHIP_GPIO) += rk_gpio.o
drivers/gpio/npcm_gpio.c new file +123 -0
123 lines not on this page · raw message
Signature · 1 line
2.17.1
Quoted 3 lines · Stanley Chu
Add Nuvoton BMC NPCM7xx/NPCM8xx gpio driver
Signed-off-by Stanley Chu <[email protected]>
Applied to u-boot/master, thanks!
Signature · 1 line
Tom