[PATCH 4/6] ARM: dts: da850-lcdk: add support for 1024x768 resolution

From: Bartosz Golaszewski
Date: Thu Sep 29 2016 - 12:32:56 EST


Add svga timings for 1024x768 resolution to the da850-lcdk
device tree.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx>
---
arch/arm/boot/dts/da850-lcdk.dts | 15 +++++++++++++--
1 file changed, 13 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/da850-lcdk.dts b/arch/arm/boot/dts/da850-lcdk.dts
index 6ca5d48..6e4288c 100644
--- a/arch/arm/boot/dts/da850-lcdk.dts
+++ b/arch/arm/boot/dts/da850-lcdk.dts
@@ -70,8 +70,8 @@
};

display-timings {
- native-mode = <&svga_timings>;
- svga_timings: 800x600 {
+ native-mode = <&svga_timing0>;
+ svga_timing0: 800x600 {
clock-frequency = <37500000>;
hactive = <800>;
hback-porch = <140>;
@@ -82,6 +82,17 @@
vfront-porch = <1>;
vsync-len = <4>;
};
+ svga_timing1: 1024x768 {
+ clock-frequency = <72000000>;
+ hactive = <1024>;
+ hback-porch = <140>;
+ hfront-porch = <40>;
+ hsync-len = <128>;
+ vactive = <768>;
+ vback-porch = <23>;
+ vfront-porch = <1>;
+ vsync-len = <4>;
+ };
};
};
};
--
2.7.4