diff options
author | Oleksandr Suvorov <oleksandr.suvorov@toradex.com> | 2020-08-01 18:08:47 +0300 |
---|---|---|
committer | Oleksandr Suvorov <oleksandr.suvorov@toradex.com> | 2020-08-03 11:38:05 +0300 |
commit | 8597b03ca9c73bef0499efff7a4b3a2d957cc7a6 (patch) | |
tree | da07e1e18ff620799d0c7e8d6690a107e2929ea6 /overlays | |
parent | f434c263d34722c29213b993896465c9cb72cb29 (diff) |
display: convert EDT7.0 to syntactic sugar
Convert an overlay file for EDT7.0 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')
-rw-r--r-- | overlays/display-edt7_overlay.dts | 35 |
1 files changed, 17 insertions, 18 deletions
diff --git a/overlays/display-edt7_overlay.dts b/overlays/display-edt7_overlay.dts index a62cfea..2daf547 100644 --- a/overlays/display-edt7_overlay.dts +++ b/overlays/display-edt7_overlay.dts @@ -5,23 +5,22 @@ / { compatible = "toradex,colibri-imx7d-emmc","toradex,apalis_imx6q", "toradex,colibri_imx6dl"; - fragment@0 { - target-path = "/panel-dpi"; - __overlay__ { - status = "okay"; - width-mm = <155>; - height-mm = <91>; - 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>; - }; - }; +}; + +&{/panel-dpi} { + status = "okay"; + width-mm = <155>; + height-mm = <91>; + 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>; }; }; + |