From 198c73623411c214166c0297a4fcd006ba02c57b Mon Sep 17 00:00:00 2001 From: Oleksandr Suvorov Date: Mon, 3 Aug 2020 09:59:31 +0300 Subject: 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 --- overlays/apalis-imx6_disable-parallel-rgb_overlay.dts | 13 +++++++++++++ overlays/apalis-imx6_parallel-rgb_overlay.dts | 14 -------------- 2 files changed, 13 insertions(+), 14 deletions(-) create mode 100644 overlays/apalis-imx6_disable-parallel-rgb_overlay.dts delete mode 100644 overlays/apalis-imx6_parallel-rgb_overlay.dts (limited to 'overlays') 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"; - }; - }; -}; -- cgit v1.2.3