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

Randy Dunlap
2021-11-07T22:39:24Z

On 11/7/21 9:57 AM, 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