From nobody Fri Apr 3 00:49:57 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 72CFAECAAD3 for ; Mon, 19 Sep 2022 09:45:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230341AbiISJpk (ORCPT ); Mon, 19 Sep 2022 05:45:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38710 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229887AbiISJpN (ORCPT ); Mon, 19 Sep 2022 05:45:13 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3A93BEE02; Mon, 19 Sep 2022 02:45:10 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id BDC16B80A26; Mon, 19 Sep 2022 09:45:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6C903C433D7; Mon, 19 Sep 2022 09:45:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1663580707; bh=Ye+EQy2nQUkjwwPpLSgurC7cPORoqOPdsdDAaDT8wCY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rnnnMnXHZtSb1K0XmqrzuHC7p3iIEQC7/zvcRziS+0YFOqtva0EMai+h/luCAdMWH C2wLgzdPYuPa4ylztdlmo6xoB8K1VOUxWrNbZ3uFfyph/yiYtBY6kqx6IZwDtABitv t1FKNZC6nHXhZJWUAkwAYG/xSYVNL74oJqef3ccXyyVtKRs/fHbE00p/Md9wtfbKon N117UKpEUVlip5SVVr1olYYWy3zJMSf2/94bgJ/+/y6/cE7/C2uiRA9zQyJEU6zIB3 iQ6/90nkFCpOLg3rg31IqgCq+ByoEU++8LhuuEbFW5UQGhIlwWbOUjl9eSHFzef9gW D911gzjEV/jzA== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1oaDKx-0000Po-Ug; Mon, 19 Sep 2022 11:45:11 +0200 From: Johan Hovold To: Bjorn Andersson Cc: Andy Gross , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH 1/4] arm64: dts: qcom: sc8280xp: fix USB0 PHY PCS_MISC registers Date: Mon, 19 Sep 2022 11:44:51 +0200 Message-Id: <20220919094454.1574-2-johan+linaro@kernel.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220919094454.1574-1-johan+linaro@kernel.org> References: <20220919094454.1574-1-johan+linaro@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" The USB0 SS PHY node had the PCS_MISC register block (0x1200) replaced with PCS_USB (0x1700). Fixes: 152d1faf1e2f ("arm64: dts: qcom: add SC8280XP platform") Signed-off-by: Johan Hovold Reviewed-by: Andrew Halaney --- arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi b/arch/arm64/boot/dts/q= com/sc8280xp.dtsi index 49ea8b5612fc..e8905445ca19 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi +++ b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi @@ -1184,7 +1184,7 @@ usb_0_ssphy: usb3-phy@88eb400 { <0 0x088ec400 0 0x1f0>, <0 0x088eba00 0 0x100>, <0 0x088ebc00 0 0x3ec>, - <0 0x088ec700 0 0x64>; + <0 0x088ec200 0 0x18>; #phy-cells =3D <0>; #clock-cells =3D <0>; clocks =3D <&gcc GCC_USB3_PRIM_PHY_PIPE_CLK>; --=20 2.35.1 From nobody Fri Apr 3 00:49:57 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 12947C54EE9 for ; Mon, 19 Sep 2022 09:45:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229682AbiISJph (ORCPT ); Mon, 19 Sep 2022 05:45:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38708 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229869AbiISJpN (ORCPT ); Mon, 19 Sep 2022 05:45:13 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A86D6EE3F; Mon, 19 Sep 2022 02:45:10 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 06DC1B818A3; Mon, 19 Sep 2022 09:45:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 73531C433B5; Mon, 19 Sep 2022 09:45:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1663580707; bh=s9K7DCVx0hfoKr2j9LhDAa8fNE0tFe+Lj985aH8PwG0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AYdtTZyplR9Y130+ScxX6hlVQ46AgOBSnppVz/9G/C6Xzz6i9TK/hXkEWe9BpBMhj i9islBVVihlvLkWLxJgyhEccDPJR/ZWCWuGxHJRbNa0+g6OfYXr8XoeUhWc2U2pQ80 RnpaBRnSJ/V+nzyw8lPS6ypRI7PPuSh2AAJeOl6K4BaX1wWQQqOHZ6RJ91DFJ8yFZC 7o0N7+ntgP2lIdQrYO4UrSQqP61Xq+nPiRo+ivCK3suVqPdMVQS28Rhk4mb03Ru4lZ Cy4kUwXltOCl04SKLo3oIgtr9WZeAbWBaHCr/UYBUAuxiXSq/WIqLiPhCQd06bsvLd 6cnqrdOeYwKpw== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1oaDKy-0000Pq-1Q; Mon, 19 Sep 2022 11:45:12 +0200 From: Johan Hovold To: Bjorn Andersson Cc: Andy Gross , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH 2/4] arm64: dts: qcom: sc8280xp: fix USB1 PHY RX1 registers Date: Mon, 19 Sep 2022 11:44:52 +0200 Message-Id: <20220919094454.1574-3-johan+linaro@kernel.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220919094454.1574-1-johan+linaro@kernel.org> References: <20220919094454.1574-1-johan+linaro@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" The USB1 SS PHY node had the RX1 register block (0x600) replaced with RX2 (0xc00). Fixes: 152d1faf1e2f ("arm64: dts: qcom: add SC8280XP platform") Signed-off-by: Johan Hovold Reviewed-by: Andrew Halaney --- arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi b/arch/arm64/boot/dts/q= com/sc8280xp.dtsi index e8905445ca19..9667eb1b7c61 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi +++ b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi @@ -1242,7 +1242,7 @@ usb_1_qmpphy: phy-wrapper@8904000 { =20 usb_1_ssphy: usb3-phy@8903400 { reg =3D <0 0x08903400 0 0x100>, - <0 0x08903c00 0 0x3ec>, + <0 0x08903600 0 0x3ec>, <0 0x08904400 0 0x1f0>, <0 0x08903a00 0 0x100>, <0 0x08903c00 0 0x3ec>, --=20 2.35.1 From nobody Fri Apr 3 00:49:57 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 922EBECAAD3 for ; Mon, 19 Sep 2022 09:45:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230318AbiISJpd (ORCPT ); Mon, 19 Sep 2022 05:45:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38684 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230071AbiISJpM (ORCPT ); Mon, 19 Sep 2022 05:45:12 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 38CBEE0C3; Mon, 19 Sep 2022 02:45:08 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 2B8DF60EF8; Mon, 19 Sep 2022 09:45:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 787BDC4347C; Mon, 19 Sep 2022 09:45:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1663580707; bh=d1sW83zQAn+g1g6/CERF4nHo6pWaZsqOjzZ4b2sA9Yg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hKj3v1W6KgkihYXMv6DC85tHIGQEFpOd40DjhoweYEiBtOOenfpMFyUP39GrfMi+n 5eLIdGuO7xjp92F2PW/U+iqd4K22Wkmepj9vfqVASzABRM377b1tFDzMhSKN8OB2dG b77lgtErseOB6BlJnWkGuimpy5Ue5kIIFCuXEBNVOj56kf/SS6NQzREH+BJZiuUzwk orNOQ9+Uy/2nJejBMvsKRS2J8Q1IJxIld79z1OW3sAeWz3wU9YRWfFXo2MdlkxqhwG CwwR+SBZRpIZkyQsTs+LFciW6hKSDWVULeXpgj1+1hJFkt/Fz6UDqZn9SeaLVvpjPc bh0brBcgfF0ig== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1oaDKy-0000Ps-4Z; Mon, 19 Sep 2022 11:45:12 +0200 From: Johan Hovold To: Bjorn Andersson Cc: Andy Gross , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH 3/4] arm64: dts: qcom: sc8280xp: fix USB PHY PCS registers Date: Mon, 19 Sep 2022 11:44:53 +0200 Message-Id: <20220919094454.1574-4-johan+linaro@kernel.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220919094454.1574-1-johan+linaro@kernel.org> References: <20220919094454.1574-1-johan+linaro@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" With the current binding, the PCS register block (0x1400) needs to include the PCS_USB registers (0x1700). Fixes: 152d1faf1e2f ("arm64: dts: qcom: add SC8280XP platform") Signed-off-by: Johan Hovold Reviewed-by: Andrew Halaney --- arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi b/arch/arm64/boot/dts/q= com/sc8280xp.dtsi index 9667eb1b7c61..c734cac84719 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi +++ b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi @@ -1181,7 +1181,7 @@ usb_0_qmpphy: phy-wrapper@88ec000 { usb_0_ssphy: usb3-phy@88eb400 { reg =3D <0 0x088eb400 0 0x100>, <0 0x088eb600 0 0x3ec>, - <0 0x088ec400 0 0x1f0>, + <0 0x088ec400 0 0x364>, <0 0x088eba00 0 0x100>, <0 0x088ebc00 0 0x3ec>, <0 0x088ec200 0 0x18>; @@ -1243,7 +1243,7 @@ usb_1_qmpphy: phy-wrapper@8904000 { usb_1_ssphy: usb3-phy@8903400 { reg =3D <0 0x08903400 0 0x100>, <0 0x08903600 0 0x3ec>, - <0 0x08904400 0 0x1f0>, + <0 0x08904400 0 0x364>, <0 0x08903a00 0 0x100>, <0 0x08903c00 0 0x3ec>, <0 0x08904200 0 0x18>; --=20 2.35.1 From nobody Fri Apr 3 00:49:57 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DDC74ECAAD3 for ; Mon, 19 Sep 2022 09:45:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229618AbiISJpV (ORCPT ); Mon, 19 Sep 2022 05:45:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38680 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230015AbiISJpM (ORCPT ); Mon, 19 Sep 2022 05:45:12 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 38650E089; Mon, 19 Sep 2022 02:45:08 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 1CD00617A1; Mon, 19 Sep 2022 09:45:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6C8BDC433D6; Mon, 19 Sep 2022 09:45:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1663580707; bh=XITKlPeeoIj+gRcJGE4GNKtWufjLUHLpqTekyIgpw88=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pc7YS22VNlbG9KV9WKAdB8uKMd/8oQlAw+bFERZY3nCJ65ud+uq0ofCvU5CWgwqsV mydSs9qBtCeuLsKPd+5/iL73UkvFS/biC4WoNdrXkBQYqTLu0EVG/NwLkDCuTypOUm 7NhIVFyMqs5FORFmQUMZiKgWzhNexPpS4lysKnw3jXwXFp7VrRWvr8b6D2ZivTrKYG yVzdbGCi4HsuZEHur09120DiKri9TzOc7qHi0j0GzBSAip70ifzxLAGnHMCRgqrE5/ YTNAtltznSloIG16oqDsiGy2l/eknXU/Dpx5CYna5KpGhcuC6kv2ULpqqCquxLy80z MI02qX9cbCNvQ== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1oaDKy-0000Pu-7C; Mon, 19 Sep 2022 11:45:12 +0200 From: Johan Hovold To: Bjorn Andersson Cc: Andy Gross , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH 4/4] arm64: dts: qcom: sc8280xp: drop broken DP PHY nodes Date: Mon, 19 Sep 2022 11:44:54 +0200 Message-Id: <20220919094454.1574-5-johan+linaro@kernel.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220919094454.1574-1-johan+linaro@kernel.org> References: <20220919094454.1574-1-johan+linaro@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" The DP PHY register layout of the current binding do not apply to the newer USB4/USB3/DP PHY which uses a different register layout entirely. Drop the DP PHY subnodes until the binding has been updated to prevent the driver from corrupting unrelated registers. Note that this is also needed in order to not break USB with an upcoming PHY driver change that checks for overlapping register regions. Fixes: 152d1faf1e2f ("arm64: dts: qcom: add SC8280XP platform") Signed-off-by: Johan Hovold --- arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi b/arch/arm64/boot/dts/q= com/sc8280xp.dtsi index c734cac84719..014d72e49c74 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi +++ b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi @@ -1191,16 +1191,6 @@ usb_0_ssphy: usb3-phy@88eb400 { clock-names =3D "pipe0"; clock-output-names =3D "usb0_phy_pipe_clk_src"; }; - - usb_0_dpphy: dp-phy@88ed200 { - reg =3D <0 0x088ed200 0 0x200>, - <0 0x088ed400 0 0x200>, - <0 0x088eda00 0 0x200>, - <0 0x088ea600 0 0x200>, - <0 0x088ea800 0 0x200>; - #clock-cells =3D <1>; - #phy-cells =3D <0>; - }; }; =20 usb_1_hsphy: phy@8902000 { @@ -1253,16 +1243,6 @@ usb_1_ssphy: usb3-phy@8903400 { clock-names =3D "pipe0"; clock-output-names =3D "usb1_phy_pipe_clk_src"; }; - - usb_1_dpphy: dp-phy@8904200 { - reg =3D <0 0x08904200 0 0x200>, - <0 0x08904400 0 0x200>, - <0 0x08904a00 0 0x200>, - <0 0x08904600 0 0x200>, - <0 0x08904800 0 0x200>; - #clock-cells =3D <1>; - #phy-cells =3D <0>; - }; }; =20 system-cache-controller@9200000 { --=20 2.35.1