ARM: DTS armada: Add default trigger for sata led
PATCH 1/1 ARM: DTS armada: Add default trigger for sata led
In others board we have the sata led set to funcion with the sata led trigger by default.
This patch makes the same for these board that have sata led but get disabled by not associating it to any trigger.
Signed-off-by Ansuel Smith <[email protected]>
--- arch/arm/boot/dts/armada-385-linksys-caiman.dts | 1 + arch/arm/boot/dts/armada-385-linksys-cobra.dts | 1 + arch/arm/boot/dts/armada-xp-linksys-mamba.dts | 1 + 3 files changed, 3 insertions(+)
arch/arm/boot/dts/armada-385-linksys-caiman.dts +1 -0
@@ -109,6 +109,7 @@ sata { label = "caiman:white:sata"; + linux,default-trigger = "disk-activity"; }; }; };
arch/arm/boot/dts/armada-385-linksys-cobra.dts +1 -0
@@ -109,6 +109,7 @@ sata { label = "cobra:white:sata"; + linux,default-trigger = "disk-activity"; }; }; };
arch/arm/boot/dts/armada-xp-linksys-mamba.dts +1 -0
@@ -156,6 +156,7 @@ esata at 4 { label = "mamba:white:esata"; reg = <0x4>; + linux,default-trigger = "disk-activity"; }; usb2 at 5 {
Signature · 1 line
1.9.1
Hi Ansuel,
Quoted 6 lines · Ansuel Smith
In others board we have the sata led set to funcion with the sata led trigger by default.
This patch makes the same for these board that have sata led but get disabled by not associating it to any trigger.Signed-off-by Ansuel Smith <[email protected]>
Applied on mvebu/dt (I also fixed the typo on func_t_ion and added the acked-by from Jason)
Thanks,
Gregory
Quoted 45 lines
--- arch/arm/boot/dts/armada-385-linksys-caiman.dts | 1 + arch/arm/boot/dts/armada-385-linksys-cobra.dts | 1 + arch/arm/boot/dts/armada-xp-linksys-mamba.dts | 1 + 3 files changed, 3 insertions(+)arch/arm/boot/dts/armada-385-linksys-caiman.dts +1
-0@@ -109,6 +109,7 @@ sata { label = "caiman:white:sata"; + linux,default-trigger = "disk-activity"; }; }; };arch/arm/boot/dts/armada-385-linksys-cobra.dts +1
-0@@ -109,6 +109,7 @@ sata { label = "cobra:white:sata"; + linux,default-trigger = "disk-activity"; }; }; };arch/arm/boot/dts/armada-xp-linksys-mamba.dts +1
-0@@ -156,6 +156,7 @@ esata at 4 { label = "mamba:white:esata"; reg = <0x4>; + linux,default-trigger = "disk-activity"; }; usb2 at 5 {Signature · 1 line
1.9.1
Signature · 4 lines
Gregory Clement, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com