Thread (9 messages) 9 messages, 3 authors, 2021-02-04

Re: [PATCH v4 5/5] mips: dts: Add support for Cisco SG220-26 switch

From: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Date: 2021-02-04 21:01:38
Also in: linux-mips, lkml

On Tue, Jan 19, 2021 at 10:21:09AM +0100, Bert Vermeulen wrote:
quoted hunk ↗ jump to hunk
Signed-off-by: Bert Vermeulen <redacted>
---
 arch/mips/Kconfig                             | 10 ++++++++
 arch/mips/boot/dts/realtek/Makefile           |  2 ++
 arch/mips/boot/dts/realtek/cisco_sg220-26.dts | 25 +++++++++++++++++++
 3 files changed, 37 insertions(+)
 create mode 100644 arch/mips/boot/dts/realtek/Makefile
 create mode 100644 arch/mips/boot/dts/realtek/cisco_sg220-26.dts
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 0986d0c4405f..a398416842ca 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -1055,6 +1055,16 @@ config NLM_XLP_BOARD
 
 endchoice
 
+if MACH_REALTEK_RTL
+choice
+	prompt "Realtek RTL838x/RTL839x-based switch"
+	optional
+
+	config DT_CISCO_SG220_26
+		bool "Cisco SG220-26"
+endchoice
+endif
+
I've dropped that while applying, because it's just one DT so far and if
there are more of them, please move to arch/mips/realtek/Kconfig

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help