diff options
author | Oleksandr Suvorov <oleksandr.suvorov@toradex.com> | 2020-08-03 09:59:31 +0300 |
---|---|---|
committer | Oleksandr Suvorov <oleksandr.suvorov@toradex.com> | 2020-08-20 11:18:37 +0300 |
commit | 198c73623411c214166c0297a4fcd006ba02c57b (patch) | |
tree | 1e916e9df1fb2d1d3b9fda4150135a17ec9ccd00 | |
parent | 139b7c289879e0740b7cc77334130dd7d1d06635 (diff) |
apalis-imx6: fix the overlay for parallel rgb
There is no /disp0 node in Apalis iMX6 at all.
Apalis iMX6 has an lcd_display node that describes a parallel RGB
interface and is enabled by default.
To make the overlay for a parallel RGB have sense, convert it to
disabling and use proper node name.
Convert an overlay file for enabling the Parallel RGB interface (eLCDIF)
on Colibri-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>
-rw-r--r-- | overlays/apalis-imx6_disable-parallel-rgb_overlay.dts | 13 | ||||
-rw-r--r-- | overlays/apalis-imx6_parallel-rgb_overlay.dts | 14 |
2 files changed, 13 insertions, 14 deletions
diff --git a/overlays/apalis-imx6_disable-parallel-rgb_overlay.dts b/overlays/apalis-imx6_disable-parallel-rgb_overlay.dts new file mode 100644 index 0000000..8dadb1d --- /dev/null +++ b/overlays/apalis-imx6_disable-parallel-rgb_overlay.dts @@ -0,0 +1,13 @@ +// Disable the parallel RGB interface on the Apalis iMX6Q. + +/dts-v1/; +/plugin/; + +/ { + compatible = "toradex,apalis_imx6q"; +}; + +&lcd_display { + status = "disabled"; +}; + diff --git a/overlays/apalis-imx6_parallel-rgb_overlay.dts b/overlays/apalis-imx6_parallel-rgb_overlay.dts deleted file mode 100644 index b8eacde..0000000 --- a/overlays/apalis-imx6_parallel-rgb_overlay.dts +++ /dev/null @@ -1,14 +0,0 @@ -// Enable the parallel RGB interface on the Apalis iMX6Q. Make sure to also select a valid display configuration. - -/dts-v1/; -/plugin/; - -/ { - compatible = "toradex,apalis_imx6q"; - fragment@0 { - target-path = "/disp0"; - __overlay__ { - status = "okay"; - }; - }; -}; |