From nobody Fri Nov 29 17:31:47 2024 Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) (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 6EE2D199943 for ; Tue, 17 Sep 2024 15:00:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726585262; cv=none; b=FTpoy86rPjDU4nNv+vTf2zUkfNb3AFNmUjd+UWD7Xh0X5BKshjyZ63JdtGHyAs2iR1zPOkCYHmOtrU1Jx4Z2FXTC46hVHZdHTWBax1vf6HWPTwmIE2B4k6mHMOULyNs8f8R7p/2aQqspPtJHLfxBv4bXza0PLImRS15jWjE9RvE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726585262; c=relaxed/simple; bh=sSFYJMbgDWgR+ke66HWJqHDGMJhDpkQTcdbX77Tx2yY=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=DXUbiNMK/oDfe5r1MDiWhGQYjN+GX+55f0Vuvq6BcWTUnrqDmwyn6dc5fB5VXboKtO4lI92XtWkpSeneH+Ct1aYb+vn3K/OQ03h40E+yCmSfiO0YagBkaBzLjwrivAgpyG90LTFSCxxJc2X7KYrcBwbYYufo8cAzEDncjluLOpc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=ZdwoE+3r; arc=none smtp.client-ip=209.85.128.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ZdwoE+3r" Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-42cb0f28bfbso49547575e9.1 for ; Tue, 17 Sep 2024 08:00:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1726585258; x=1727190058; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=/IGfI+hgL3jCy+Xqpn3mDFDW7I26z/9+F8suS+KtWGI=; b=ZdwoE+3r5jorqc0WTP9iCbvETyjcee63mOb03ve1VEbhsIFg8WYSlQVaJroaLGw4us JDCwnAH7v748yQRTAIkJs/RnECPb2saaLcKgzUfsbb4lUcRA+dJDnV5+Kp/Bm1in73XE caL7CD3HU4hhp7bIZZ+tZ2ZZE0IYRUP02psPnospuh3pKHYVHboN/3qtulFA1KrDTB93 lW12Y/Ajw507VJEuPJne9GyWzDv4UuEOKntJQUbwHjjMfwE1n1BVcT3k1pEOoi7OnmO4 O10k5Vfn6+PZTkqBrFLDmoJAqSmn1NdKyKE2okra/OfPPeAH0bQyO5bs6+uKz9Gp5Gmo QFqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726585258; x=1727190058; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=/IGfI+hgL3jCy+Xqpn3mDFDW7I26z/9+F8suS+KtWGI=; b=ZwxpyyeS+D8VNnCxcxkItDdp4wWTFAeKTXArf9kC4PHvWWs4v3uRohHcskJtQ/tje8 Y+rxWM2xG2opAlu3BazXjlP4M6XFP51NImE+KF6cbc5urmhes48vYqF/dfp4wf/ApMU6 GU3lDkQbOCEtn2t75qZlfGj2IRloLnabuYCE66PWQDmmN3XUCbXwaUUYs3Gr98O3g0n8 uKFoI89hR5TfX8uJ1qgd8ajB+QGDqrq30UWD5gKwxcJBI9pHopZ1rPfm+AzJH5tkG4Cv eRQ0oUMkpvVNvIFviNSvrGEUah/Yr53SA7pkDpG/wPnXlVnw2ifCGihGW5bBsMq1VY6c zqvg== X-Forwarded-Encrypted: i=1; AJvYcCWzAHfBOBzNp8H6Y7SSUIA6IU90XTf1p0778C/UZ/k3cYjfy2JoQ9x1E2vv2vIaoNKrAPwcJoXOYCZ0M54=@vger.kernel.org X-Gm-Message-State: AOJu0Yx1JL4CAmuQw543GY7R8dfnaY70Jc15Wx33Je+JBNXriPXfQVyh pbM79Wmi9YNK2kYKH9DxWRP50h1UMM0o8UsMJHjw9pU8JSw9ahKr/VeGTM4KRKU= X-Google-Smtp-Source: AGHT+IGG6WRrXCFb3u8z80/Dre90pfDqU9nH83nSFhdGV7KfAJBZo4pKvdFKsntvm/0n7z9dfbp4KQ== X-Received: by 2002:a05:600c:35c4:b0:42c:b750:19f3 with SMTP id 5b1f17b1804b1-42cdb444697mr134644585e9.0.1726585257537; Tue, 17 Sep 2024 08:00:57 -0700 (PDT) Received: from localhost.localdomain ([5.133.47.210]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-378e73f99ebsm9800595f8f.63.2024.09.17.08.00.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Sep 2024 08:00:57 -0700 (PDT) From: srinivas.kandagatla@linaro.org To: andersson@kernel.org Cc: konradybcio@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, abel.vesa@linaro.org, Srinivas Kandagatla Subject: [PATCH v2] arm64: dts: qcom: x1e80100-t14s: add another trackpad support Date: Tue, 17 Sep 2024 11:00:49 -0400 Message-Id: <20240917150049.3110-1-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.39.2 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" From: Srinivas Kandagatla Trackpad HID device on some of the T14s Product Models 21N2ZC5PUS is at I2C address 0x2c add this to be able to get it working on these laptops. Signed-off-by: Srinivas Kandagatla --- Changes since v1: - moved pinctrl to parent node so that pinctrl can be claimed globally. .../dts/qcom/x1e78100-lenovo-thinkpad-t14s.dts | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dts b/a= rch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dts index 08ec2419f95f..45a77c1fb6f4 100644 --- a/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dts +++ b/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dts @@ -551,6 +551,9 @@ zap-shader { &i2c0 { clock-frequency =3D <400000>; =20 + pinctrl-0 =3D <&tpad_default>; + pinctrl-names =3D "default"; + status =3D "okay"; =20 /* ELAN06E2 or ELAN06E3 */ @@ -561,13 +564,19 @@ touchpad@15 { hid-descr-addr =3D <0x1>; interrupts-extended =3D <&tlmm 3 IRQ_TYPE_LEVEL_LOW>; =20 - pinctrl-0 =3D <&tpad_default>; - pinctrl-names =3D "default"; - wakeup-source; }; =20 - /* TODO: second-sourced SYNA8022 or SYNA8024 touchpad @ 0x2c */ + /* SYNA8022 or SYNA8024 */ + touchpad@2c { + compatible =3D "hid-over-i2c"; + reg =3D <0x2c>; + + hid-descr-addr =3D <0x20>; + interrupts-extended =3D <&tlmm 3 IRQ_TYPE_LEVEL_LOW>; + + wakeup-source; + }; =20 /* ELAN06F1 or SYNA06F2 */ keyboard@3a { --=20 2.39.2