On 03/08/2017 11:55 PM, Daniel Golle wrote:
> Hi Alberto,
>
> Try adding this patch to target/linux/kirkwood/patches-4.4 in addition
> to the changes in target/linux/kirkwood/config-4.4:
>
> --- a/arch/arm/mach-mvebu/Kconfig     2016-12-29 02:45:26.510509646 +0100
> +++ b/arch/arm/mach-mvebu/Kconfig     2017-03-08 23:50:16.924096508 +0100
> @@ -117,6 +117,7 @@
>  config MACH_KIRKWOOD
>     bool "Marvell Kirkwood boards"
>     depends on ARCH_MULTI_V5
> +   select ARCH_WANT_LIBATA_LEDS
>     select CPU_FEROCEON
>     select GPIOLIB
>     select KIRKWOOD_CLK
> ---
>

Thanks for the patch! I had to adjust it a bit because it is not for 
kernel 4.4 but now I see the triggers!

root@LEDE:/# cat 
/sys/devices/platform/gpio-leds/leds/nsa310:green:esata/trigger
[none] ata1 ata2 nand-disk timer default-on netdev usbport

I will add a uci helper for that and then proceed with adding the leds 
in 01_leds file.

-Alberto

_______________________________________________
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev

Reply via email to