summaryrefslogtreecommitdiff
path: root/overlays
diff options
context:
space:
mode:
authorOleksandr Suvorov <oleksandr.suvorov@toradex.com>2020-08-03 11:28:25 +0300
committerOleksandr Suvorov <oleksandr.suvorov@toradex.com>2020-08-20 11:18:37 +0300
commit7b62b9e258f0c162ecf1aa9ea8ec8d675767602b (patch)
treee1a99975f5bfe5e09b7a8ddde46525c9e0856db5 /overlays
parent009f4c7f7dc5d977e015ea1f272ee0dad779fc1a (diff)
apalis-imx8x: convert lt161010 to syntactic sugar
Convert an overlay file for LT161010 7" display for Apalis 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/apalis-imx8x_display-lt161010_overlay.dts62
1 files changed, 29 insertions, 33 deletions
diff --git a/overlays/apalis-imx8x_display-lt161010_overlay.dts b/overlays/apalis-imx8x_display-lt161010_overlay.dts
index 2e94aa7..10ea4a9 100644
--- a/overlays/apalis-imx8x_display-lt161010_overlay.dts
+++ b/overlays/apalis-imx8x_display-lt161010_overlay.dts
@@ -4,39 +4,35 @@
/plugin/;
/ {
compatible = "toradex,apalis-imx8qxp";
- fragment@0 {
- target-path = "/lcdif@5a180000";
- __overlay__ {
- status = "okay";
- };
- };
+};
+
+&{/lcdif@5a180000} {
+ status = "okay";
+};
+
+&{/panel-1} {
+ compatible = "panel-dpi";
- fragment@1 {
- target-path = "/panel-1";
- __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>;
};
};
+