diff options
author | Vincent Donnefort <vdonnefort@gmail.com> | 2015-07-02 19:56:41 +0200 |
---|---|---|
committer | Jacek Anaszewski <j.anaszewski@samsung.com> | 2015-08-28 14:06:16 +0200 |
commit | 4fc5af86837d983d7b1dd4edad245454e1874fa0 (patch) | |
tree | 2d954ae8a904c7df8825a332746baf540e705c20 /arch/arm/boot/dts/kirkwood-is2.dts | |
parent | leds: tlc591xx: Remove redundant I2C_FUNC_SMBUS_BYTE_DATA functionality check (diff) | |
download | linux-4fc5af86837d983d7b1dd4edad245454e1874fa0.tar.xz linux-4fc5af86837d983d7b1dd4edad245454e1874fa0.zip |
ARM: Kirkwood: add modes-map property to ns2-leds nodes
Since the LED modes mapping is no longer hardcoded inside the leds-ns2
driver, then it must be provided through the modes-map property in the
ns2-leds nodes.
Signed-off-by: Vincent Donnefort <vdonnefort@gmail.com>
Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
Diffstat (limited to 'arch/arm/boot/dts/kirkwood-is2.dts')
-rw-r--r-- | arch/arm/boot/dts/kirkwood-is2.dts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/kirkwood-is2.dts b/arch/arm/boot/dts/kirkwood-is2.dts index da674bbd49a8..4121674abd1c 100644 --- a/arch/arm/boot/dts/kirkwood-is2.dts +++ b/arch/arm/boot/dts/kirkwood-is2.dts @@ -1,5 +1,6 @@ /dts-v1/; +#include <dt-bindings/leds/leds-ns2.h> #include "kirkwood-ns2-common.dtsi" / { @@ -27,6 +28,10 @@ label = "ns2:blue:sata"; slow-gpio = <&gpio0 29 0>; cmd-gpio = <&gpio0 30 0>; + modes-map = <NS_V2_LED_OFF 1 0 + NS_V2_LED_ON 0 1 + NS_V2_LED_ON 1 1 + NS_V2_LED_SATA 0 0>; }; }; }; |