From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) (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 692C247DD78 for ; Fri, 22 May 2026 16:12:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779466325; cv=none; b=fBxc9GxBEuzJvQML9mVimi/Ok8cPMeU3f9GiuT1IzNM6f0ht1ad8blS/rxnHGPsHIb7AOMkv9jJeC1PqSpV2v2dDoGNWUJWPAw8bygA1B6wwlLOVlfabBk1uMP9L8GG30nNZZk7TDbgX7qSD30LCx2hc8GV0ez2FPbJSjGyBpOk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779466325; c=relaxed/simple; bh=DYw9VjYd9ipznAYlbXUo4ldfb02okaa/4R9q2kBYgJQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ebzw69L7UzYBdsPbQteFn8e8Gg7E98yMau90j9nznNUTauc/EhjHmmacSK/GPLSMx9WnWJnmmi+HKdyGzMaFwyuBybR5XwT8N+0IcaJyTcYkGlBXjEaw7b6faOcCy2gXtzHv1+m9K0Bi1lsJOe8K+wTY/MsO6wkQOQyzvH5/vfw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=cXMLEsB6; arc=none smtp.client-ip=209.85.128.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="cXMLEsB6" Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-4903fd19957so14884845e9.1 for ; Fri, 22 May 2026 09:12:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1779466318; x=1780071118; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=GnOH4oi9MCTSp//zOnHHBdVKY0oDkBkYij1oiK/rQm8=; b=cXMLEsB6VZPT4ku0wpH99Nx8VCU43qjKJbY/fU8bYcAb9PziAB1F9U1QVBjutjl43B 5rk2GyPfsQzbVSdzTZTg+tOrn4vFL2wrQDaiZdR7ARnLMRI7aj13hAKEvtApAFic0EFa ABJi5usREfEEaSMlifFxkpro0r4FHNuHHkcDnWY8aQqKfXJSUbIrAWxgmR89/+iE3PK4 dUKAKUAuyNbZJBDFE5jfY2v+9f97SzCiPjhf5tMezUxs8mAr8/4Xte/0jg6O5gDuzljZ lvSv4Jhv1n5S8T54AnUKCQUcpZFMcOnxaNOkee/F8mJaIyADtouN1dlRMT727Vr+cjTP 0kvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779466318; x=1780071118; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=GnOH4oi9MCTSp//zOnHHBdVKY0oDkBkYij1oiK/rQm8=; b=bzfd9Uyy59rR+B5kiUDg4Ul5inlK+qcIp9i71LFBbrgcSX1cWMydWO816uxUliwHLc XCKLX2IspMSiZv5/Zi037C5IUpxYHIBrw3E9f+iWJ2y/iV1Xb1Pw7T4o56itALDaoe6E H6Rwk8fKs/E0hzn4uUtCYxSpNI4q/JMdn313MRRvUXrS86o0977U0eQ+nZhoFcbLrXzQ WruyNMkQqzRO3257Zi+0soBcuBtRkMsRfL6k0Rfvz7DKxmTZle2UGBNnFRvketOewfB7 yo7kCiwauas574ty8sdBMtL6YKmfCZvfCjbUWTe17JVZnWBxNVFOPUUlj2DI2mC0/Ojk Z2dA== X-Forwarded-Encrypted: i=1; AFNElJ+Cs3iXCjPacMeHV1YiLAJpA8RsXO+DXYvHEZ8ebsoO2u69y5CNwqqyWHosnxFNAR3rSe0jiOTLqv15W0A=@vger.kernel.org X-Gm-Message-State: AOJu0YxaPfHgWcxGHbAkiTSPcM8ymb2PO22BdBPL5RT5vCV5/gLumn9R uZ5eUt9WI4BdItUvw4SAUZc1mzc/FA1xspfJpNhS8hQrjF5JtCxTJrxV X-Gm-Gg: Acq92OHP0/8eisGr83AD9LYwUbS3LpIWZFxP8Zhy8H9BpA2CSV08y0H4AI4l/PxVKMT 2we0WNi4xXtHuEBLSUX2RpDztuSDmdAorRcoK3gZwh/I8y+Unz5Pu4GceKs58ByOnu0x/1/eth9 vWRD1gm49E5wwqH68udd/JL9W7FluWPAUS2DY6uBoQwDzXFCy3J/H1KkT+eDi4S376lwa/NUEyo JdlLyHZOpYlbvHkOW0CYgrMk627422/ZkcidDfOmm4rKzvejyn2N0hczHYsXGdtEuGrdrdQZu+W CM+WFmAH/63ylbVn2nhL1G7AE18vbb3poZMzOVfbaiH5uhhEbqNDkHUMw3BE6FbsNNCH4rjjGPt QTQdPizFOpIIzeYYJA5l302Ri9tA7F7xFkQjzc01a3F9brL2wB7sH5/SrMHsCTmh0nzLl/kt+Q6 VnsDGllkY0TS2dMWDb8bRAJ1S+H7PB5jqpjLCbsdgh3Q== X-Received: by 2002:a05:600c:3e12:b0:490:40f1:5314 with SMTP id 5b1f17b1804b1-49042482845mr63876345e9.1.1779466317936; Fri, 22 May 2026 09:11:57 -0700 (PDT) Received: from vitor-nb (dsl-113-208.bl27.telepac.pt. [176.79.113.208]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-490454a0b9asm51042755e9.11.2026.05.22.09.11.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 May 2026 09:11:57 -0700 (PDT) From: Vitor Soares To: Laurent Pinchart , Neil Armstrong , Jessica Zhang , David Airlie , Simona Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Lad Prabhakar , Thierry Reding Cc: Vitor Soares , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v3 11/11] arm64: dts: ti: k3-am62-verdin: Add Mezzanine with Toradex Display 10.1" LVDS Date: Fri, 22 May 2026 17:11:15 +0100 Message-ID: <20260522161105.277519-24-ivitro@gmail.com> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260522161105.277519-13-ivitro@gmail.com> References: <20260522161105.277519-13-ivitro@gmail.com> 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: Vitor Soares Add a device tree overlay enabling the Toradex Capacitive Touch Display 10.1" LVDS on the Verdin Development Board with Verdin AM62 Mezzanine expansion board. The panel connects via the AM62 OLDI0 on the Mezzanine LVDS interface (J10). 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. Link: https://developer.toradex.com/hardware/accessories/displays/capacitive-touch-display-101inch-lvds Assisted-by: Claude:claude-sonnet-4.6 Signed-off-by: Vitor Soares --- Changes in v3: - Add missing regulator-name property on fixed regulators - Simplify regulator labels - Rename touch@ nodes to touchscreen@ Changes in v2: - Use panel-simple compatible form arch/arm64/boot/dts/ti/Makefile | 5 + ...mezzanine-panel-cap-touch-10inch-lvds.dtso | 98 +++++++++++++++++++ 2 files changed, 103 insertions(+) create mode 100644 arch/arm64/boot/dts/ti/k3-am625-verdin-dev-mezzanine-panel-cap-touch-10inch-lvds.dtso diff --git a/arch/arm64/boot/dts/ti/Makefile b/arch/arm64/boot/dts/ti/Makefile index 90bb3b0522d3..371f9a043fe5 100644 --- a/arch/arm64/boot/dts/ti/Makefile +++ b/arch/arm64/boot/dts/ti/Makefile @@ -30,6 +30,7 @@ dtb-$(CONFIG_ARCH_K3) += k3-am625-phyboard-lyra-rdk.dtb dtb-$(CONFIG_ARCH_K3) += k3-am625-sk.dtb dtb-$(CONFIG_ARCH_K3) += k3-am625-tqma62xx-mba62xx.dtb dtb-$(CONFIG_ARCH_K3) += k3-am625-verdin-dev-mezzanine-can.dtbo +dtb-$(CONFIG_ARCH_K3) += k3-am625-verdin-dev-mezzanine-panel-cap-touch-10inch-lvds.dtbo dtb-$(CONFIG_ARCH_K3) += k3-am625-verdin-dev-nau8822-btl.dtbo dtb-$(CONFIG_ARCH_K3) += k3-am625-verdin-dsi-to-hdmi.dtbo dtb-$(CONFIG_ARCH_K3) += k3-am625-verdin-dsi-to-lvds-panel-cap-touch-10inch.dtbo @@ -231,6 +232,9 @@ k3-am625-verdin-wifi-dev-dsi-to-lvds-panel-cap-touch-10inch-dtbs := \ k3-am625-verdin-dsi-to-lvds-panel-cap-touch-10inch.dtbo k3-am625-verdin-wifi-dev-mezzanine-can-dtbs := k3-am625-verdin-wifi-dev.dtb \ k3-am625-verdin-dev-mezzanine-can.dtbo +k3-am625-verdin-wifi-dev-mezzanine-panel-cap-touch-10inch-lvds-dtbs := \ + k3-am625-verdin-wifi-dev.dtb \ + k3-am625-verdin-dev-mezzanine-panel-cap-touch-10inch-lvds.dtbo k3-am625-verdin-wifi-dev-nau8822-btl-dtbs := k3-am625-verdin-wifi-dev.dtb \ k3-am625-verdin-dev-nau8822-btl.dtbo k3-am625-verdin-wifi-dev-ov5640-24mhz-dtbs := k3-am625-verdin-wifi-dev.dtb \ @@ -348,6 +352,7 @@ dtb- += k3-am625-beagleplay-csi2-ov5640.dtb \ k3-am625-sk-hdmi-audio.dtb \ k3-am625-verdin-wifi-dev-dsi-to-lvds-panel-cap-touch-10inch.dtb \ k3-am625-verdin-wifi-dev-mezzanine-can.dtb \ + k3-am625-verdin-wifi-dev-mezzanine-panel-cap-touch-10inch-lvds.dtb \ k3-am625-verdin-wifi-dev-nau8822-btl.dtb \ k3-am625-verdin-wifi-dev-ov5640-24mhz.dtb \ k3-am625-verdin-wifi-dev-ov5640.dtb \ diff --git a/arch/arm64/boot/dts/ti/k3-am625-verdin-dev-mezzanine-panel-cap-touch-10inch-lvds.dtso b/arch/arm64/boot/dts/ti/k3-am625-verdin-dev-mezzanine-panel-cap-touch-10inch-lvds.dtso new file mode 100644 index 000000000000..83fc4f3a24f5 --- /dev/null +++ b/arch/arm64/boot/dts/ti/k3-am625-verdin-dev-mezzanine-panel-cap-touch-10inch-lvds.dtso @@ -0,0 +1,98 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright (c) Toradex + * + * Toradex Capacitive Touch Display 10.1" LVDS on the Verdin AM62 Mezzanine + * LVDS interface (J10), used with the Verdin Development Board. + * + * https://developer.toradex.com/hardware/accessories/displays/capacitive-touch-display-101inch-lvds + * https://www.toradex.com/accessories/capacitive-touch-display-10.1-inch-lvds + */ + +/dts-v1/; +/plugin/; + +#include +#include +#include + +&{/} { + backlight_pwm2: backlight-pwm2 { + compatible = "pwm-backlight"; + brightness-levels = <0 45 63 88 119 158 203 255>; + default-brightness-level = <4>; + /* Verdin GPIO_4 (SODIMM 212) - LVDS_BKL_EN */ + enable-gpios = <&mcu_gpio0 4 GPIO_ACTIVE_HIGH>; + /* Verdin PWM_2 (SODIMM 16) - LVDS_PWM */ + pwms = <&epwm0 1 6666667 PWM_POLARITY_INVERTED>; + }; + + panel-lvds-native { + compatible = "logictechno,lt170410-2whc"; + backlight = <&backlight_pwm2>; + power-supply = <®_3v3_lvds>; + + port { + panel_lvds_native_in: endpoint { + remote-endpoint = <&oldi0_out>; + }; + }; + }; + + reg_3v3_lvds: regulator-3v3-lvds { + compatible = "regulator-fixed"; + regulator-max-microvolt = <3300000>; + regulator-min-microvolt = <3300000>; + regulator-name = "+V3.3_LVDS"; + }; +}; + +&dss { + status = "okay"; +}; + +&dss_ports { + #address-cells = <1>; + #size-cells = <0>; + + /* DSS VP1: internal DPI output to OLDIx */ + port@0 { + reg = <0>; + + dss0_out: endpoint { + remote-endpoint = <&oldi0_in>; + }; + }; +}; + +/* Verdin I2C_2_DSI */ +&main_i2c2 { + #address-cells = <1>; + #size-cells = <0>; + + touchscreen@4a { + compatible = "atmel,maxtouch"; + reg = <0x4a>; + /* Verdin GPIO_3 (SODIMM 210) - LVDS_TOUCH_INT# */ + interrupt-parent = <&mcu_gpio0>; + interrupts = <3 IRQ_TYPE_EDGE_FALLING>; + /* Verdin GPIO_2 (SODIMM 208) - LVDS_TOUCH_RST# */ + reset-gpios = <&mcu_gpio0 2 GPIO_ACTIVE_LOW>; + }; +}; + +&oldi0 { + status = "okay"; +}; + +&oldi0_port0 { + oldi0_in: endpoint { + remote-endpoint = <&dss0_out>; + }; +}; + +&oldi0_port1 { + oldi0_out: endpoint { + remote-endpoint = <&panel_lvds_native_in>; + }; +}; -- 2.54.0