From nobody Fri Dec 19 00:39:55 2025 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 4214920C49F; Thu, 10 Apr 2025 09:13:29 +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=1744276410; cv=none; b=mAgsKZBS/79v0bWz3w6HUGREmJK/peD0SinW4ozRhzy0wBl8w7tRK1Xg/AxFNFJhf4Ld6bBCTCjzBS5YIOso0de6+ko7PXhaWW4eQT+DevQ6vvxkAwVvlpiq3Eg2ZpS0xCQAhaV+ri20GHil/5rOV0boraGyEiFRiPZwCuys8O4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744276410; c=relaxed/simple; bh=Cn8/X5Kk2VhUl1FJ/QxiVphTBP9hc4tIAcuKU72Xb+0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=FO2pKCY2FoPwywPoPjezlhgict5kmv1QTsr/k8oc27KmBDtuKpgUtcTPo4JKg7KXTUPnDbk/aANoUIbs+JSDpfgM5lYjOuIYQKy0BoZYxO7DgPSJtHGWD3bB2tohnQTRS7HmwTeAuyrmQ9exSMd/5GsYbBkIYO1RBrm/EMnOE8I= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=gPJac4hB; 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="gPJac4hB" Received: by smtp.kernel.org (Postfix) with ESMTPS id C0934C4CEE9; Thu, 10 Apr 2025 09:13:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1744276409; bh=Cn8/X5Kk2VhUl1FJ/QxiVphTBP9hc4tIAcuKU72Xb+0=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=gPJac4hB0yClk4rmGAGurO+5GHrt+I0QnOU5Dus2fY2UvuAW3Ixn9mmZghtz02KBK sRx1MSIojNFqqSa23hzyGAtXLImJd5oc1+YmypWtuMTS6UEMYmGIyiDavrSCRazOF7 ULFAZXN8oZzKfMpmHk/UN+lgyPp4yQ1YmexsTrPYdxBgtBgs+99v323qgZ6rjXiqFx Nqu26RS1wnmRhAqnXLqVt27t4cviNLIUFnbQShToF9t0Lw2gS2IbQuTxUjWhlkwPYr UenepOPLfWH44hEqAk70caBfu/0KoSu3LuMOVNPCSnQB+jjTSk+bYTdDtRSvuxU2JR /Dv7qc4qPwImw== 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 B1444C369A4; Thu, 10 Apr 2025 09:13:29 +0000 (UTC) From: Jens Glathe via B4 Relay Date: Thu, 10 Apr 2025 11:13:22 +0200 Subject: [PATCH 1/5] arm64: dts: qcom: x1e80100-hp-x14: add usb-1-ss1-sbu-mux 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: <20250410-hp-x14-v1-1-b4e5ca253ec9@oldschoolsolutions.biz> References: <20250410-hp-x14-v1-0-b4e5ca253ec9@oldschoolsolutions.biz> In-Reply-To: <20250410-hp-x14-v1-0-b4e5ca253ec9@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, Jens Glathe X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1744276408; l=2656; i=jens.glathe@oldschoolsolutions.biz; s=20240919; h=from:subject:message-id; bh=1QuOk+qTOtwsagXmtC6sIpF6WI7ROIm97jqPlTthzyc=; b=6VjqoGKCDfw0IceKLdkNtaey1WlqNP57HxkOCP/MtpZtg1W+QU4Z3YCtMYiIY+KpiwSXkRCPQ TrgWuzhMXVRAsESzRng+BelDxflHT9zQvj5IIzshueTwJOD8LexXPRk 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_1 port doesn't have the PS8830 repeater, but apparently some MUX for DP altmode control. After a suggestion from sgerhold on '#aarch64-laptops' I added gpio-sbu-mux nodes from the x1e80100-QCP tree, and this appears to work well. It is still guesswork, but working guesswork. Added and rewired for usb_1_1 Signed-off-by: Jens Glathe --- .../boot/dts/qcom/x1e80100-hp-omnibook-x14.dts | 51 ++++++++++++++++++= ++-- 1 file changed, 47 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/x1e80100-hp-omnibook-x14.dts b/arch/a= rm64/boot/dts/qcom/x1e80100-hp-omnibook-x14.dts index 28298021cc367c279eebc08be6165fc1af9f2033..27f6b21589704b1767d45763773= da4cf9c43c77b 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100-hp-omnibook-x14.dts +++ b/arch/arm64/boot/dts/qcom/x1e80100-hp-omnibook-x14.dts @@ -150,15 +150,15 @@ port@1 { reg =3D <1>; =20 pmic_glink_ss1_ss_in: endpoint { - remote-endpoint =3D <&retimer_ss1_ss_out>; + remote-endpoint =3D <&usb_1_ss1_qmpphy_out>; }; }; =20 port@2 { reg =3D <2>; =20 - pmic_glink_ss1_con_sbu_in: endpoint { - remote-endpoint =3D <&retimer_ss1_con_sbu_out>; + pmic_glink_ss1_sbu: endpoint { + remote-endpoint =3D <&usb_1_ss1_sbu_mux>; }; }; }; @@ -533,6 +533,25 @@ vreg_pmu_rfa_1p7: ldo9 { }; }; }; + + usb-1-ss1-sbu-mux { + compatible =3D "onnn,fsusb42", "gpio-sbu-mux"; + + enable-gpios =3D <&tlmm 179 GPIO_ACTIVE_LOW>; + select-gpios =3D <&tlmm 178 GPIO_ACTIVE_HIGH>; + + pinctrl-0 =3D <&usb_1_ss1_sbu_default>; + pinctrl-names =3D "default"; + + mode-switch; + orientation-switch; + + port { + usb_1_ss1_sbu_mux: endpoint { + remote-endpoint =3D <&pmic_glink_ss1_sbu>; + }; + }; + }; }; =20 &apps_rsc { @@ -1566,6 +1585,30 @@ usb1_pwr_3p3_reg_en: usb1-pwr-3p3-reg-en-state { bias-disable; }; =20 + usb_1_ss1_sbu_default: usb-1-ss1-sbu-state { + mode-pins { + pins =3D "gpio177"; + function =3D "gpio"; + bias-disable; + drive-strength =3D <2>; + output-high; + }; + + oe-n-pins { + pins =3D "gpio179"; + function =3D "gpio"; + bias-disable; + drive-strength =3D <2>; + }; + + sel-pins { + pins =3D "gpio178"; + function =3D "gpio"; + bias-disable; + drive-strength =3D <2>; + }; + }; + wcd_default: wcd-reset-n-active-state { pins =3D "gpio191"; function =3D "gpio"; @@ -1668,7 +1711,7 @@ &usb_1_ss1_dwc3_hs { }; =20 &usb_1_ss1_qmpphy_out { - remote-endpoint =3D <&retimer_ss1_ss_in>; + remote-endpoint =3D <&pmic_glink_ss1_ss_in>; }; =20 &usb_mp { --=20 2.48.1 From nobody Fri Dec 19 00:39:55 2025 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 0BEF7202981; Thu, 10 Apr 2025 09:13:30 +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=1744276410; cv=none; b=JRY14yGQurWP618DDVQBgFarUU05vQ4YzjYFSnQVZOacyWqDrfxAuo+r5AWpyrDHhJfMT6BmGfanzyUDeFThtxATMg51gutKirUdacOUTJKA2juG0EownZTWkxKjPKn5OzUNHKPQHdU4L3CuQcPTjlAw2gfInzIDp+IFvGVYzw4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744276410; c=relaxed/simple; bh=5mbHZUyOkQE+s16djS8lUyMoXLxUdkHs1Z/PpZZRfGI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=C/LXzqIbgDkJiu8SUa/U9ttB98cf8CATL6snHl5Kme/p707ryUvcBz731+S+UaiupjoQVV3Z0Swt0GPYHMkoN1qxwUK3chPtRRJjB2G/REjW0vWOsDqBxXLu1DQAiWzIpXUKhkKOnJKIJfVPutVGdV8rWsNRvCWmu+6cv0JXONs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=u5TDlojg; 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="u5TDlojg" Received: by smtp.kernel.org (Postfix) with ESMTPS id DBBF7C4CEEA; Thu, 10 Apr 2025 09:13:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1744276409; bh=5mbHZUyOkQE+s16djS8lUyMoXLxUdkHs1Z/PpZZRfGI=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=u5TDlojgsvjfuKCdFtAxw+Du2MuQMuUfCwSjH8ClN1JQX0ooMLrQIxy7zdxG6obLD YQFuvi/lZNwRkD4Y+7vLN/qguzI8sw9ZrhAyFCVzXEBBPVxnC9rGSovQwOUd1GUsS+ SHP1VW0/XbCzi4uXa/UC6Y1SOrYo6m1WOjY6R5KJ1+39+JLnWQl6BFKtQtpmC28yTE 5QDtoEFa37W+7hcwBWjYNQ5J0gefgG0gKs6dqk6yJYpfkTeUFzxgU2Ngc3GiIFzfn9 nI/yQtgxCiIjoNZnL2cAnu3vfEfe4ezSlC407v04hPi/ehySqlo8wn8Qo1OhzxXNh+ Bua93vXnlW7TQ== 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 C3F04C369A8; Thu, 10 Apr 2025 09:13:29 +0000 (UTC) From: Jens Glathe via B4 Relay Date: Thu, 10 Apr 2025 11:13:23 +0200 Subject: [PATCH 2/5] arm64: dts: qcom: x1e80100-hp-x14: remove PS8830 retimer 1 definitions 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: <20250410-hp-x14-v1-2-b4e5ca253ec9@oldschoolsolutions.biz> References: <20250410-hp-x14-v1-0-b4e5ca253ec9@oldschoolsolutions.biz> In-Reply-To: <20250410-hp-x14-v1-0-b4e5ca253ec9@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, Jens Glathe X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1744276408; l=3986; i=jens.glathe@oldschoolsolutions.biz; s=20240919; h=from:subject:message-id; bh=gzkzB0oshddyiq7sEJIrmq7aS96/xb63mm0Bd2Jq1ks=; b=LgM6wSgQGzahGqvqThwNpZIy0HV+MEAbSQ0R5uSDHZsIetbYGTl0fA6EfFgk1odlYLXO5nUiF B2iCQmGIJ42A4VF2AYdie3FpaF/cyHFFDnjIS5n8h/c73Dmsg+lkluZ 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 Clean-up of regulators, i2c definition, pinctrl Signed-off-by: Jens Glathe --- .../boot/dts/qcom/x1e80100-hp-omnibook-x14.dts | 134 -----------------= ---- 1 file changed, 134 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/x1e80100-hp-omnibook-x14.dts b/arch/a= rm64/boot/dts/qcom/x1e80100-hp-omnibook-x14.dts index 27f6b21589704b1767d45763773da4cf9c43c77b..582d4326d5d527d20f99e716349= ea0e9c0d35099 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100-hp-omnibook-x14.dts +++ b/arch/arm64/boot/dts/qcom/x1e80100-hp-omnibook-x14.dts @@ -370,54 +370,6 @@ vreg_rtmr0_3p3: regulator-rtmr0-3p3 { regulator-boot-on; }; =20 - vreg_rtmr1_1p15: regulator-rtmr1-1p15 { - compatible =3D "regulator-fixed"; - - regulator-name =3D "VREG_RTMR1_1P15"; - regulator-min-microvolt =3D <1150000>; - regulator-max-microvolt =3D <1150000>; - - gpio =3D <&tlmm 188 GPIO_ACTIVE_HIGH>; - enable-active-high; - - pinctrl-0 =3D <&usb1_pwr_1p15_reg_en>; - pinctrl-names =3D "default"; - - regulator-boot-on; - }; - - vreg_rtmr1_1p8: regulator-rtmr1-1p8 { - compatible =3D "regulator-fixed"; - - regulator-name =3D "VREG_RTMR1_1P8"; - regulator-min-microvolt =3D <1800000>; - regulator-max-microvolt =3D <1800000>; - - gpio =3D <&tlmm 175 GPIO_ACTIVE_HIGH>; - enable-active-high; - - pinctrl-0 =3D <&usb1_pwr_1p8_reg_en>; - pinctrl-names =3D "default"; - - regulator-boot-on; - }; - - vreg_rtmr1_3p3: regulator-rtmr1-3p3 { - compatible =3D "regulator-fixed"; - - regulator-name =3D "VREG_RTMR1_3P3"; - regulator-min-microvolt =3D <3300000>; - regulator-max-microvolt =3D <3300000>; - - gpio =3D <&tlmm 186 GPIO_ACTIVE_HIGH>; - enable-active-high; - - pinctrl-0 =3D <&usb1_pwr_3p3_reg_en>; - pinctrl-names =3D "default"; - - regulator-boot-on; - }; - vreg_vph_pwr: regulator-vph-pwr { compatible =3D "regulator-fixed"; =20 @@ -1046,64 +998,6 @@ eusb3_repeater: redriver@47 { }; }; =20 -&i2c7 { - clock-frequency =3D <400000>; - - status =3D "okay"; - - typec-mux@8 { - compatible =3D "parade,ps8830"; - reg =3D <0x8>; - - clocks =3D <&rpmhcc RPMH_RF_CLK4>; - - vdd-supply =3D <&vreg_rtmr1_1p15>; - vdd33-supply =3D <&vreg_rtmr1_3p3>; - vdd33-cap-supply =3D <&vreg_rtmr1_3p3>; - vddar-supply =3D <&vreg_rtmr1_1p15>; - vddat-supply =3D <&vreg_rtmr1_1p15>; - vddio-supply =3D <&vreg_rtmr1_1p8>; - - reset-gpios =3D <&tlmm 176 GPIO_ACTIVE_LOW>; - - pinctrl-0 =3D <&rtmr1_default>; - pinctrl-names =3D "default"; - - orientation-switch; - retimer-switch; - - ports { - #address-cells =3D <1>; - #size-cells =3D <0>; - - port@0 { - reg =3D <0>; - - retimer_ss1_ss_out: endpoint { - remote-endpoint =3D <&pmic_glink_ss1_ss_in>; - }; - }; - - port@1 { - reg =3D <1>; - - retimer_ss1_ss_in: endpoint { - remote-endpoint =3D <&usb_1_ss1_qmpphy_out>; - }; - }; - - port@2 { - reg =3D <2>; - - retimer_ss1_con_sbu_out: endpoint { - remote-endpoint =3D <&pmic_glink_ss1_con_sbu_in>; - }; - }; - - }; - }; -}; - &i2c8 { clock-frequency =3D <400000>; =20 @@ -1536,13 +1430,6 @@ wake-n-pins { }; }; =20 - rtmr1_default: rtmr1-reset-n-active-state { - pins =3D "gpio176"; - function =3D "gpio"; - drive-strength =3D <2>; - bias-disable; - }; - tpad_default: tpad-default-state { pins =3D "gpio3"; function =3D "gpio"; @@ -1564,27 +1451,6 @@ reset-n-pins { }; }; =20 - usb1_pwr_1p15_reg_en: usb1-pwr-1p15-reg-en-state { - pins =3D "gpio188"; - function =3D "gpio"; - drive-strength =3D <2>; - bias-disable; - }; - - usb1_pwr_1p8_reg_en: usb1-pwr-1p8-reg-en-state { - pins =3D "gpio175"; - function =3D "gpio"; - drive-strength =3D <2>; - bias-disable; - }; - - usb1_pwr_3p3_reg_en: usb1-pwr-3p3-reg-en-state { - pins =3D "gpio186"; - function =3D "gpio"; - drive-strength =3D <2>; - bias-disable; - }; - usb_1_ss1_sbu_default: usb-1-ss1-sbu-state { mode-pins { pins =3D "gpio177"; --=20 2.48.1 From nobody Fri Dec 19 00:39:55 2025 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 420D420C48F; Thu, 10 Apr 2025 09:13:30 +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=1744276410; cv=none; b=Iu4LvPE4pj6x0VWpqD+HOwSEXv2JDra7bIi8GqcZmMXhEmaaGfcC5HczddNPXuJPf6zFd8DmuigpYFk2IZJFDpLTtjD1o4n9Zq1Lsu7108brSJ0hiGy7t3lmoFwaaU1ntud/lyDu9+neDIjPyWH80pWnInl0JijIXD7UZP68eAU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744276410; c=relaxed/simple; bh=AXP6ZybTNz6OQVvcYVObzg0VC4+1HCbi48kMRIDfj1Q=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=tc14IEewmahd1I/yHwEaIfBRqI0AJDq8Qay11wT2WW6i7jKik8IiY7RXS4QMsIafXzpeauvlpTpHyKoQdfjAHQzxvn3f3nVumSOS/Wq4/23jxRLjtgMzcG9lJp7iPmVWKhK/61EsnAruWVl/leMkfmlXVAQq871EzITdaKs0dYM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=t/FM43oT; 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="t/FM43oT" Received: by smtp.kernel.org (Postfix) with ESMTPS id E5610C4CEE3; Thu, 10 Apr 2025 09:13:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1744276409; bh=AXP6ZybTNz6OQVvcYVObzg0VC4+1HCbi48kMRIDfj1Q=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=t/FM43oTmCoFlsUnSDvnmeI4DVZDppj124zOlqPREU1zZEcVL6pUMkIOiB6pFwC/E Rx2Nu1C3jytiRZQ5ocFg8dW3oMmIO1x9osFHPz+gkryUAlMV1qetGII5AikUSl5tJd 4I8ekzq8bRcrxJKxR6fdny8XiaTbrmrpPl8fh5jEPQCxJV+z1T/8NQonYvIsUbztyj /FjaQcz1ioEr+Bi8S6cZePvcYIwwOqfSc1EKzpnthNMwbRFTpyHn6OCNXfhJsnJA80 1BlK/f+8lkwWi4Lo3pACmLX4iJVoxeBs0ic8RkK6NGUaIbwuAKcf4Vr9TNuNUxpjto o/hVgSv7z3itg== 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 D8531C369A6; Thu, 10 Apr 2025 09:13:29 +0000 (UTC) From: Jens Glathe via B4 Relay Date: Thu, 10 Apr 2025 11:13:24 +0200 Subject: [PATCH 3/5] arm64: dts: qcom: x1e80100-hp-x14: remove unused i2c buses 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: <20250410-hp-x14-v1-3-b4e5ca253ec9@oldschoolsolutions.biz> References: <20250410-hp-x14-v1-0-b4e5ca253ec9@oldschoolsolutions.biz> In-Reply-To: <20250410-hp-x14-v1-0-b4e5ca253ec9@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, Jens Glathe X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1744276408; l=1346; i=jens.glathe@oldschoolsolutions.biz; s=20240919; h=from:subject:message-id; bh=ZyHx8tpkezT4PWqlyK3kuVMpZWcGl8TKWIo9oNbQYXE=; b=QKkUpIEiU7wG4p4KIn6bZqrOERBiKX+NtdKiIFBrLYEkMuhgKIW1dj5MoINsX8sbAha/RXb1A BLW1SISp1gnBn+IuONVfH5I6ZbLhkzzT0UZFMgB4ll6YHJd9B13GufJ 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 At least from Linux, these buses are not in use. Remove them from the dt. Signed-off-by: Jens Glathe --- .../boot/dts/qcom/x1e80100-hp-omnibook-x14.dts | 25 ------------------= ---- 1 file changed, 25 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/x1e80100-hp-omnibook-x14.dts b/arch/a= rm64/boot/dts/qcom/x1e80100-hp-omnibook-x14.dts index 582d4326d5d527d20f99e716349ea0e9c0d35099..6c0e56168eaf133b9500c32b988= 21fa1fc3e7a2d 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100-hp-omnibook-x14.dts +++ b/arch/arm64/boot/dts/qcom/x1e80100-hp-omnibook-x14.dts @@ -904,15 +904,6 @@ touchpad@15 { }; }; =20 -&i2c1 { - clock-frequency =3D <400000>; - - status =3D "okay"; - - /* type-c PS8830 Retimer #2 0x8 */ - /* is active on Windows */ -}; - &i2c3 { clock-frequency =3D <400000>; =20 @@ -970,14 +961,6 @@ retimer_ss0_con_sbu_out: endpoint { }; }; =20 -&i2c4 { - clock-frequency =3D <400000>; - - status =3D "okay"; - - /* is active on Windows */ -}; - &i2c5 { clock-frequency =3D <400000>; status =3D "okay"; @@ -1018,14 +1001,6 @@ touchscreen@10 { }; }; =20 -&i2c9 { - clock-frequency =3D <400000>; - - status =3D "okay"; - - /* is active on Windows */ -}; - &lpass_tlmm { spkr_01_sd_n_active: spkr-01-sd-n-active-state { pins =3D "gpio12"; --=20 2.48.1 From nobody Fri Dec 19 00:39:55 2025 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 69D0820E032; Thu, 10 Apr 2025 09:13:30 +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=1744276410; cv=none; b=CKW8/fsPeLQw8be/udumxH3hED7OYrIZdnEP4EQoGge+Sx+QCEgIBEzBgIIeqqRmcZxGdM3CUaMtuIQY4T4q+WSQNuzSwN5zbBZLzrxZElRJ3rGQOX0Pa1KaIPFehHsPdy2Pq6AqxSqjM3schRR8vKRiKUZCOqRL3A8o+z2AdJk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744276410; c=relaxed/simple; bh=WyCopkUlDcDG1qNxKVxDfBYC9H+9p2D6lgc0Nk0spUs=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=eqHnoAOMaHPU60LyHa/p/+5q5hmsolTCbU+h+lzOMkUEIc8EGv1/PVkOtfdaRRJxongm958tqxt/VARv5LxCPPvwElm8XgPBAcRwwQKRmlqgBrDT6h+pnxikU+j5DlniVeiPpu8R44UYx0lJOBTYV8GS9C1G1khp1ZF4AvGuNRQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=tj9HWA3f; 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="tj9HWA3f" Received: by smtp.kernel.org (Postfix) with ESMTPS id 0917FC4CEF1; Thu, 10 Apr 2025 09:13:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1744276410; bh=WyCopkUlDcDG1qNxKVxDfBYC9H+9p2D6lgc0Nk0spUs=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=tj9HWA3fWDwnz1R7lf/diWWKO6vvIXAXWxXOtGvTWe67W5I8+ak3SoJqf6cIRRLjg 6BWm0uLcQb+96nG0Wo4h52ho2dw5uekG8C+qVrDFhjXccs29eLLLPEB5ru2Vz8K7aR hyfkQo9ivnRKOZAdE5aTu5DH9m7I3V2+xBypCPCQS8OzgKUlgD00i8EbH18f5NnVvC yPvXCBus2gwHq8lOw9v4n4/rF1GKUFWfl35K3lNePemSOOz4nq4nwMip3Vo6fc3gFz ObUSpF/W0y2lP60rQof7SNam7CHHSldcv2sMQWCIEbuc0tZuKUcWR+1ME3czp8JT5S q5cxR4p4qcv8Q== 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 ECFCDC369A4; Thu, 10 Apr 2025 09:13:29 +0000 (UTC) From: Jens Glathe via B4 Relay Date: Thu, 10 Apr 2025 11:13:25 +0200 Subject: [PATCH 4/5] arm64: dts: qcom: x1e80100-hp-x14: amend order of nodes 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: <20250410-hp-x14-v1-4-b4e5ca253ec9@oldschoolsolutions.biz> References: <20250410-hp-x14-v1-0-b4e5ca253ec9@oldschoolsolutions.biz> In-Reply-To: <20250410-hp-x14-v1-0-b4e5ca253ec9@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, Jens Glathe X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1744276408; l=1222; i=jens.glathe@oldschoolsolutions.biz; s=20240919; h=from:subject:message-id; bh=bnPuoslWPgNZvAQ9/Qrw/txzq3JvrErhTj3TzDMEntY=; b=cendNp8aNTxgK/MVR/XYSiVqTW3wlM9zjBkpfTDKn6+cJ4qfzKaaIaZeLTFWd7SNw9oOW+5q/ +iVr2tcss/3AZAjzbcmMLdYrQXoCe7IdSVC42jqQXvys3a0Mtui6hfa 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 amend the order of pmk8550_* nodes afte pmc8380_* Signed-off-by: Jens Glathe --- .../boot/dts/qcom/x1e80100-hp-omnibook-x14.dts | 22 +++++++++++-------= ---- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/x1e80100-hp-omnibook-x14.dts b/arch/a= rm64/boot/dts/qcom/x1e80100-hp-omnibook-x14.dts index 6c0e56168eaf133b9500c32b98821fa1fc3e7a2d..b492901f2d8c610e955c95aea60= eb6c3d80d4f65 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100-hp-omnibook-x14.dts +++ b/arch/arm64/boot/dts/qcom/x1e80100-hp-omnibook-x14.dts @@ -1196,17 +1196,6 @@ edp_bl_reg_en: edp-bl-reg-en-state { =20 }; =20 -&pmk8550_gpios { - edp_bl_pwm: edp-bl-pwm-state { - pins =3D "gpio5"; - function =3D "func3"; - }; -}; - -&pmk8550_pwm { - status =3D "okay"; -}; - &pmc8380_5_gpios { usb0_pwr_1p15_reg_en: usb0-pwr-1p15-reg-en-state { pins =3D "gpio8"; @@ -1218,6 +1207,17 @@ usb0_pwr_1p15_reg_en: usb0-pwr-1p15-reg-en-state { }; }; =20 +&pmk8550_gpios { + edp_bl_pwm: edp-bl-pwm-state { + pins =3D "gpio5"; + function =3D "func3"; + }; +}; + +&pmk8550_pwm { + status =3D "okay"; +}; + &qupv3_0 { status =3D "okay"; }; --=20 2.48.1 From nobody Fri Dec 19 00:39:55 2025 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 69CB220E030; Thu, 10 Apr 2025 09:13:30 +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=1744276410; cv=none; b=geLDDfAVtI38jS2dnoiKDBtlCvz9LAonPhnN7n9F/LSQ5xy4uDEN0uXLSWHkLf62Vuu1bfBVvQVlSm7sM/udx+hK0HAnzJXOhByhcQ7NISCr1J2EQUeqc3xVrK8wgAstOAEY+DcbWkYr8ap2Y99AjXYlOeKm88463xbwsBYsixQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744276410; c=relaxed/simple; bh=gOous5YkM9MLgavnUT+mJixUtzV8Aox9a8MbOzaNjCw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=R8ekCrOauslKDQ1wWWh26aYZCfaWHGfBKaza4THLHWSzOCcotiOFkbAUhuwNHkxdOs/Yp6g1kyM1M6zuyjdRf+Bi2Z94MXMLdhBaBg5doxyHK71zLuZf4vgc4ORhVaxqKb4vQMfvmp5i8g9ZenzFhxXPBPIBNW8ZkFi0OBVR7uM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=fwVQtz2u; 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="fwVQtz2u" Received: by smtp.kernel.org (Postfix) with ESMTPS id 169CDC4CEEC; Thu, 10 Apr 2025 09:13:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1744276410; bh=gOous5YkM9MLgavnUT+mJixUtzV8Aox9a8MbOzaNjCw=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=fwVQtz2umHuQU/+FG7g9CAPp3BEaVNphLOtCaxXK8PFYnT5hHGVq3R/Q8DGZ7UyiI w8LTyANEpePf4DxAPVWR4oWGQIB3w9L5pEeDWYNPjrEzMIAhGhNaqtq+gjc2kF9nOl z7+dhYaToUEYc2GWG8RSsOFLDvy5NZBOYTOmcxVKJtBunVEcdQhFaPMSJ7AcJNRA8X T7XGtenI98C1LeFGkZjTI4/mfsfKTl+DaSff3K2OJC9xtjZ9iMXyulpZ9sNv8K97hF KmXqaYuvv36a8elb9o/D8s3VDtiBdjGaCru4SkHKcMGHg/zyQzsuHCRZkkpQ7zlNJ+ Zv8AkS0pWdu9g== 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 0E6E3C369A6; Thu, 10 Apr 2025 09:13:30 +0000 (UTC) From: Jens Glathe via B4 Relay Date: Thu, 10 Apr 2025 11:13:26 +0200 Subject: [PATCH 5/5] arm64: dts: qcom: x1e80100-hp-x14: explicitly enable smb2360 eUSB2 repeaters 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: <20250410-hp-x14-v1-5-b4e5ca253ec9@oldschoolsolutions.biz> References: <20250410-hp-x14-v1-0-b4e5ca253ec9@oldschoolsolutions.biz> In-Reply-To: <20250410-hp-x14-v1-0-b4e5ca253ec9@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, Jens Glathe X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1744276408; l=1115; i=jens.glathe@oldschoolsolutions.biz; s=20240919; h=from:subject:message-id; bh=TIwCHukIRJYo2xuPlQJ/tZhR+AjnxQb+ZE4KDUe3o4g=; b=IVBI0MP84S4Whm+OungZEcqVU6tyqIQy4d1m5lXVjgg3xL1A0KePVuJLrqrAQLiOSe0ONhZmR nnog3JsiX6lB4stpKGVEEgc8hqqsBxMUDarvWzHctOJYMSjp0zDvXpC 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 smb2360 eUSB2 repeaters that are in use need to be explicitly enabled after a change in x1e80100-pmics.dtsi. Signed-off-by: Jens Glathe --- arch/arm64/boot/dts/qcom/x1e80100-hp-omnibook-x14.dts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/x1e80100-hp-omnibook-x14.dts b/arch/a= rm64/boot/dts/qcom/x1e80100-hp-omnibook-x14.dts index b492901f2d8c610e955c95aea60eb6c3d80d4f65..df24c5e7d3f8d7cfe44bb165a05= 8fb0cfe6f1d74 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100-hp-omnibook-x14.dts +++ b/arch/arm64/boot/dts/qcom/x1e80100-hp-omnibook-x14.dts @@ -1244,17 +1244,29 @@ &remoteproc_cdsp { status =3D "okay"; }; =20 +&smb2360_0 { + status =3D "okay"; +}; + &smb2360_0_eusb2_repeater { vdd18-supply =3D <&vreg_l3d_1p8>; vdd3-supply =3D <&vreg_l2b_3p0>; +}; =20 +&smb2360_1 { + status =3D "okay"; +}; + +&smb2360_0 { status =3D "okay"; }; =20 &smb2360_1_eusb2_repeater { vdd18-supply =3D <&vreg_l3d_1p8>; vdd3-supply =3D <&vreg_l14b_3p0>; +}; =20 +&smb2360_1 { status =3D "okay"; }; =20 --=20 2.48.1