From nobody Mon Feb 9 17:14:27 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7D9D81E2606; Sat, 20 Dec 2025 17:47:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766252836; cv=none; b=e68UeJTnos7W2EOZglQl1F5vbB4rNyhjPZB9p3gy6VhOOFMC8gwgMSRMu6CNuHzVAmLlhfQ/fH/aMkahJDmoScLvTsHY+f4AxQz14IYBOF1SwqFMMKXUZVcbMnNNlIoE5pVgmHQgkibbhAS5jMsosafhoaY5prqKJRorNFBSxDM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766252836; c=relaxed/simple; bh=/6ymR/zsgaTJlBSb1sWLgYTVW3pJNv15dUW4iJE0K3w=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=lOI2B/k0cQszbJXkIes6V3wpTs5w17SgKgybhblBahRDIWPFzE2YhM5UJ1hS8Zv79rn7PwFbRGWuWTUFBoqSOExJpGeHIBRS23j8332D2XuBtOeGA8GfAEJtin5+qCCA17XEThrhHS8vXIZaJ1cRNPmEdmEcbVJ5N1aCmBaJB4w= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=J2ckGDEi; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="J2ckGDEi" Received: by smtp.kernel.org (Postfix) with ESMTPS id 18D77C116D0; Sat, 20 Dec 2025 17:47:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1766252836; bh=/6ymR/zsgaTJlBSb1sWLgYTVW3pJNv15dUW4iJE0K3w=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=J2ckGDEiezHUEENyfhMf/ZmZzatVaSP/zzA06wI/v0IW4I+tGxD36W0wf8ZWsZtNQ Fs2tk1JHWuhj0VYqfZOORcRsG4eSzr48xeFRsk0Y12/QYm5930IRo69MpPWd3k8sSF oF1Z5r2uRW+IuVl0rZk4BDZk2Ia/8CAfZXPIR70jyVXvqdIhuXKrX+mZ+sc9r3Yidq BYCrVoeAifE/hqrFBrYKmIwhc6j6KhzU1PoEwy4xR3g2Z6ZZ6DF9jt26x9wYN8J8FC y4EmOaMRuVvexI4vwKS4q45G7jUoCGQx7jqOVpSjWS2+6po9OnN48FqRDa2ELKHd3F LNPDnwqQApGkA== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 00BC2E668BC; Sat, 20 Dec 2025 17:47:16 +0000 (UTC) From: Jens Glathe via B4 Relay Date: Sat, 20 Dec 2025 18:47:09 +0100 Subject: [PATCH 1/2] arm64: dts: qcom: x1p42100-lenovo-thinkbook-16: force usb2-only mode on usb_1_ss2_dwc3 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20251220-tb16-hdmi-v1-1-18b1e20b396e@oldschoolsolutions.biz> References: <20251220-tb16-hdmi-v1-0-18b1e20b396e@oldschoolsolutions.biz> In-Reply-To: <20251220-tb16-hdmi-v1-0-18b1e20b396e@oldschoolsolutions.biz> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Val Packett , Jens Glathe X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1766252834; l=1227; i=jens.glathe@oldschoolsolutions.biz; s=20240919; h=from:subject:message-id; bh=E8oavXRiJ9H1foB04HdpgfXtgNtFJTJ6fhdED81IK24=; b=BGWpsS3qk/sTbV/IEd1uBM6f7fX4TAFb+4rSSmfGhelGAK+Oy1wlfkmy3PxfSvVv+HcQvZp19 jI2qWoVYd9nCmgZbauYkkfqAbRx+loeZ5IyF3cGfntXjVMZoTOipkz7 X-Developer-Key: i=jens.glathe@oldschoolsolutions.biz; a=ed25519; pk=JcRJqJc/y8LsxOlPakALD3juGfOKmFBWtO+GfELMJVg= X-Endpoint-Received: by B4 Relay for jens.glathe@oldschoolsolutions.biz/20240919 with auth_id=216 X-Original-From: Jens Glathe Reply-To: jens.glathe@oldschoolsolutions.biz From: Jens Glathe The usb_1_ss2 complex has 2 phys, usb_1_ss2_hsphy and usb_1_ss2_qmpphy. On = this laptop, they are used for different peripherals: The hsphy for the fingerpr= int reader, the qmpphy to drive a hdmi bridge. The normal logical wiring for th= e dwc3 controller is to both phys. Overwrite that with ports only to the hsphy. Signed-off-by: Jens Glathe --- arch/arm64/boot/dts/qcom/x1p42100-lenovo-thinkbook-16.dts | 14 +++++++++++= +++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/x1p42100-lenovo-thinkbook-16.dts b/ar= ch/arm64/boot/dts/qcom/x1p42100-lenovo-thinkbook-16.dts index 3186e79e862de67cbda48a4b85a459e6e965ba65..b505a4cbb4350a962bbf779ec78= 8265c7583bf20 100644 --- a/arch/arm64/boot/dts/qcom/x1p42100-lenovo-thinkbook-16.dts +++ b/arch/arm64/boot/dts/qcom/x1p42100-lenovo-thinkbook-16.dts @@ -1560,6 +1560,20 @@ &usb_1_ss2_dwc3 { maximum-speed =3D "high-speed"; phys =3D <&usb_1_ss2_hsphy>; phy-names =3D "usb2-phy"; + + /delete-property/ ports; + + ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@0 { + reg =3D <0>; + + usb_1_ss2_dwc3_hs: endpoint { + }; + }; + }; }; =20 &usb_1_ss2_hsphy { --=20 2.51.0 From nobody Mon Feb 9 17:14:27 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9766223AE62; Sat, 20 Dec 2025 17:47:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766252836; cv=none; b=O7JeGbwHSKKeHt8EUyuULFivsI1jJMX/zNjSo5DQFiCAqKA9qYtSmuykCEjK1zSdUnYVtzFsu4I3qD2qKhfY7M0iVMjxClyKhdfUSRUCK+wBZIk6bwRTRwnc8Ow/TpkIFru2lMFjKgqFE550ic+8q7NimZ1BZeYSNLT5lQasusY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766252836; c=relaxed/simple; bh=zs58iPHc9dVMILZf+f0sXG/xtW4XWxiXDfAKslwS8p8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=t2AHO9vwo0oL0CEBnJsbqLN89jhRthAMNltnhTPnu0V01gyhB11AiK8XU9FVTMJ7Hw7TcKm+Q6WbSk5Hua7O3+4+dZxMmZ0tKw3tEVi7QxC8GV6wKi4EbGwHctf+5NKSPhoFZmtOCePghMSmUhpuR5NqdKzIdVgrpfGL7KLdOPc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=R1I2U7hM; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="R1I2U7hM" Received: by smtp.kernel.org (Postfix) with ESMTPS id 22B1FC116C6; Sat, 20 Dec 2025 17:47:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1766252836; bh=zs58iPHc9dVMILZf+f0sXG/xtW4XWxiXDfAKslwS8p8=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=R1I2U7hMNmhZJgXE+D/aTsAEyhNhq3dlnetcA9wwFJ5RjWpUTulxqywso81eSSIEO 7ttJ/7g/3o85oQOa2+hZLqbZ75n7cZrYSS0kgu/ELfJc4gTgGb6JSp1QWkFcVl2Sre luFqSDd8Nxm59syaKeZ+UuVX9yGlXh60fR03hU815KB/xk9/mXAi658GDASMNhzj8Y cF1GtruB9m+Vapb5InWhuZqH9PaiqDfNn4iOubHSaV8EDxWsu2uqpNk+DdyvXyUHTS jBz+v1Fldzw4YCAL7aJrKwSRF6TfUD5cK6VxUmwvyXJTu4CArPp/erfU9FY3MSHxap RU1KvVRdYeNPg== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0FD45E668B4; Sat, 20 Dec 2025 17:47:16 +0000 (UTC) From: Jens Glathe via B4 Relay Date: Sat, 20 Dec 2025 18:47:10 +0100 Subject: [PATCH 2/2] arm64: dts: qcom: x1p42100-lenovo-thinkbook-16: add hdmi bridge with enable pin Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20251220-tb16-hdmi-v1-2-18b1e20b396e@oldschoolsolutions.biz> References: <20251220-tb16-hdmi-v1-0-18b1e20b396e@oldschoolsolutions.biz> In-Reply-To: <20251220-tb16-hdmi-v1-0-18b1e20b396e@oldschoolsolutions.biz> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Val Packett , Jens Glathe X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1766252834; l=3182; i=jens.glathe@oldschoolsolutions.biz; s=20240919; h=from:subject:message-id; bh=G6F6G3AffDaqVvF/PzUgapReH3Uv+q5DJWksfE18o8U=; b=2qSiY6qbhNn9vDJLCu36cyhlYfB41DU45Lq9nZfDS0i2IoiFrnuKgYqhWEdg61nY2tPkfaWG8 im/8Yb8+UDiAIky8PoWdVHFvezMZUVa4ifWaPaQFmI8w+2ei/SRWhS/ X-Developer-Key: i=jens.glathe@oldschoolsolutions.biz; a=ed25519; pk=JcRJqJc/y8LsxOlPakALD3juGfOKmFBWtO+GfELMJVg= X-Endpoint-Received: by B4 Relay for jens.glathe@oldschoolsolutions.biz/20240919 with auth_id=216 X-Original-From: Jens Glathe Reply-To: jens.glathe@oldschoolsolutions.biz From: Jens Glathe Add TLMM 119 for hdmi bridge enable. AeoB has this gpio. In general this is the same setup as on the T14s. Since its using simple-br= idge and also is Lenovo, we also use the same realtek,rtd2171 compatible. The real chip identity is not known yet. The bridge is wired with un-swapped lanes, though. As for gpio119 being used twice: It doesn't work if you don't, so it may be= a case of TLMM multiplexing hpd for both ports. Signed-off-by: Jens Glathe --- .../boot/dts/qcom/x1p42100-lenovo-thinkbook-16.dts | 88 ++++++++++++++++++= ++++ 1 file changed, 88 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/x1p42100-lenovo-thinkbook-16.dts b/ar= ch/arm64/boot/dts/qcom/x1p42100-lenovo-thinkbook-16.dts index b505a4cbb4350a962bbf779ec788265c7583bf20..80172f3059a42c8656eb6826824= 95194015d3bbc 100644 --- a/arch/arm64/boot/dts/qcom/x1p42100-lenovo-thinkbook-16.dts +++ b/arch/arm64/boot/dts/qcom/x1p42100-lenovo-thinkbook-16.dts @@ -78,6 +78,47 @@ camera { vdd-supply =3D <&vreg_cam_5p0>; }; =20 + hdmi-bridge { + compatible =3D "realtek,rtd2171"; + + enable-gpios =3D <&tlmm 119 GPIO_ACTIVE_HIGH>; + + pinctrl-0 =3D <&hdmi_hpd_default>; + pinctrl-names =3D "default"; + + ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@0 { + reg =3D <0>; + + hdmi_bridge_dp_in: endpoint { + remote-endpoint =3D <&usb_1_ss2_qmpphy_out_dp>; + }; + }; + + port@1 { + reg =3D <1>; + + hdmi_bridge_tmds_out: endpoint { + remote-endpoint =3D <&hdmi_con>; + }; + }; + }; + }; + + hdmi-connector { + compatible =3D "hdmi-connector"; + type =3D "a"; + + port { + hdmi_con: endpoint { + remote-endpoint =3D <&hdmi_bridge_tmds_out>; + }; + }; + }; + gpio-keys { compatible =3D "gpio-keys"; =20 @@ -1038,6 +1079,14 @@ &mdss_dp1_out { link-frequencies =3D /bits/ 64 <1620000000 2700000000 5400000000 81000000= 00>; }; =20 +&mdss_dp2 { + status =3D "okay"; +}; + +&mdss_dp2_out { + link-frequencies =3D /bits/ 64 <1620000000 2700000000 5400000000 81000000= 00>; +}; + &mdss_dp3 { /delete-property/ #sound-dai-cells; =20 @@ -1327,6 +1376,19 @@ hall_int_n_default: hall-int-n-state { bias-disable; }; =20 + hdmi_bridge_en: hdmi-bridge-en-state { + pins =3D "gpio119"; + function =3D "gpio"; + drive-strength =3D <16>; + bias-disable; + }; + + hdmi_hpd_default: hdmi-hpd-default-state { + pins =3D "gpio126"; + function =3D "usb2_dp"; + bias-disable; + }; + kybd_default: kybd-default-state { pins =3D "gpio67"; function =3D "gpio"; @@ -1585,6 +1647,32 @@ &usb_1_ss2_hsphy { status =3D "okay"; }; =20 +&usb_1_ss2_qmpphy { + vdda-phy-supply =3D <&vreg_l2j_1p2>; + vdda-pll-supply =3D <&vreg_l2d_0p9>; + + /delete-property/ mode-switch; + /delete-property/ orientation-switch; + + status =3D "okay"; + + ports { + port@0 { + #address-cells =3D <1>; + #size-cells =3D <0>; + + /delete-node/ endpoint; + + usb_1_ss2_qmpphy_out_dp: endpoint@0 { + reg =3D <0>; + + data-lanes =3D <0 1 2 3>; + remote-endpoint =3D <&hdmi_bridge_dp_in>; + }; + }; + }; +}; + &usb_2 { status =3D "okay"; }; --=20 2.51.0