Thread (37 messages) 37 messages, 4 authors, 2021-11-10

Re: [RFC PATCH v3 7/8] net: dsa: qca8k: add LEDs support

From: Randy Dunlap <hidden>
Date: 2021-11-09 06:03:41
Also in: linux-devicetree, linux-doc, linux-leds, lkml

On 11/8/21 6:26 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