Skip to contentSkip to conversation

gpio: xlp: Remove Netlogic XLP variants

PATCH In review Rob Herring 2 participants 4 messages Nov 30, 2021 – Dec 1, 2021 GPIO

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 gpio: xlp: Remove Netlogic XLP variants

Netlogic XLP was removed in commit 95b8a5e0111a ("MIPS: Remove NETLOGIC support"). With those gone, the single platform left to support is Cavium ThunderX2. Remove all the Netlogic variants and DT support.

For simplicity, the existing kconfig name is retained.

Cc Linus Walleij <[email protected]>
Cc Bartosz Golaszewski <[email protected]>

---
v2:
- Fix !OF and ACPI build errors

 drivers/gpio/Kconfig    |  10 ++-
 drivers/gpio/gpio-xlp.c | 147 +++-------------------------------------
 2 files changed, 15 insertions(+), 142 deletions(-)
drivers/gpio/Kconfig +4 -6
index 072ed610f9c6..e05f226b3d5d 100644
@@ -730,14 +730,12 @@ config GPIO_XILINX
 	  Say yes here to support the Xilinx FPGA GPIO device.
 
 config GPIO_XLP
-	tristate "Netlogic XLP GPIO support"
-	depends on OF_GPIO && (CPU_XLP || ARCH_THUNDER2 || COMPILE_TEST)
+	tristate "Cavium ThunderX2 GPIO support"
+	depends on ARCH_THUNDER2 || COMPILE_TEST
 	select GPIOLIB_IRQCHIP
 	help
-	  This driver provides support for GPIO interface on Netlogic XLP MIPS64
-	  SoCs. Currently supported XLP variants are XLP8XX, XLP3XX, XLP2XX,
-	  XLP9XX and XLP5XX. The same GPIO controller block is also present in
-	  Cavium's ThunderX2 CN99XX SoCs.
+	  This driver provides support for GPIO interface on Cavium's ThunderX2
+	  CN99XX SoCs (Originally from Netlogic XLP).
 
 	  If unsure, say N.
 
drivers/gpio/gpio-xlp.c +11 -136

219 lines not on this page · raw message

Signature · 1 line
2.32.0
#1 lore raw
Quoted 7 lines · Rob Herring

Netlogic XLP was removed in commit 95b8a5e0111a ("MIPS: Remove NETLOGIC support"). With those gone, the single platform left to support is Cavium ThunderX2. Remove all the Netlogic variants and DT support.

For simplicity, the existing kconfig name is retained.

Quoted 8 lines
Cc Linus Walleij <[email protected]>
Cc Bartosz Golaszewski <[email protected]>

---
v2:
- Fix !OF and ACPI build errors

Rob,

This doesn't apply on top of v5.16-rc1. Anything I'm missing?

Bart

#2 lore raw
Quoted 18 lines · Bartosz Golaszewski
Quoted 7 lines · Rob Herring

Netlogic XLP was removed in commit 95b8a5e0111a ("MIPS: Remove NETLOGIC support"). With those gone, the single platform left to support is Cavium ThunderX2. Remove all the Netlogic variants and DT support.

For simplicity, the existing kconfig name is retained.

Quoted 8 lines
Cc Linus Walleij <[email protected]>
Cc Bartosz Golaszewski <[email protected]>

---
v2:
- Fix !OF and ACPI build errors

Quoted 3 lines

Rob,

This doesn't apply on top of v5.16-rc1. Anything I'm missing?

It should, that's exactly what it is based on. You dropped v1 that you already applied?

Rob

#3 lore raw
Quoted 20 lines · Rob Herring
Quoted 18 lines · Bartosz Golaszewski
Quoted 15 lines · Rob Herring

Netlogic XLP was removed in commit 95b8a5e0111a ("MIPS: Remove NETLOGIC support"). With those gone, the single platform left to support is Cavium ThunderX2. Remove all the Netlogic variants and DT support.

For simplicity, the existing kconfig name is retained.

Cc Linus Walleij <[email protected]>
Cc Bartosz Golaszewski <[email protected]>

---
v2:
- Fix !OF and ACPI build errors

Quoted 8 lines
Quoted 3 lines

Rob,

This doesn't apply on top of v5.16-rc1. Anything I'm missing?

It should, that's exactly what it is based on. You dropped v1 that you already applied?

Rob

Ah right, didn't see that. Can you send a follow-up that applies on top of my for-next branch?

Bart