Skip to contentSkip to conversation

ARM: dts: armada-385-linksys: disk-activity trigger for all

PATCH In review Ralph Sennhauser 3 participants 3 messages Mar 30, 2017 – Apr 5, 2017 Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: armada-385-linksys: disk-activity trigger for all

Commit a4ee7e18d808 ("ARM: dts: armada: Add default trigger for sata led") adds the default trigger to individual boards, move it to armada-385-linksys.dtsi which effectively enables the definition for the WRT1900ACS (Shelby) as well as for future boards.

---
 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-385-linksys.dtsi       | 1 +
 3 files changed, 1 insertion(+), 2 deletions(-)
arch/arm/boot/dts/armada-385-linksys-caiman.dts +0 -1
index a1b6e68..f3cee91 100644
@@ -109,7 +109,6 @@
 
 		sata {
 			label = "caiman:white:sata";
-			linux,default-trigger = "disk-activity";
 		};
 	};
 };
arch/arm/boot/dts/armada-385-linksys-cobra.dts +0 -1
index a1a75af..1110718 100644
@@ -109,7 +109,6 @@
 
 		sata {
 			label = "cobra:white:sata";
-			linux,default-trigger = "disk-activity";
 		};
 	};
 };
arch/arm/boot/dts/armada-385-linksys.dtsi +1 -0
index aa0d225..2306c45 100644
@@ -320,6 +320,7 @@
 		sata {
 			gpios = <&gpio1 22 GPIO_ACTIVE_LOW>;
 			default-state = "off";
+			linux,default-trigger = "disk-activity";
 		};
 	};
 
Signature · 1 line
2.10.2
Reviewed-by on v1 1/1
#1 lore raw
Quoted 6 lines · Ralph Sennhauser

Commit a4ee7e18d808 ("ARM: dts: armada: Add default trigger for sata led") adds the default trigger to individual boards, move it to armada-385-linksys.dtsi which effectively enables the definition for the WRT1900ACS (Shelby) as well as for future boards.

Centralising this makes sense.

Andrew

#2 lore raw

Hi Ralph,

Quoted 11 lines · Andrew Lunn
Quoted 6 lines · Ralph Sennhauser

Commit a4ee7e18d808 ("ARM: dts: armada: Add default trigger for sata led") adds the default trigger to individual boards, move it to armada-385-linksys.dtsi which effectively enables the definition for the WRT1900ACS (Shelby) as well as for future boards.

Centralising this makes sense.

Applied on mvebu/dt

Thanks,

Gregory

Signature · 4 lines
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com