summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Schenker <philippe.schenker@toradex.com>2020-08-24 16:36:41 +0200
committerPhilippe Schenker <philippe.schenker@toradex.com>2020-08-24 16:36:41 +0200
commita2edc1f6d5e19a0932da65cc84ea1576d3221183 (patch)
treeb62110d9e489b37ac9c49b0b51479e35e0f5dc30
parentb511a16cf0393fb7436f38fe45e0bf222d8b2106 (diff)
Revert "apalis-imx8qm: convert lt170410 to syntactic sugar"
This reverts commit 6b94070f65401be76b1726c2db1c48d5774de40f. Syntactic sugar is not fully supported on 4.14 kernel revert all overlays for this branch Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
-rw-r--r--overlays/apalis-imx8qm_display-lt170410_overlay.dts68
1 files changed, 37 insertions, 31 deletions
diff --git a/overlays/apalis-imx8qm_display-lt170410_overlay.dts b/overlays/apalis-imx8qm_display-lt170410_overlay.dts
index 5f65f05..88a6a1d 100644
--- a/overlays/apalis-imx8qm_display-lt170410_overlay.dts
+++ b/overlays/apalis-imx8qm_display-lt170410_overlay.dts
@@ -4,38 +4,44 @@
/plugin/;
/ {
compatible = "toradex,apalis-imx8qm";
-};
-
-&ldb2 {
- status = "okay";
-};
-
-&ldb2_phy {
- status = "okay";
-};
-
-&{/lvds1_panel} {
- status = "okay";
- compatible = "panel-lvds";
-
- data-mapping = "vesa-24";
- width-mm = <1280>;
- height-mm = <800>;
+ fragment@0 {
+ target = <&ldb2>;
+ __overlay__ {
+ status = "okay";
+ };
+ };
- 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>;
+ fragment@1 {
+ target = <&ldb2_phy>;
+ __overlay__ {
+ status = "okay";
+ };
+ };
- hsync-active = <0>;
- vsync-active = <0>;
- pixelclk-active = <0>;
+ fragment@2 {
+ target-path = "/lvds1_panel";
+ __overlay__ {
+ status = "okay";
+ compatible = "panel-lvds";
+
+ data-mapping = "vesa-24";
+ width-mm = <1280>;
+ height-mm = <800>;
+
+ 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>;
+ };
+ };
};
};
-