From nobody Sat Oct 4 05:02:37 2025 Received: from mail-pl1-f171.google.com (mail-pl1-f171.google.com [209.85.214.171]) (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 A6F64299ABD for ; Thu, 21 Aug 2025 03:15:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.171 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755746129; cv=none; b=lNZDYizVjSSvHjPwe8It8sI/fjf3juCnznJf4Zchz/FmmPMZhqbEbWvZg+Wu3+4G+o1E3U3dpKVlh1ASioCNcxeUvFAQXfUQnAYMin/uERVFP5m8viOZYLUu3uMJrLAYbRzE5kVP+JGGL4lJscJ3cEUh1+nlbZUpb2QLpxBL5/w= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755746129; c=relaxed/simple; bh=xK/uY5dPDT/WYt2ovB3Su03oSdypjzmDFfJL7Y6Aluo=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=ejyns+5M+JpOGOxOG4ByWA2nwNdxwtC9t1gXZEH5w3ep6p+1VO914541DOEFbla4tuVhZuSLYAHtNXeNp4Dk/AJ2gfi9Yglc9z0orDOacJOFXTQNHar1hCetmesPqCv3orSYEplDl/u/pOKCt8lFzHtAkYQLV5uGOAJK2IvzBmI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=huaqin.corp-partner.google.com; spf=pass smtp.mailfrom=huaqin.corp-partner.google.com; dkim=pass (2048-bit key) header.d=huaqin-corp-partner-google-com.20230601.gappssmtp.com header.i=@huaqin-corp-partner-google-com.20230601.gappssmtp.com header.b=amfP20CX; arc=none smtp.client-ip=209.85.214.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=huaqin.corp-partner.google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huaqin.corp-partner.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=huaqin-corp-partner-google-com.20230601.gappssmtp.com header.i=@huaqin-corp-partner-google-com.20230601.gappssmtp.com header.b="amfP20CX" Received: by mail-pl1-f171.google.com with SMTP id d9443c01a7336-2449978aceaso3656825ad.2 for ; Wed, 20 Aug 2025 20:15:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=huaqin-corp-partner-google-com.20230601.gappssmtp.com; s=20230601; t=1755746127; x=1756350927; 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=CtqV3HNShNm2ULsU/XG89WUNwV7hWFWih/MmNNnjuJk=; b=amfP20CX9yzLrJsRK0B+oGG7RJOUgxJ4KbTwjq3i1U/V4Qh3CmHkE1E04hvCglp4lQ 0kqM4aA2PFDz10bt+HBm+nTtc9zYhrCf/QWCK3DLHdqtP6CU38MDRvGEjdrYNDC3Md1s 0cC282Y4lBPsuO5KaMvmfwGBWkw7vA8tJax7fYVpL1jK/RY03K5zfkDWBg4onXurSf7A GJ+Rpq7395O8fooXsYGf0S6Jp4VcamZDK33GZRbh51B8hSTWBxgUV8vJFO6Hm0O0udLn uSbwisP69hCNU8x1VQWfToV9qhHgfAwfbGwPQrHYxRs8GJh3Qg6EAnPtHISHLPaMzXfj OQLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1755746127; x=1756350927; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=CtqV3HNShNm2ULsU/XG89WUNwV7hWFWih/MmNNnjuJk=; b=lEOePgJOe0UqavpTqzyNk6E2ir+AMTiK8SA+ubiFF8Lw6aYgQqnadgoDG1i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Fyy4s4nCTQ== X-Received: by 2002:a17:903:124c:b0:224:10a2:cae7 with SMTP id d9443c01a7336-245fedcad87mr13708355ad.40.1755746126670; Wed, 20 Aug 2025 20:15:26 -0700 (PDT) Received: from dgp100339560-01.huaqin.com ([116.66.212.162]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-245ed51b3d3sm40285415ad.147.2025.08.20.20.15.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Aug 2025 20:15:26 -0700 (PDT) From: Langyan Ye To: dmitry.torokhov@gmail.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, jikos@kernel.org, bentiss@kernel.org Cc: dianders@chromium.org, linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Langyan Ye , Conor Dooley Subject: [PATCH v2 1/2] dt-bindings: input: Add Parade TC3408 touchscreen controller Date: Thu, 21 Aug 2025 11:15:13 +0800 Message-Id: <20250821031514.49497-2-yelangyan@huaqin.corp-partner.google.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250821031514.49497-1-yelangyan@huaqin.corp-partner.google.com> References: <20250821031514.49497-1-yelangyan@huaqin.corp-partner.google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The tc3408 touch screen chip same as Elan eKTH6915 controller has a reset gpio. The difference is that they have different post_power_delay_ms. Signed-off-by: Langyan Ye Reviewed-by: Conor Dooley --- .../bindings/input/parade,tc3408.yaml | 68 +++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/parade,tc3408.y= aml diff --git a/Documentation/devicetree/bindings/input/parade,tc3408.yaml b/D= ocumentation/devicetree/bindings/input/parade,tc3408.yaml new file mode 100644 index 000000000000..30ffefb96c68 --- /dev/null +++ b/Documentation/devicetree/bindings/input/parade,tc3408.yaml @@ -0,0 +1,68 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/input/parade,tc3408.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Parade TC3408 touchscreen controller + +maintainers: + - Langyan Ye + +description: | + Parade TC3408 is a touchscreen controller supporting the I2C-HID protoco= l. + It requires a reset GPIO and two power supplies (3.3V and 1.8V). + +allOf: + - $ref: /schemas/input/touchscreen/touchscreen.yaml# + +properties: + compatible: + const: parade,tc3408 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + reset-gpios: + maxItems: 1 + + vcc33-supply: + description: The 3.3V supply to the touchscreen. + + vccio-supply: + description: The 1.8V supply to the touchscreen. + +required: + - compatible + - reg + - interrupts + - reset-gpios + - vcc33-supply + - vccio-supply + +unevaluatedProperties: false + +examples: + - | + #include + #include + + i2c { + #address-cells =3D <1>; + #size-cells =3D <0>; + + touchscreen: touchscreen@24 { + compatible =3D "parade,tc3408"; + reg =3D <0x24>; + + interrupt-parent =3D <&pio>; + interrupts =3D <15 IRQ_TYPE_LEVEL_LOW>; + + reset-gpios =3D <&pio 126 GPIO_ACTIVE_LOW>; + vcc33-supply =3D <&pp3300_tchscr_x>; + vccio-supply =3D <&pp1800_tchscr_report_disable>; + }; + }; --=20 2.34.1