2021-08-18 07:13:10

by Michal Vokáč

[permalink] [raw]
Subject: [PATCH 2/2] ARM: dts: imx6dl-yapp4: Remove the unused white LED channel

Since the reg property was added to each channel node in commit
b86d3d21cd4c ("ARM: dts: imx6dl-yapp4: Add reg property to the lp5562
channel node") it is possible to skip unused channels.

Remove the actually unused white LED channel.

Signed-off-by: Michal Vokáč <[email protected]>
---
arch/arm/boot/dts/imx6dl-yapp4-common.dtsi | 8 --------
1 file changed, 8 deletions(-)

diff --git a/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi b/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi
index 8c796551352b..3107bf7fbce5 100644
--- a/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi
+++ b/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi
@@ -290,14 +290,6 @@ chan@2 {
reg = <2>;
color = <LED_COLOR_ID_BLUE>;
};
-
- chan@3 {
- chan-name = "W";
- led-cur = /bits/ 8 <0x0>;
- max-cur = /bits/ 8 <0x0>;
- reg = <3>;
- color = <LED_COLOR_ID_WHITE>;
- };
};

eeprom@57 {
--
2.25.1


2021-09-13 13:09:59

by Fabio Estevam

[permalink] [raw]
Subject: Re: [PATCH 2/2] ARM: dts: imx6dl-yapp4: Remove the unused white LED channel

On Wed, Aug 18, 2021 at 4:02 AM Michal Vokáč <[email protected]> wrote:
>
> Since the reg property was added to each channel node in commit
> b86d3d21cd4c ("ARM: dts: imx6dl-yapp4: Add reg property to the lp5562
> channel node") it is possible to skip unused channels.
>
> Remove the actually unused white LED channel.
>
> Signed-off-by: Michal Vokáč <[email protected]>

Reviewed-by: Fabio Estevam <[email protected]>