diff options
author | Oleksandr Suvorov <oleksandr.suvorov@toradex.com> | 2020-08-01 17:24:52 +0300 |
---|---|---|
committer | Oleksandr Suvorov <oleksandr.suvorov@toradex.com> | 2020-08-03 11:37:50 +0300 |
commit | d9928c9451d10775abab713c86292980af705871 (patch) | |
tree | 92c60e9fc27fd12b5c2df46e95b6d5ff56a39167 /overlays/display-lt170410_overlay.dts | |
parent | fc95c1137968488a172c45dc66813fd3e79286e8 (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>
Diffstat (limited to 'overlays/display-lt170410_overlay.dts')
-rw-r--r-- | overlays/display-lt170410_overlay.dts | 42 |
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>; }; }; + |