Commit 40b1708f authored by Marek Vasut's avatar Marek Vasut Committed by Shawn Guo

ARM: dts: imx53: Fix backlight for M53EVK

Remove the PWM backlight pin from the hog pins list, so it doesn't
collide with the PWM pin group. Moreover, add dummy regulator for
the backlight so that the backlight driver probes correctly.
Signed-off-by: default avatarMarek Vasut <marex@denx.de>
Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
parent 19b529e9
...@@ -51,6 +51,7 @@ backlight { ...@@ -51,6 +51,7 @@ backlight {
pwms = <&pwm1 0 3000>; pwms = <&pwm1 0 3000>;
brightness-levels = <0 4 8 16 32 64 128 255>; brightness-levels = <0 4 8 16 32 64 128 255>;
default-brightness-level = <6>; default-brightness-level = <6>;
power-supply = <&reg_backlight>;
}; };
leds { leds {
...@@ -84,6 +85,17 @@ reg_3p2v: regulator@0 { ...@@ -84,6 +85,17 @@ reg_3p2v: regulator@0 {
regulator-max-microvolt = <3200000>; regulator-max-microvolt = <3200000>;
regulator-always-on; regulator-always-on;
}; };
reg_backlight: regulator@1 {
compatible = "regulator-fixed";
reg = <1>;
regulator-name = "lcd-supply";
regulator-min-microvolt = <3200000>;
regulator-max-microvolt = <3200000>;
regulator-always-on;
};
}; };
sound { sound {
...@@ -210,8 +222,6 @@ pinctrl_hog: hoggrp { ...@@ -210,8 +222,6 @@ pinctrl_hog: hoggrp {
MX53_PAD_GPIO_0__CCM_SSI_EXT1_CLK 0x80000000 MX53_PAD_GPIO_0__CCM_SSI_EXT1_CLK 0x80000000
MX53_PAD_EIM_EB3__GPIO2_31 0x80000000 MX53_PAD_EIM_EB3__GPIO2_31 0x80000000
MX53_PAD_PATA_DA_0__GPIO7_6 0x80000000 MX53_PAD_PATA_DA_0__GPIO7_6 0x80000000
MX53_PAD_DISP0_DAT8__PWM1_PWMO 0x5
>; >;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment