summaryrefslogtreecommitdiff
path: root/overlays
diff options
context:
space:
mode:
authorOleksandr Suvorov <oleksandr.suvorov@toradex.com>2020-08-01 20:05:55 +0300
committerOleksandr Suvorov <oleksandr.suvorov@toradex.com>2020-08-20 11:18:37 +0300
commit35160f0cf8d8d6f18b7fd35a161a48d74eef9c05 (patch)
treebd8e34806634d8d35f611e82895a12fe5e24ac75 /overlays
parentf2fa129bbb3dda21454a501bf6efb1e830a10280 (diff)
colibri-imx8x: convert lt170410 to syntactic sugar
Convert an overlay file for LT170410 10" LVDS display on Colibri-iMX8QXP module 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>
Diffstat (limited to 'overlays')
-rw-r--r--overlays/colibri-imx8x_display-lt170410_overlay.dts62
1 files changed, 29 insertions, 33 deletions
diff --git a/overlays/colibri-imx8x_display-lt170410_overlay.dts b/overlays/colibri-imx8x_display-lt170410_overlay.dts
index df315d7..3224361 100644
--- a/overlays/colibri-imx8x_display-lt170410_overlay.dts
+++ b/overlays/colibri-imx8x_display-lt170410_overlay.dts
@@ -4,39 +4,35 @@
/plugin/;
/ {
compatible = "toradex,colibri-imx8qxp";
- fragment@0 {
- target = <&adma_lcdif>;
- __overlay__ {
- status = "okay";
- };
- };
+};
+
+&adma_lcdif {
+ status = "okay";
+};
+
+&{/panel} {
+ compatible = "panel-dpi";
- fragment@1 {
- target-path = "/panel";
- __overlay__ {
- compatible = "panel-dpi";
-
- width-mm = <217>;
- height-mm = <136>;
-
- data-mapping = "bgr666";
-
- panel-timing {
- clock-frequency = <33260000>;
- hactive = <800>;
- vactive = <480>;
- hback-porch = <88>;
- hfront-porch = <40>;
- vback-porch = <32>;
- vfront-porch = <13>;
- hsync-len = <48>;
- vsync-len = <3>;
-
- de-active = <1>;
- hsync-active = <0>;
- vsync-active = <0>;
- pixelclk-active = <1>;
- };
- };
+ width-mm = <217>;
+ height-mm = <136>;
+
+ data-mapping = "bgr666";
+
+ panel-timing {
+ clock-frequency = <33260000>;
+ hactive = <800>;
+ vactive = <480>;
+ hback-porch = <88>;
+ hfront-porch = <40>;
+ vback-porch = <32>;
+ vfront-porch = <13>;
+ hsync-len = <48>;
+ vsync-len = <3>;
+
+ de-active = <1>;
+ hsync-active = <0>;
+ vsync-active = <0>;
+ pixelclk-active = <1>;
};
};
+