From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail11.truemail.it (mail11.truemail.it [217.194.8.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E915352ED49; Thu, 1 Oct 2026 17:49:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.194.8.81 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790876992; cv=none; b=sDCJ0MvZZtQ1wjyCoY8ZFuX62t1Z+qDkPYjirfeH7VFaFkoVOmG6UHx2VMd7vKLkbRm/qizsiCf/OHgN9+OJp9pDZZBg8aiyKvhlD6uaIGjCk2zZO9TjSoO8dKq2yM/zgFCgT+xjR0qHncXa4N7b/9DS4a2qUsGj1wM+zsF1gT4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790876992; c=relaxed/simple; bh=uWG6kiZaPvewrglnRzBfV6/Kay+66gwgq8ZykPjROoE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=FHj5jyzPgYQoiz+ucJJBY2PfzPJ9/fpaCmRyz5WlahztIp9a4A7nlH+FzVk4Y5NTroSc3XCO6Iv/AMaD4meNT2wzz15dYyrrbn5cuZxlfqQNtEDcGWGWRXhPRn0ocaE1MsF2ctODjQe3bgtX8JSS72AZDcW99oXN3JUztSAaCbs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dolcini.it; spf=pass smtp.mailfrom=dolcini.it; dkim=pass (2048-bit key) header.d=dolcini.it header.i=@dolcini.it header.b=hZWAa583; arc=none smtp.client-ip=217.194.8.81 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dolcini.it Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=dolcini.it Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=dolcini.it header.i=@dolcini.it header.b="hZWAa583" Received: from francesco-nb.. (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) by mail11.truemail.it (Postfix) with ESMTPA id 6045F20174; Thu, 1 Oct 2026 19:49:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dolcini.it; s=default; t=1790876974; bh=qxoOG7MFq3WIPfCECZKdzzAWFlj3gAqNV/14P5SZDYY=; h=From:To:Subject; b=hZWAa5835PxLRDHb9X8Za1GmIaJsyz0u9SX262yi6blgQyJxul6t3wZrxdI7O9KFI WjZhv3vhOPFsrcE8+44ZlAji8olpgngrL1ZA8V1UOzGRiMG0N0HCiF4JBw9aBc6zbU bObT/dfpPqZFD80USN2Q7Kcv8zaZXhtiHIgYuKMZsWXeMfGkcm21OlYBWqQnwiAY0O P+8gha5jvNe5S5LGdFAMH2Szt8Xwq/+hleitCDa0h9emQtofUd4CP/VsuitIdQnriR GUGl/lR8xLRXVkI9yakcaqZkVXY7GhPNpXfGU51+A+En73gsbVnIKr2wf/HJJ+16J7 UhZKZMhElPUyQ== From: Francesco Dolcini To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Frank Li , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: Francesco Dolcini , devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 5/7] ARM: dts: imx6ull-colibri-emmc: Add Toradex Capacitive Touch Display 7" Parallel with Touch Adapter Date: Thu, 1 Oct 2026 19:49:14 +0200 Message-ID: <20261001174924.3831455-6-francesco@dolcini.it> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20261001174924.3831455-1-francesco@dolcini.it> References: <20261001174924.3831455-1-francesco@dolcini.it> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Francesco Dolcini Add a device tree overlay for the Capacitive Touch Display 7" Parallel on the Colibri iMX6ULL eMMC parallel RGB LCD interface. The panel is a LogicTechno LT161010-2NHC 7" WVGA TFT Transmissive LCD and the touch input is provided by an Atmel MaxTouch capacitive touch controller. The touch controller is connected to the Toradex Capacitive Touch Adapter, the connection to the various carrier boards is documented in the datasheet [1]. The panel, backlight and LCDIF configuration is identical to the Colibri iMX7 eMMC one, only the Atmel MaxTouch controller wiring and the conflicting PWM channels are SoC specific. To avoid duplicating it, rework the Colibri iMX7 eMMC overlay to include the dtsi shared between the two modules, and use it from the new overlay as well. The overlay is also combined with the Eval carrier board device tree to provide a ready-to-use DTB. Link: https://developer.toradex.com/hardware/accessories/displays/capacitive-touch-display-7inch-parallel/ Link: https://developer.toradex.com/hardware/accessories/add-ons/capacitive-touch-adapter/ Link: https://docs.toradex.com/104615-capacitive-touch-adapter-datasheet.pdf [1] Signed-off-by: Francesco Dolcini --- arch/arm/boot/dts/nxp/imx/Makefile | 6 +++ ...ap-touch-7inch-parallel-touch-adapter.dtso | 46 +++++++++++++++++++ ...ap-touch-7inch-parallel-touch-adapter.dtso | 16 +------ 3 files changed, 54 insertions(+), 14 deletions(-) create mode 100644 arch/arm/boot/dts/nxp/imx/imx6ull-colibri-emmc-panel-cap-touch-7inch-parallel-touch-adapter.dtso diff --git a/arch/arm/boot/dts/nxp/imx/Makefile b/arch/arm/boot/dts/nxp/imx/Makefile index eee3f4e8e7c0..d7639ef9ab44 100644 --- a/arch/arm/boot/dts/nxp/imx/Makefile +++ b/arch/arm/boot/dts/nxp/imx/Makefile @@ -361,6 +361,10 @@ imx6ull-colibri-emmc-iris-v2-panel-cap-touch-7inch-parallel-dtbs := \ imx6ull-colibri-emmc-iris-v2.dtb \ imx6ull-colibri-emmc-panel-cap-touch-7inch-parallel.dtbo +imx6ull-colibri-emmc-eval-v3-panel-cap-touch-7inch-parallel-touch-adapter-dtbs := \ + imx6ull-colibri-emmc-eval-v3.dtb \ + imx6ull-colibri-emmc-panel-cap-touch-7inch-parallel-touch-adapter.dtbo + dtb-$(CONFIG_SOC_IMX6UL) += \ imx6ul-14x14-evk.dtb \ imx6ul-ccimx6ulsbcexpress.dtb \ @@ -391,10 +395,12 @@ dtb-$(CONFIG_SOC_IMX6UL) += \ imx6ull-colibri-emmc-aster.dtb \ imx6ull-colibri-emmc-aster-panel-cap-touch-7inch-parallel.dtb \ imx6ull-colibri-emmc-eval-v3.dtb \ + imx6ull-colibri-emmc-eval-v3-panel-cap-touch-7inch-parallel-touch-adapter.dtb \ imx6ull-colibri-emmc-iris.dtb \ imx6ull-colibri-emmc-iris-v2.dtb \ imx6ull-colibri-emmc-iris-v2-panel-cap-touch-7inch-parallel.dtb \ imx6ull-colibri-emmc-panel-cap-touch-7inch-parallel.dtbo \ + imx6ull-colibri-emmc-panel-cap-touch-7inch-parallel-touch-adapter.dtbo \ imx6ull-colibri-eval-v3.dtb \ imx6ull-colibri-iris.dtb \ imx6ull-colibri-iris-v2.dtb \ diff --git a/arch/arm/boot/dts/nxp/imx/imx6ull-colibri-emmc-panel-cap-touch-7inch-parallel-touch-adapter.dtso b/arch/arm/boot/dts/nxp/imx/imx6ull-colibri-emmc-panel-cap-touch-7inch-parallel-touch-adapter.dtso new file mode 100644 index 000000000000..50162ba0ec9c --- /dev/null +++ b/arch/arm/boot/dts/nxp/imx/imx6ull-colibri-emmc-panel-cap-touch-7inch-parallel-touch-adapter.dtso @@ -0,0 +1,46 @@ +// SPDX-License-Identifier: GPL-2.0-only OR MIT +/* + * Copyright (c) Toradex + * + * Toradex Capacitive Touch Display 7" Parallel connected through the 40-way + * Unified Interface Display connector and Toradex Capacitive Touch Adapter. + * + * Toradex Capacitive Touch Adapter connection with the various carrier boards + * is documented in the datasheet [1]. + * + * https://developer.toradex.com/hardware/accessories/displays/capacitive-touch-display-7inch-parallel/ + * https://www.toradex.com/accessories/capacitive-touch-display-7-inch-parallel + * https://docs.toradex.com/104497-7-inch-parallel-capacitive-touch-display-800x480-datasheet.pdf + * https://developer.toradex.com/hardware/accessories/add-ons/capacitive-touch-adapter/ + * https://www.toradex.com/accessories/capacitive-touch-adapter + * https://docs.toradex.com/104615-capacitive-touch-adapter-datasheet.pdf [1] + */ + +/dts-v1/; +/plugin/; + +#include +#include + +#include "imx6ull-imx7-colibri-panel-cap-touch-7inch-parallel.dtsi" + +&atmel_mxt_ts { + pinctrl-0 = <&pinctrl_atmel_adap>; + /* SODIMM 28 / TOUCH_INT# */ + interrupt-parent = <&gpio4>; + interrupts = <16 IRQ_TYPE_EDGE_FALLING>; + /* SODIMM 30 / TOUCH_RST# */ + reset-gpios = <&gpio2 5 GPIO_ACTIVE_LOW>; + + status = "okay"; +}; + +/* Conflict with SODIMM 28 / TOUCH_INT# */ +&pwm5 { + status = "disabled"; +}; + +/* Conflict with SODIMM 30 / TOUCH_RST# */ +&pwm6 { + status = "disabled"; +}; diff --git a/arch/arm/boot/dts/nxp/imx/imx7d-colibri-emmc-panel-cap-touch-7inch-parallel-touch-adapter.dtso b/arch/arm/boot/dts/nxp/imx/imx7d-colibri-emmc-panel-cap-touch-7inch-parallel-touch-adapter.dtso index 890461f92442..8f1335afd149 100644 --- a/arch/arm/boot/dts/nxp/imx/imx7d-colibri-emmc-panel-cap-touch-7inch-parallel-touch-adapter.dtso +++ b/arch/arm/boot/dts/nxp/imx/imx7d-colibri-emmc-panel-cap-touch-7inch-parallel-touch-adapter.dtso @@ -22,6 +22,8 @@ #include #include +#include "imx6ull-imx7-colibri-panel-cap-touch-7inch-parallel.dtsi" + &atmel_mxt_ts { pinctrl-0 = <&pinctrl_atmel_adapter>; /* SODIMM 28 / TOUCH_INT# */ @@ -33,20 +35,6 @@ &atmel_mxt_ts { status = "okay"; }; -&backlight { - status = "okay"; -}; - -&lcdif { - status = "okay"; -}; - -&panel_dpi { - compatible = "logictechno,lt161010-2nhc"; - - status = "okay"; -}; - /* Conflict with SODIMM 28 / TOUCH_INT# */ &pwm2 { status = "disabled"; -- 2.47.3