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

From: Randy Dunlap
Date: Tue Nov 09 2021 - 01:03:41 EST


On 11/8/21 6:26 PM, Ansuel Smith wrote:
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