Skip to contentSkip to conversation

gpio: Add JZ47xx GPIO driver

PATCH New Marek Vasut 1 participant 1 message May 26, 2016 GPIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gpio: Add JZ47xx GPIO driver

From: Paul Burton <[email protected]>

Add primitive GPIO controller driver for the JZ47xx SoC.

Cc Daniel Schwierzeck <[email protected]>
Cc Paul Burton <[email protected]>
---
 drivers/gpio/Kconfig       |  8 +++++
 drivers/gpio/Makefile      |  1 +
 drivers/gpio/gpio-jz47xx.c | 79 ++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 88 insertions(+)
 create mode 100644 drivers/gpio/gpio-jz47xx.c
drivers/gpio/Kconfig +8 -0
index 93a7e8c..7140dbe 100644
@@ -173,4 +173,12 @@ config DM_PCA953X
 
 	  Now, max 24 bits chips and PCA953X compatible chips are
 	  supported
+
+config JZ47XX_GPIO
+	bool "Ingenic JZ47xx GPIO driver"
+	depends on ARCH_JZ47XX
+	default y
+	help
+	  Supports GPIO access on Ingenic JZ47xx SoCs.
+
 endmenu
drivers/gpio/Makefile +1 -0
index ddec1ef..3338517 100644
@@ -55,3 +55,4 @@ obj-$(CONFIG_PIC32_GPIO)	+= pic32_gpio.o
 obj-$(CONFIG_MVEBU_GPIO)	+= mvebu_gpio.o
 obj-$(CONFIG_MSM_GPIO)		+= msm_gpio.o
 obj-$(CONFIG_PM8916_GPIO)	+= pm8916_gpio.o
+obj-$(CONFIG_JZ47XX_GPIO)	+= gpio-jz47xx.o
drivers/gpio/gpio-jz47xx.c new file +79 -0

79 lines not on this page · raw message

Signature · 1 line
2.7.0