diff mbox series

arm64: dts: rockchip: rk3328: drop unused LED mode property

Message ID 20221125144135.477144-1-krzysztof.kozlowski@linaro.org (mailing list archive)
State New, archived
Headers show
Series arm64: dts: rockchip: rk3328: drop unused LED mode property | expand

Commit Message

Krzysztof Kozlowski Nov. 25, 2022, 2:41 p.m. UTC
GPIO LEDs do not have a 'mode' property:

  rockchip/rk3328-roc-pc.dtb: leds: led-0: Unevaluated properties are not allowed ('mode' was unexpected)

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts | 2 --
 1 file changed, 2 deletions(-)

Comments

Heiko Stübner Jan. 10, 2023, 3:09 p.m. UTC | #1
On Fri, 25 Nov 2022 15:41:34 +0100, Krzysztof Kozlowski wrote:
> GPIO LEDs do not have a 'mode' property:
> 
>   rockchip/rk3328-roc-pc.dtb: leds: led-0: Unevaluated properties are not allowed ('mode' was unexpected)
> 
> 

Applied, thanks!

[1/1] arm64: dts: rockchip: rk3328: drop unused LED mode property
      commit: 1692bffec674551163a7a4be32f59fdde04ecd27

Best regards,
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts b/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts
index aa22a0c22265..5d5d9574088c 100644
--- a/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts
@@ -96,7 +96,6 @@  power_led: led-0 {
 			linux,default-trigger = "heartbeat";
 			gpios = <&rk805 1 GPIO_ACTIVE_LOW>;
 			default-state = "on";
-			mode = <0x23>;
 		};
 
 		user_led: led-1 {
@@ -104,7 +103,6 @@  user_led: led-1 {
 			linux,default-trigger = "mmc1";
 			gpios = <&rk805 0 GPIO_ACTIVE_LOW>;
 			default-state = "off";
-			mode = <0x05>;
 		};
 	};
 };