summaryrefslogtreecommitdiff
path: root/overlays/colibri-imx8x_panel-res-touch-7inch_overlay.dts
diff options
context:
space:
mode:
authorEmanuele Ghidoli <emanuele.ghidoli@toradex.com>2023-03-20 17:05:28 +0100
committerEmanuele Ghidoli <emanuele.ghidoli@toradex.com>2023-03-29 09:36:34 +0200
commit9ea91adb929cb49a2cc8dc32dd9bd6c639ca2757 (patch)
treeb4674ffac443eee7c7e25606cd5944d7d307cdcb /overlays/colibri-imx8x_panel-res-touch-7inch_overlay.dts
parentb23b354afb8e9027c07869bcfc1e019a1e0358b2 (diff)
colibri-imx8x: 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. Related-to: ELB-4754 Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com>
Diffstat (limited to 'overlays/colibri-imx8x_panel-res-touch-7inch_overlay.dts')
-rw-r--r--overlays/colibri-imx8x_panel-res-touch-7inch_overlay.dts21
1 files changed, 21 insertions, 0 deletions
diff --git a/overlays/colibri-imx8x_panel-res-touch-7inch_overlay.dts b/overlays/colibri-imx8x_panel-res-touch-7inch_overlay.dts
new file mode 100644
index 0000000..4f7a377
--- /dev/null
+++ b/overlays/colibri-imx8x_panel-res-touch-7inch_overlay.dts
@@ -0,0 +1,21 @@
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+/*
+ * Copyright 2023 Toradex
+ */
+
+// Enable the parallel RGB interface on the Colibri iMX8X with a
+// connected resistive touch 7" display.
+
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/interrupt-controller/irq.h>
+
+/dts-v1/;
+/plugin/;
+
+/ {
+ compatible = "toradex,colibri-imx8x";
+};
+
+#include "colibri-imx8x_ad7879_overlay.dtsi"
+#include "colibri-imx8x_parallel-rgb_overlay.dtsi"
+#include "display-lt161010_overlay.dtsi"