mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-26 04:25:27 +08:00
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: Marek Vasut <marex@denx.de> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
This commit is contained in:
parent
19b529e9d2
commit
40b1708f72
@ -51,6 +51,7 @@
|
|||||||
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 = <®_backlight>;
|
||||||
};
|
};
|
||||||
|
|
||||||
leds {
|
leds {
|
||||||
@ -84,6 +85,17 @@
|
|||||||
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 @@
|
|||||||
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
|
|
||||||
|
|
||||||
>;
|
>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user