summaryrefslogtreecommitdiff
path: root/overlays/colibri-imx6ull_atmel-mxt-connector_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_atmel-mxt-connector_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_atmel-mxt-connector_overlay.dtsi')
-rw-r--r--overlays/colibri-imx6ull_atmel-mxt-connector_overlay.dtsi27
1 files changed, 27 insertions, 0 deletions
diff --git a/overlays/colibri-imx6ull_atmel-mxt-connector_overlay.dtsi b/overlays/colibri-imx6ull_atmel-mxt-connector_overlay.dtsi
new file mode 100644
index 0000000..62fe90b
--- /dev/null
+++ b/overlays/colibri-imx6ull_atmel-mxt-connector_overlay.dtsi
@@ -0,0 +1,27 @@
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+/*
+ * Copyright 2021-2022 Toradex
+ */
+
+// Atmel MXT capacitive touch controller for the 7" and 10.1" displays
+// orderable at Toradex. Compatible with a Capacitive Touch Connector.
+
+&atmel_mxt_ts {
+ status = "okay";
+};
+
+&i2c1 {
+ status = "okay";
+};
+
+/* PWM <B> */
+&pwm5 {
+ /* Pin already used by atmel_mxt_ts touchscreen */
+ status = "disabled";
+};
+
+/* PWM <C> */
+&pwm6 {
+ /* Pin already used by atmel_mxt_ts touchscreen */
+ status = "disabled";
+};