diff options
author | Oleksandr Suvorov <oleksandr.suvorov@toradex.com> | 2020-08-03 11:05:29 +0300 |
---|---|---|
committer | Oleksandr Suvorov <oleksandr.suvorov@toradex.com> | 2020-08-20 11:18:37 +0300 |
commit | 6b94070f65401be76b1726c2db1c48d5774de40f (patch) | |
tree | 7d171393030794212fea886923fc289ef16763f3 /overlays | |
parent | 02f08a0d21e558bb18f5ada89e7f690a7340fbb6 (diff) |
apalis-imx8qm: convert lt170410 to syntactic sugar
Convert an overlay file for LT170410 10" LVDS display on Apalis-iMX8QM
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-imx8qm_display-lt170410_overlay.dts | 68 |
1 files changed, 31 insertions, 37 deletions
diff --git a/overlays/apalis-imx8qm_display-lt170410_overlay.dts b/overlays/apalis-imx8qm_display-lt170410_overlay.dts index 88a6a1d..5f65f05 100644 --- a/overlays/apalis-imx8qm_display-lt170410_overlay.dts +++ b/overlays/apalis-imx8qm_display-lt170410_overlay.dts @@ -4,44 +4,38 @@ /plugin/; / { compatible = "toradex,apalis-imx8qm"; - fragment@0 { - target = <&ldb2>; - __overlay__ { - status = "okay"; - }; - }; +}; - fragment@1 { - target = <&ldb2_phy>; - __overlay__ { - status = "okay"; - }; - }; +&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@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>; - }; - }; + 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>; }; }; + |