From nobody Fri Dec 19 06:57:06 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 03E3284FD4; Sun, 24 Mar 2024 22:50:49 +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=1711320651; cv=none; b=Ln3tY9C0EfrVeFaQ86zPnxSmTyF+om7aMnhmyY9AHqA7gvVipFmg9QjuKBQbUy+D1+ui8CKC0PWpBCswe6WF0/R9jcn2RQGhcIl0/cD75zCZXBTIu32vKUCifPrPEq5GB6gery450Hjq3VYsi0rhlk9gPQv5qFNJYgPbL/Ppl4I= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711320651; c=relaxed/simple; bh=q69T249oz4TUVyDuuR/k4gG1ZeYB9y42/66AP1+cKL4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ozYlBpIcFsEeRtNyocI8/QVYHaDIPQjVrnXaeey7ZnwImJ/2CL14StA/nnIZzlBvET/4o+xcLb7eoOpoCghcNtlGzoSEigcy8BxFJCQUVqwtkg2Ix0EHDYQI3f3S5JocY1J8r2MlwOiFydbL3WOoINxzq06CU903+docMeLcPvQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=AdRUGeNv; 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="AdRUGeNv" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 40B52C433F1; Sun, 24 Mar 2024 22:50:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711320649; bh=q69T249oz4TUVyDuuR/k4gG1ZeYB9y42/66AP1+cKL4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AdRUGeNvlus6Qt54Yt0rdrxl41ygW7Usa94ojsmCoVp/hsE/hqC9/RjLsK1ni44RH BwW+3+8VsAIWx+iGswRO/dwe5yj5LBpVzFYfW6K/TERItTcT0H+wI59dUMaS85Atgt UxDo20CCgQmBP/WIzqyk2gNxGLQvvpyZfp01UM0YVP0xD9BfrVDOyG5R0f6CFk/udu 4TI1QT1zwlmEmNA1QS2KGU5PpKFocbM/zm7BCSprB8EMMLiAcDU/iQ1rnXLUGCdS+d eRNzagz3ylYF+uKAkeRhkdo11gUMkBksmUHhCamMJiu0vXeNe2m9RkPhMtX3wfiidc u9LAVwKDYlZVQ== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Dmitry Baryshkov , Bjorn Andersson , Sasha Levin Subject: [PATCH 6.7 211/713] arm64: dts: qcom: msm8998: switch USB QMP PHY to new style of bindings Date: Sun, 24 Mar 2024 18:38:57 -0400 Message-ID: <20240324224720.1345309-212-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240324224720.1345309-1-sashal@kernel.org> References: <20240324224720.1345309-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Dmitry Baryshkov [ Upstream commit b7efebfeb2e8ad8187cdabba5f0212ba2e6c1069 ] Change the USB QMP PHY to use newer style of QMP PHY bindings (single resource region, no per-PHY subnodes). Signed-off-by: Dmitry Baryshkov Link: https://lore.kernel.org/r/20230824211952.1397699-11-dmitry.baryshkov@= linaro.org Signed-off-by: Bjorn Andersson Stable-dep-of: fc835b2311d4 ("arm64: dts: qcom: msm8998: declare VLS CLAMP = register for USB3 PHY") Signed-off-by: Sasha Levin --- arch/arm64/boot/dts/qcom/msm8998.dtsi | 35 +++++++++++---------------- 1 file changed, 14 insertions(+), 21 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qc= om/msm8998.dtsi index ebc5ba1b369e9..7dd0d4ce25ef4 100644 --- a/arch/arm64/boot/dts/qcom/msm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi @@ -2157,7 +2157,7 @@ usb3_dwc3: usb@a800000 { interrupts =3D ; snps,dis_u2_susphy_quirk; snps,dis_enblslpm_quirk; - phys =3D <&qusb2phy>, <&usb1_ssphy>; + phys =3D <&qusb2phy>, <&usb3phy>; phy-names =3D "usb2-phy", "usb3-phy"; snps,has-lpm-erratum; snps,hird-threshold =3D /bits/ 8 <0x10>; @@ -2166,33 +2166,26 @@ usb3_dwc3: usb@a800000 { =20 usb3phy: phy@c010000 { compatible =3D "qcom,msm8998-qmp-usb3-phy"; - reg =3D <0x0c010000 0x18c>; - status =3D "disabled"; - #address-cells =3D <1>; - #size-cells =3D <1>; - ranges; + reg =3D <0x0c010000 0x1000>; =20 clocks =3D <&gcc GCC_USB3_PHY_AUX_CLK>, + <&gcc GCC_USB3_CLKREF_CLK>, <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>, - <&gcc GCC_USB3_CLKREF_CLK>; - clock-names =3D "aux", "cfg_ahb", "ref"; + <&gcc GCC_USB3_PHY_PIPE_CLK>; + clock-names =3D "aux", + "ref", + "cfg_ahb", + "pipe"; + clock-output-names =3D "usb3_phy_pipe_clk_src"; + #clock-cells =3D <0>; + #phy-cells =3D <0>; =20 resets =3D <&gcc GCC_USB3_PHY_BCR>, <&gcc GCC_USB3PHY_PHY_BCR>; - reset-names =3D "phy", "common"; + reset-names =3D "phy", + "phy_phy"; =20 - usb1_ssphy: phy@c010200 { - reg =3D <0xc010200 0x128>, - <0xc010400 0x200>, - <0xc010c00 0x20c>, - <0xc010600 0x128>, - <0xc010800 0x200>; - #phy-cells =3D <0>; - #clock-cells =3D <0>; - clocks =3D <&gcc GCC_USB3_PHY_PIPE_CLK>; - clock-names =3D "pipe0"; - clock-output-names =3D "usb3_phy_pipe_clk_src"; - }; + status =3D "disabled"; }; =20 qusb2phy: phy@c012000 { --=20 2.43.0