summaryrefslogtreecommitdiff
path: root/overlays/colibri-imx7_panel-res-touch-7inch_overlay.dts
diff options
context:
space:
mode:
authorAishwarya Kothari <aishwarya.kothari@toradex.com>2022-09-28 14:11:24 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2022-10-03 16:23:30 +0200
commit943af5413b7521723a3a80a11e9e1e438846ac9b (patch)
tree976dfbd0290d04813b5f5896c9f57ab16c4eb431 /overlays/colibri-imx7_panel-res-touch-7inch_overlay.dts
parenta309fb3c2df3db40c2dd9e4c56c960c3f0a7580c (diff)
colibri-imx7: 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-imx7_panel-res-touch-7inch_overlay.dts')
-rw-r--r--overlays/colibri-imx7_panel-res-touch-7inch_overlay.dts25
1 files changed, 25 insertions, 0 deletions
diff --git a/overlays/colibri-imx7_panel-res-touch-7inch_overlay.dts b/overlays/colibri-imx7_panel-res-touch-7inch_overlay.dts
new file mode 100644
index 0000000..3f08526
--- /dev/null
+++ b/overlays/colibri-imx7_panel-res-touch-7inch_overlay.dts
@@ -0,0 +1,25 @@
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+/*
+ * Copyright 2022 Toradex
+ */
+
+// Enable the parallel RGB interface on the Colibri iMX7 with a
+// connected resistive touch 7" display.
+
+/dts-v1/;
+/plugin/;
+
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/interrupt-controller/irq.h>
+#include <imx7d-pinfunc.h>
+
+/ {
+ compatible = "toradex,colibri-imx7d",
+ "toradex,colibri-imx7s",
+ "toradex,colibri-imx7d-emmc";
+};
+
+#include "colibri-imx7_ad7879_overlay.dtsi"
+#include "colibri-imx7_parallel-rgb_overlay.dtsi"
+#include "display-lt161010_overlay.dtsi"
+