summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleksandr Suvorov <oleksandr.suvorov@toradex.com>2020-07-29 16:06:33 +0300
committerOleksandr Suvorov <oleksandr.suvorov@toradex.com>2020-08-20 11:11:55 +0300
commit6e8f6f00a8723c1262b918d662d79882e416db5e (patch)
treef2cb99ab1990735beb323e909743f938cf28576f
parentec1d23c06fad511d1ff74104469ede12a5a2416c (diff)
display: convert lt170410 to syntactic sugar
Convert an overlay file for LT170410 10" LVDS display into the Syntactic Sugar format. This format is strongly recommended in Embedded Linux Wiki [1]. [1] https://elinux.org/Device_Tree_Reference#Overlay_Source_Format Related-to: ELB-2834 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
-rw-r--r--overlays/display-lt170410_overlay.dts42
1 files changed, 20 insertions, 22 deletions
diff --git a/overlays/display-lt170410_overlay.dts b/overlays/display-lt170410_overlay.dts
index 5c9fc34..b4159b2 100644
--- a/overlays/display-lt170410_overlay.dts
+++ b/overlays/display-lt170410_overlay.dts
@@ -5,30 +5,28 @@
/ {
compatible = "toradex,apalis_imx6q";
+};
- fragment@0 {
- target-path="/panel-lvds";
- __overlay__ {
- status = "okay";
+&{/panel-lvds} {
+ status = "okay";
- data-mapping = "vesa-24";
- width-mm = <217>;
- height-mm = <136>;
+ data-mapping = "vesa-24";
+ width-mm = <217>;
+ height-mm = <136>;
- panel-timing {
- clock-frequency = <68930000>;
- hactive = <1280>;
- vactive = <800>;
- hback-porch = <64>;
- hfront-porch = <64>;
- vback-porch = <5>;
- vfront-porch = <5>;
- hsync-len = <40>;
- vsync-len = <6>;
- hsync-active = <0>;
- vsync-active = <0>;
- pixelclk-active = <0>;
- };
- };
+ panel-timing {
+ clock-frequency = <68930000>;
+ hactive = <1280>;
+ vactive = <800>;
+ hback-porch = <64>;
+ hfront-porch = <64>;
+ vback-porch = <5>;
+ vfront-porch = <5>;
+ hsync-len = <40>;
+ vsync-len = <6>;
+ hsync-active = <0>;
+ vsync-active = <0>;
+ pixelclk-active = <0>;
};
};
+