Skip to contentSkip to conversation

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

PATCH In review Greg Gallagher 2 participants 2 messages May 31, 2020 – Jun 2, 2020

lore
Share & tools
lore
#0 lore raw

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

From: Joshua Karch <[email protected]>

---
 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 23 lines · Greg Gallagher via Xenomai

From: Joshua Karch <[email protected]>

---
 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
 

Massaged and applied.

Thanks,
Jan

Signature · 2 lines
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux