提交 4dc633e9 编写于 作者: E Eric Nelson 提交者: Shawn Guo

ARM: dts: sabrelite: use simple-panel instead of display-timings for LVDS0

Also add label for backlight_lvds and connect it to the LVDS display.
Signed-off-by: NEric Nelson <eric.nelson@boundarydevices.com>
Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
上级 5d5c8651
...@@ -121,7 +121,7 @@ ...@@ -121,7 +121,7 @@
status = "okay"; status = "okay";
}; };
backlight_lvds { backlight_lvds: backlight_lvds {
compatible = "pwm-backlight"; compatible = "pwm-backlight";
pwms = <&pwm4 0 5000000>; pwms = <&pwm4 0 5000000>;
brightness-levels = <0 4 8 16 32 64 128 255>; brightness-levels = <0 4 8 16 32 64 128 255>;
...@@ -129,6 +129,17 @@ ...@@ -129,6 +129,17 @@
power-supply = <&reg_3p3v>; power-supply = <&reg_3p3v>;
status = "okay"; status = "okay";
}; };
panel {
compatible = "hannstar,hsd100pxn1";
backlight = <&backlight_lvds>;
port {
panel_in: endpoint {
remote-endpoint = <&lvds0_out>;
};
};
};
}; };
&audmux { &audmux {
...@@ -374,18 +385,11 @@ ...@@ -374,18 +385,11 @@
fsl,data-width = <18>; fsl,data-width = <18>;
status = "okay"; status = "okay";
display-timings { port@4 {
native-mode = <&timing0>; reg = <4>;
timing0: hsd100pxn1 {
clock-frequency = <65000000>; lvds0_out: endpoint {
hactive = <1024>; remote-endpoint = <&panel_in>;
vactive = <768>;
hback-porch = <220>;
hfront-porch = <40>;
vback-porch = <21>;
vfront-porch = <7>;
hsync-len = <60>;
vsync-len = <10>;
}; };
}; };
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册