Commit 012f3e37 authored by Adam Ford's avatar Adam Ford Committed by Geert Uytterhoeven

arm64: dts: renesas: beacon: Fix LVDS PWM Backlight

The backlight didn't really work correctly due to some updates that were
made in hardware.  It should be safe to apply these, because the older
hardware was never shipped to anyone, so it shouldn't break anything.
Signed-off-by: default avatarAdam Ford <aford173@gmail.com>
Link: https://lore.kernel.org/r/20201213183759.223246-8-aford173@gmail.comSigned-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
parent 5a5da0b7
...@@ -10,8 +10,8 @@ / { ...@@ -10,8 +10,8 @@ / {
backlight_lvds: backlight-lvds { backlight_lvds: backlight-lvds {
compatible = "pwm-backlight"; compatible = "pwm-backlight";
power-supply = <&reg_lcd>; power-supply = <&reg_lcd>;
enable-gpios = <&gpio_exp1 3 GPIO_ACTIVE_LOW>; enable-gpios = <&gpio_exp1 3 GPIO_ACTIVE_HIGH>;
pwms = <&pwm2 0 50000>; pwms = <&pwm2 0 25000>;
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>;
}; };
...@@ -118,9 +118,9 @@ panel-timing { ...@@ -118,9 +118,9 @@ panel-timing {
hback-porch = <40>; hback-porch = <40>;
vfront-porch = <13>; vfront-porch = <13>;
vback-porch = <29>; vback-porch = <29>;
vsync-len = <3>; vsync-len = <1>;
hsync-active = <1>; hsync-active = <1>;
vsync-active = <1>; vsync-active = <3>;
de-active = <1>; de-active = <1>;
pixelclk-active = <0>; pixelclk-active = <0>;
}; };
...@@ -541,7 +541,7 @@ pwm0_pins: pwm0 { ...@@ -541,7 +541,7 @@ pwm0_pins: pwm0 {
pwm2_pins: pwm2 { pwm2_pins: pwm2 {
groups = "pwm2_a"; groups = "pwm2_a";
function = "pwm2_a"; function = "pwm2";
}; };
sdhi0_pins: sd0 { sdhi0_pins: sd0 {
......
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