2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-28 07:04:00 +08:00

ARM: dts: opos6uldev: use OF graph to describe the display

To make use of the new eLCDIF DRM driver OF graph description is
required. Describe the display using OF graph nodes.

Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
Sébastien Szymanski 2019-07-04 16:23:23 +02:00 committed by Shawn Guo
parent 0be9af7770
commit d9aa4d4fca

View File

@ -56,7 +56,7 @@
stdout-path = &uart1; stdout-path = &uart1;
}; };
backlight { backlight: backlight {
compatible = "pwm-backlight"; compatible = "pwm-backlight";
pwms = <&pwm3 0 191000>; pwms = <&pwm3 0 191000>;
brightness-levels = <0 4 8 16 32 64 128 255>; brightness-levels = <0 4 8 16 32 64 128 255>;
@ -97,6 +97,18 @@
gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>; gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>;
}; };
panel: panel {
compatible = "armadeus,st0700-adapt";
power-supply = <&reg_3v3>;
backlight = <&backlight>;
port {
panel_in: endpoint {
remote-endpoint = <&lcdif_out>;
};
};
};
reg_5v: regulator-5v { reg_5v: regulator-5v {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
regulator-name = "5V"; regulator-name = "5V";
@ -182,28 +194,11 @@
&lcdif { &lcdif {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_lcdif>; pinctrl-0 = <&pinctrl_lcdif>;
display = <&display0>;
lcd-supply = <&reg_3v3>;
status = "okay"; status = "okay";
display0: display0 { port {
bits-per-pixel = <32>; lcdif_out: endpoint {
bus-width = <18>; remote-endpoint = <&panel_in>;
display-timings {
timing0: timing0 {
clock-frequency = <33000033>;
hactive = <800>;
vactive = <480>;
hback-porch = <96>;
hfront-porch = <96>;
vback-porch = <20>;
vfront-porch = <21>;
hsync-len = <64>;
vsync-len = <4>;
de-active = <1>;
pixelclk-active = <0>;
};
}; };
}; };
}; };