summaryrefslogtreecommitdiff
path: root/overlays/colibri-imx6ull_parallel-rgb_overlay.dtsi
diff options
context:
space:
mode:
authorAishwarya Kothari <aishwarya.kothari@toradex.com>2022-09-28 10:22:28 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2022-10-03 16:23:30 +0200
commita309fb3c2df3db40c2dd9e4c56c960c3f0a7580c (patch)
tree84b72ae075c89f6b179045fc85a96327168a3b2c /overlays/colibri-imx6ull_parallel-rgb_overlay.dtsi
parentbcb97544083ee6fe87ed4238bf1839842ffd9996 (diff)
colibri-imx6ull: move to one overlay per accessory
Move the existing overlays to dtsi files and include them into one accessory dts. Provide data-mapping timings appropriately for each machine instead of the hardcoding and use a single overlay per SoC to avoid code duplication. Signed-off-by: Aishwarya Kothari <aishwarya.kothari@toradex.com>
Diffstat (limited to 'overlays/colibri-imx6ull_parallel-rgb_overlay.dtsi')
-rw-r--r--overlays/colibri-imx6ull_parallel-rgb_overlay.dtsi23
1 files changed, 23 insertions, 0 deletions
diff --git a/overlays/colibri-imx6ull_parallel-rgb_overlay.dtsi b/overlays/colibri-imx6ull_parallel-rgb_overlay.dtsi
new file mode 100644
index 0000000..c91b9f3
--- /dev/null
+++ b/overlays/colibri-imx6ull_parallel-rgb_overlay.dtsi
@@ -0,0 +1,23 @@
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+/*
+ * Copyright 2021-2022 Toradex
+ */
+
+// Enable the parallel RGB interface on the Colibri iMX6ULL.
+
+&backlight {
+ status = "okay";
+};
+
+&lcdif {
+ status = "okay";
+};
+
+&panel_dpi {
+ data-mapping = "bgr666";
+ status = "okay";
+};
+
+&pwm4 {
+ status = "okay";
+};