diff options
author | Oleksandr Suvorov <oleksandr.suvorov@toradex.com> | 2020-08-03 11:31:00 +0300 |
---|---|---|
committer | Oleksandr Suvorov <oleksandr.suvorov@toradex.com> | 2020-08-20 11:18:37 +0300 |
commit | ee6091f54eae01f2c6c98e898e49603e5336ea8b (patch) | |
tree | 81023d8ca5910a9d8e8ded205875c59ff72501e7 /overlays | |
parent | 7b62b9e258f0c162ecf1aa9ea8ec8d675767602b (diff) |
apalis-imx8x: convert lt170410 to syntactic sugar
Convert an overlay file for LT170410 10" LVDS display on 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-lt170410_overlay.dts | 60 |
1 files changed, 29 insertions, 31 deletions
diff --git a/overlays/apalis-imx8x_display-lt170410_overlay.dts b/overlays/apalis-imx8x_display-lt170410_overlay.dts index 57a2a88..464a6e2 100644 --- a/overlays/apalis-imx8x_display-lt170410_overlay.dts +++ b/overlays/apalis-imx8x_display-lt170410_overlay.dts @@ -4,37 +4,35 @@ /plugin/; / { compatible = "toradex,apalis-imx8qxp"; - fragment@0 { - target = <&ldb1>; - __overlay__ { - status = "okay"; - }; - }; +}; + +&ldb1 { + status = "okay"; +}; + +&panel_2 { + status = "okay"; + compatible = "panel-lvds"; - fragment@1 { - target = <&panel_2>; - __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>; - }; - }; + width-mm = <1280>; + height-mm = <800>; + + data-mapping = "vesa-24"; + + 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>; }; }; + |