diff options
author | Oleksandr Suvorov <oleksandr.suvorov@toradex.com> | 2020-08-01 18:07:20 +0300 |
---|---|---|
committer | Oleksandr Suvorov <oleksandr.suvorov@toradex.com> | 2020-08-03 11:37:58 +0300 |
commit | f434c263d34722c29213b993896465c9cb72cb29 (patch) | |
tree | 9690921c342e83c905e7e7bccfd01df928e661dc | |
parent | d9928c9451d10775abab713c86292980af705871 (diff) |
display: convert lt161010 to syntactic sugar
Convert an overlay file for LT161010 7" 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>
-rw-r--r-- | overlays/display-lt161010_overlay.dts | 37 |
1 files changed, 18 insertions, 19 deletions
diff --git a/overlays/display-lt161010_overlay.dts b/overlays/display-lt161010_overlay.dts index 5fba8d9..c2a5e1a 100644 --- a/overlays/display-lt161010_overlay.dts +++ b/overlays/display-lt161010_overlay.dts @@ -5,24 +5,23 @@ / { compatible = "toradex,colibri-imx7d-emmc","toradex,apalis_imx6q", "toradex,colibri_imx6dl"; - fragment@0 { - target-path = "/panel-dpi"; - __overlay__ { - status = "okay"; - width-mm = <154>; - height-mm = <86>; - panel-timing { - clock-frequency = <33230769>; - hactive = <800>; - vactive = <480>; - hsync-len = <128>; - hfront-porch = <40>; - hback-porch = <88>; - vsync-len = <1>; - vfront-porch = <10>; - vback-porch = <33>; - pixelclk-active = <1>; - }; - }; +}; + +&{/panel-dpi} { + status = "okay"; + width-mm = <154>; + height-mm = <86>; + panel-timing { + clock-frequency = <33230769>; + hactive = <800>; + vactive = <480>; + hsync-len = <128>; + hfront-porch = <40>; + hback-porch = <88>; + vsync-len = <1>; + vfront-porch = <10>; + vback-porch = <33>; + pixelclk-active = <1>; }; }; + |