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

Also add label for backlight_lvds and connect it to the display.

Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
This commit is contained in:
Eric Nelson 2015-05-19 08:50:15 -07:00 committed by Shawn Guo
parent 5db106bc73
commit 5d5c865128
1 changed files with 17 additions and 13 deletions

View File

@ -122,7 +122,7 @@ backlight_lcd {
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>;
@ -130,6 +130,17 @@ backlight_lvds {
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 {
@ -379,18 +390,11 @@ lvds-channel@0 {
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>;
}; };
}; };
}; };