From 85a42fa9cb9431728efde4252b61de423f2ca12c Mon Sep 17 00:00:00 2001 From: Tan Zien Date: Sat, 23 Oct 2021 04:15:08 +0800 Subject: [PATCH] ipq40xx: MR33: Fix LP5562 LED driver probe Add the reg and color property to each channel node. This update is to accommodate the multicolor framework. Refer to: Signed-off-by: Tan Zien [replaced links to lore, wrote something of a commit message] Signed-off-by: Christian Lamparter --- .../arch/arm/boot/dts/qcom-ipq4029-mr33.dts | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4029-mr33.dts b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4029-mr33.dts index 36a01e50535c..9f311b19739b 100644 --- a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4029-mr33.dts +++ b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4029-mr33.dts @@ -16,6 +16,7 @@ #include #include #include +#include / { model = "Meraki MR33 Access Point"; @@ -166,30 +167,40 @@ reg = <0x30>; clock-mode = /bits/8 <2>; enable-gpio = <&tlmm 48 GPIO_ACTIVE_HIGH>; + #address-cells = <1>; + #size-cells = <0>; /* RGB led */ - status_red: chan0 { + status_red: chan@0 { chan-name = "red:status"; led-cur = /bits/ 8 <0x20>; max-cur = /bits/ 8 <0x60>; + reg = <0>; + color = ; }; - status_green: chan1 { + status_green: chan@1 { chan-name = "green:status"; led-cur = /bits/ 8 <0x20>; max-cur = /bits/ 8 <0x60>; + reg = <1>; + color = ; }; - chan2 { + chan@2 { chan-name = "blue:status"; led-cur = /bits/ 8 <0x20>; max-cur = /bits/ 8 <0x60>; + reg = <2>; + color = ; }; - chan3 { + chan@3 { chan-name = "white:status"; led-cur = /bits/ 8 <0x20>; max-cur = /bits/ 8 <0x60>; + reg = <3>; + color = ; }; }; }; -- 2.30.2