arm64: dts: meson: Add default timings for VPU
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Fri, 27 Nov 2020 17:12:30 +0000 (18:12 +0100)
committerSylwester Nawrocki <s.nawrocki@samsung.com>
Tue, 1 Dec 2020 09:10:44 +0000 (10:10 +0100)
These timings can be used as a fallback for UHD HDMI monitors since
the A311D SoC HDMI transmitter supports only up to 1920x1080 resolution.
Any supported timings found in EDID will be used instead of these default
values.

The timing data derived from patch 0220-hdmi_edid_fail_try_full_hd.patch
from https://github.com/hyphop/khadas-uboot/archive/last.zip.

Change-Id: Iff06db8b9582d4037e7bb9a42a8e9cca96cb1db0
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
arch/arm/dts/meson-khadas-vim3.dtsi

index 40e9922..076ed31 100644 (file)
        status = "okay";
        dr_mode = "peripheral";
 };
+
+&vpu {
+       display-timings {
+               timing@0 {
+                       /* Default timings 1920x1080 */
+                       clock-frequency = <148500000>;
+                       hactive = <1920>;
+                       vactive = <1080>;
+                       hfront-porch = <88>;
+                       hback-porch = <148>;
+                       hsync-len = <44>;
+                       vfront-porch = <4>;
+                       vback-porch = <36>;
+                       vsync-len = <5>;
+                       de-active = <0>;
+               };
+       };
+};