Skip to contentSkip to conversation

Enable zynq gpio and xilinx gpio support for the Zynq MP platform.

PATCH In review Greg Gallagher 2 participants 3 messages May 29, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Enable zynq gpio and xilinx gpio support for the Zynq MP platform.

---
 kernel/drivers/gpio/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
kernel/drivers/gpio/Kconfig +2 -2
index dbc862754..44f41688c 100644
@@ -34,7 +34,7 @@ config XENO_DRIVERS_GPIO_SUN8I_H3
 	SoC, as found on the NanoPI boards.
 
 config XENO_DRIVERS_GPIO_ZYNQ7000
-	depends on ARCH_ZYNQ
+	depends on ARCH_ZYNQ || ARCH_ZYNQMP
 	tristate "Support for Zynq7000 GPIOs"
 	help
 
@@ -42,7 +42,7 @@ config XENO_DRIVERS_GPIO_ZYNQ7000
 	Xilinx's Zynq7000 SoC.
 
 config XENO_DRIVERS_GPIO_XILINX
-	depends on ARCH_ZYNQ
+	depends on ARCH_ZYNQ || ARCH_ZYNQMP
 	tristate "Support for Xilinx GPIOs"
 	help
 
Signature · 1 line
2.25.1
#1 lore raw
Quoted 2 lines · Greg Gallagher via Xenomai

Did you mean "Reported-by: Joshua" or should "From:" be rather Josh?

Jan

Quoted 27 lines
---
 kernel/drivers/gpio/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
kernel/drivers/gpio/Kconfig +2 -2
index dbc862754..44f41688c 100644
@@ -34,7 +34,7 @@ config XENO_DRIVERS_GPIO_SUN8I_H3
 	SoC, as found on the NanoPI boards.
 
 config XENO_DRIVERS_GPIO_ZYNQ7000
-	depends on ARCH_ZYNQ
+	depends on ARCH_ZYNQ || ARCH_ZYNQMP
 	tristate "Support for Zynq7000 GPIOs"
 	help
 
@@ -42,7 +42,7 @@ config XENO_DRIVERS_GPIO_ZYNQ7000
 	Xilinx's Zynq7000 SoC.
 
 config XENO_DRIVERS_GPIO_XILINX
-	depends on ARCH_ZYNQ
+	depends on ARCH_ZYNQ || ARCH_ZYNQMP
 	tristate "Support for Xilinx GPIOs"
 	help
 
Signature · 2 lines
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux
#2 lore raw
Quoted 8 lines · Jan Kiszka
Quoted 2 lines · Greg Gallagher via Xenomai

Did you mean "Reported-by: Joshua" or should "From:" be rather Josh?

Jan

Good catch, I based this off of code that was sent via email, so it should be from Josh signed off by me. I'll fix that.

thanks

Greg

Quoted 32 lines
Quoted 20 lines
---
 kernel/drivers/gpio/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
kernel/drivers/gpio/Kconfig +1 -1
index dbc862754..44f41688c 100644
@@ -34,7 +34,7 @@ config XENO_DRIVERS_GPIO_SUN8I_H3
      SoC, as found on the NanoPI boards.
 
 config XENO_DRIVERS_GPIO_ZYNQ7000
-     depends on ARCH_ZYNQ
+     depends on ARCH_ZYNQ || ARCH_ZYNQMP
      tristate "Support for Zynq7000 GPIOs"
      help
 

kernel/drivers/gpio/Kconfig config XENO_DRIVERS_GPIO_ZYNQ7000 · line 48

Quoted 8 lines
kernel/drivers/gpio/Kconfig +1 -1
@@ -42,7 +42,7 @@ config XENO_DRIVERS_GPIO_ZYNQ7000
      Xilinx's Zynq7000 SoC.
 
 config XENO_DRIVERS_GPIO_XILINX
-     depends on ARCH_ZYNQ
+     depends on ARCH_ZYNQ || ARCH_ZYNQMP
      tristate "Support for Xilinx GPIOs"
      help
 

--
Siemens AG, Corporate Technology, CT RDA IOT SES-DE Corporate Competence Center Embedded Linux