Thread (28 messages) 28 messages, 5 authors, 2021-11-08

Re: [RFC PATCH v2 4/5] net: dsa: qca8k: add LEDs support

From: Randy Dunlap <hidden>
Date: 2021-11-08 02:26:19
Also in: linux-doc, linux-leds, lkml, netdev

On 11/7/21 4:24 PM, Ansuel Smith wrote:
quoted hunk ↗ jump to hunk
diff --git a/drivers/net/dsa/Kconfig b/drivers/net/dsa/Kconfig
index 7b1457a6e327..89e36f3a8195 100644
--- a/drivers/net/dsa/Kconfig
+++ b/drivers/net/dsa/Kconfig
@@ -67,6 +67,15 @@ config NET_DSA_QCA8K
  	  This enables support for the Qualcomm Atheros QCA8K Ethernet
  	  switch chips.
  
+config NET_DSA_QCA8K_LEDS_SUPPORT
+	tristate "Qualcomm Atheros QCA8K Ethernet switch family LEDs support"
+	select NET_DSA_QCA8K
+	select LEDS_OFFLOAD_TRIGGERS
+	help
+	  Thsi enabled support for LEDs present on the Qualcomm Atheros
	  This enables
+	  QCA8K Ethernet switch chips. This require the LEDs offload
	                                    requires
+	  triggers support as it can run in offload mode.

-- 
~Randy
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help