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 3323D46AEF1; Mon, 5 Oct 2026 09:50:21 +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=1791193826; cv=none; b=Q9X4kUXdtTd4QG6aGy5Tq0OyQOZHw6P/6/PovxK0SpuFZxrT0EAzsGXZredExV6PFv1uDkCvVKFCxVf2w0BV3BF7K1FPJnwRV2RcWD30T3HblCNlmVbT1HGKvrN5hPBPHz97JbuA5XY4NvxdVW3i1gcPYuPqat3R+42x0ZhNhWs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791193826; c=relaxed/simple; bh=rBlh80E+iCd69mfCloGjYAXkZ5h5mgscjjlDXKhy26I=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=QS7fJXH0i5oNVks9/XRcXxEGhrwBZtGUd3SfFwgdqce7TvBwzyuoGPi1cLLZcWnMgJeDuvYep6d4ANcnwzvyIOE4rVZallhHq/AvuVR3hpRcprKYIN1r7PKjM1YM0TzbsndcjbM94X96B6ODt1XI2iKYIukUy3TJzYFSZ54RuAc= 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=pA5FsFrN; 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="pA5FsFrN" Received: from francesco-nb.. (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) by mail11.truemail.it (Postfix) with ESMTPA id B30281FC90; Mon, 5 Oct 2026 11:50:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dolcini.it; s=default; t=1791193819; bh=sPTNcpCzfgcdS8RGPPF/gEa81j+VgsvIHhK7KCjyHO4=; h=From:To:Subject; b=pA5FsFrNVnj4fdFopj3hwZgJGCDCmZxmTtx6pgsXLJQSDxRMQ55luQdPZZchGiDg4 qRKHtjN1srZfTnl1ek7z+q95abCXIhukGmi2tBGCNKM3y23Cav2RJ2ZKzCTUavnmua +p7lh/x7L09KYCAWjMEg2L6Vzrj0S2IJMxTrWmgl0p4qo8onUVIViLnlfuLgYeVpG8 GlhbDRcXBuUjFy0kvn6dk+QfH/MaaIoHw/wgJCWuD6zh8cLnKu4jffd6y2AKaXDaOB c2cE2taHe3QbIJQI9omDjnWVeg3SALtDKMzskvSLfANsUM7/mL70vNIC6ek5i+5uo9 1imwGe04x9M3Q== From: Francesco Dolcini To: Francesco Dolcini , Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Luca Ceresoli , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Frank Li , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: Francesco Dolcini , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 4/4] ARM: dts: imx6ull-colibri-emmc: Add Toradex Capacitive Touch Display 10" LVDS Date: Mon, 5 Oct 2026 11:50:04 +0200 Message-ID: <20261005095006.20290-5-francesco@dolcini.it> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20261005095006.20290-1-francesco@dolcini.it> References: <20261005095006.20290-1-francesco@dolcini.it> Precedence: bulk X-Mailing-List: linux-kernel@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 Toradex Capacitive Touch Display 10.1" LVDS connected through the DPI to LVDS transmitter on the Iris v2 carrier board. The panel is a LogicTechno LT170410-2WHC 10.1" WXGA IPS LCD and the touch input is provided by an Atmel MaxTouch capacitive touch controller. The LVDS transmitter, panel, backlight and LCDIF description is shared with the Colibri iMX7 overlay, only the LVDS transmitter control GPIOs and the Atmel MaxTouch controller wiring are SoC specific. The overlay is also combined with the Iris v2 carrier board device tree to provide a ready-to-use DTB. Link: https://developer.toradex.com/hardware/accessories/displays/capacitive-touch-display-101inch-lvds Signed-off-by: Francesco Dolcini --- v2: new patch --- arch/arm/boot/dts/nxp/imx/Makefile | 7 +++ ...emmc-iris-panel-cap-touch-10inch-lvds.dtso | 49 +++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 arch/arm/boot/dts/nxp/imx/imx6ull-colibri-emmc-iris-panel-cap-touch-10inch-lvds.dtso diff --git a/arch/arm/boot/dts/nxp/imx/Makefile b/arch/arm/boot/dts/nxp/imx/Makefile index dac2e146ed75..7b838f32c013 100644 --- a/arch/arm/boot/dts/nxp/imx/Makefile +++ b/arch/arm/boot/dts/nxp/imx/Makefile @@ -352,6 +352,11 @@ dtb-$(CONFIG_SOC_IMX6SX) += \ imx6sx-udoo-neo-basic.dtb \ imx6sx-udoo-neo-extended.dtb \ imx6sx-udoo-neo-full.dtb + +imx6ull-colibri-emmc-iris-v2-panel-cap-touch-10inch-lvds-dtbs := \ + imx6ull-colibri-emmc-iris-v2.dtb \ + imx6ull-colibri-emmc-iris-panel-cap-touch-10inch-lvds.dtbo + dtb-$(CONFIG_SOC_IMX6UL) += \ imx6ul-14x14-evk.dtb \ imx6ul-ccimx6ulsbcexpress.dtb \ @@ -382,7 +387,9 @@ dtb-$(CONFIG_SOC_IMX6UL) += \ imx6ull-colibri-emmc-aster.dtb \ imx6ull-colibri-emmc-eval-v3.dtb \ imx6ull-colibri-emmc-iris.dtb \ + imx6ull-colibri-emmc-iris-panel-cap-touch-10inch-lvds.dtbo \ imx6ull-colibri-emmc-iris-v2.dtb \ + imx6ull-colibri-emmc-iris-v2-panel-cap-touch-10inch-lvds.dtb \ 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-iris-panel-cap-touch-10inch-lvds.dtso b/arch/arm/boot/dts/nxp/imx/imx6ull-colibri-emmc-iris-panel-cap-touch-10inch-lvds.dtso new file mode 100644 index 000000000000..f698d6768279 --- /dev/null +++ b/arch/arm/boot/dts/nxp/imx/imx6ull-colibri-emmc-iris-panel-cap-touch-10inch-lvds.dtso @@ -0,0 +1,49 @@ +// SPDX-License-Identifier: GPL-2.0-only OR MIT +/* + * Copyright (c) Toradex + * + * Toradex Capacitive Touch Display 10.1" LVDS + * + * Toradex Capacitive Touch Display 10.1" on Iris v2 carrier board X7 / X5 + * connectors through on-carrier LVDS transmitter + * + * https://developer.toradex.com/hardware/accessories/displays/capacitive-touch-display-101inch-lvds + * https://www.toradex.com/accessories/capacitive-touch-display-10.1-inch-lvds + * https://developer.toradex.com/hardware/colibri-som-family/carrier-boards/iris-carrier-board/ + * https://www.toradex.com/products/carrier-board/iris-carrier-board + * https://docs.toradex.com/108421-colibri_arm_iris_carrier_board_datasheet.pdf + */ + +/dts-v1/; +/plugin/; + +#include +#include + +#include "imx6ull-imx7-colibri-iris-panel-cap-touch-10inch-lvds.dtsi" + +&atmel_mxt_ts { + pinctrl-0 = <&pinctrl_atmel_conn &pinctrl_atmel_snvs_conn>; + /* SODIMM 107 / TOUCH_INT# */ + interrupt-parent = <&gpio5>; + interrupts = <4 IRQ_TYPE_EDGE_FALLING>; + /* SODIMM 106 / TOUCH_RST# */ + reset-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>; + + status = "okay"; +}; + +/* + * The LVDS transmitter control pins are muxed as GPIO by the pinctrl_gpio1, + * pinctrl_gpio7 and pinctrl_snvs_gpio1 groups of the module device tree. + */ +&lvds_encoder { + /* SODIMM 63 / LVDS_RGB_MODE */ + b6b8-gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>; + /* SODIMM 95 / LVDS_COLOR_MAP */ + map-gpios = <&gpio5 3 GPIO_ACTIVE_HIGH>; + /* SODIMM 55 / LVDS_CH_MODE */ + mode-gpios = <&gpio2 0 GPIO_ACTIVE_HIGH>; + /* SODIMM 99 / LVDS_PWRON */ + powerdown-gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; +}; -- 2.47.3