Skip to content

Commit 8512fbb

Browse files
zandarShawn Guo
authored andcommitted
ARM: dts: imx6dl-yapp43: Increase LED current to match the yapp4 HW design
On the imx6dl-yapp4 revision based boards, the RGB LED is not driven directly by the LP5562 driver but through FET transistors. Hence the LED current is not determined by the driver but by the LED series resistors. On the imx6dl-yapp43 revision based boards, we removed the FET transistors to drive the LED directly from the LP5562 but forgot to tune the output current to match the previous HW design. Set the LED current on imx6dl-yapp43 based boards to the same values measured on the imx6dl-yapp4 boards and limit the maximum current to 20mA. Fixes: 7da4734 ("ARM: dts: imx6dl-yapp43: Add support for new HW revision of the IOTA board") Cc: <[email protected]> Signed-off-by: Michal Vokáč <[email protected]> Signed-off-by: Shawn Guo <[email protected]>
1 parent 109f256 commit 8512fbb

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

arch/arm/boot/dts/nxp/imx/imx6dl-yapp43-common.dtsi

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -274,24 +274,24 @@
274274

275275
led@0 {
276276
chan-name = "R";
277-
led-cur = /bits/ 8 <0x20>;
278-
max-cur = /bits/ 8 <0x60>;
277+
led-cur = /bits/ 8 <0x6e>;
278+
max-cur = /bits/ 8 <0xc8>;
279279
reg = <0>;
280280
color = <LED_COLOR_ID_RED>;
281281
};
282282

283283
led@1 {
284284
chan-name = "G";
285-
led-cur = /bits/ 8 <0x20>;
286-
max-cur = /bits/ 8 <0x60>;
285+
led-cur = /bits/ 8 <0xbe>;
286+
max-cur = /bits/ 8 <0xc8>;
287287
reg = <1>;
288288
color = <LED_COLOR_ID_GREEN>;
289289
};
290290

291291
led@2 {
292292
chan-name = "B";
293-
led-cur = /bits/ 8 <0x20>;
294-
max-cur = /bits/ 8 <0x60>;
293+
led-cur = /bits/ 8 <0xbe>;
294+
max-cur = /bits/ 8 <0xc8>;
295295
reg = <2>;
296296
color = <LED_COLOR_ID_BLUE>;
297297
};

0 commit comments

Comments
 (0)