diff options
author | Aishwarya Kothari <aishwarya.kothari@toradex.com> | 2022-09-08 16:09:27 +0200 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2022-10-03 16:23:30 +0200 |
commit | bcb97544083ee6fe87ed4238bf1839842ffd9996 (patch) | |
tree | f69ed025a6f35f7b44b42c886e13d8fdddd5e42a /overlays/colibri-imx6_atmel-mxt-adapter_overlay.dtsi | |
parent | e9291c3ef183c55ce000450fb2abc4ec4de9b540 (diff) |
colibri-imx6: 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-imx6_atmel-mxt-adapter_overlay.dtsi')
-rw-r--r-- | overlays/colibri-imx6_atmel-mxt-adapter_overlay.dtsi | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/overlays/colibri-imx6_atmel-mxt-adapter_overlay.dtsi b/overlays/colibri-imx6_atmel-mxt-adapter_overlay.dtsi new file mode 100644 index 0000000..35b0bdc --- /dev/null +++ b/overlays/colibri-imx6_atmel-mxt-adapter_overlay.dtsi @@ -0,0 +1,27 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2020-2022 Toradex + */ + +// Atmel MXT capacitive touch controller for 7" and 10.1" displays +// orderable at Toradex. Compatible with a Capacitive Touch Adapter. + +&atmel_mxt_ts { + pinctrl-0 = <&pinctrl_atmel_adap>; + interrupt-parent = <&gpio1>; + interrupts = <9 IRQ_TYPE_EDGE_FALLING>; + reset-gpios = <&gpio2 10 GPIO_ACTIVE_LOW>; + status = "okay"; +}; + +&i2c3 { + status = "okay"; +}; + +&pwm1 { + status = "disabled"; +}; + +&pwm4 { + status = "disabled"; +}; |