From: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> To: Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Vinod Koul <vkoul@kernel.org>, Kishon Vijay Abraham I <kishon@kernel.org> Cc: linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, Johan Hovold <johan+linaro@kernel.org> Subject: [PATCH 10/41] arm64: dts: qcom: ipq6018: switch USB QMP PHY to new style of bindings Date: Fri, 24 Mar 2023 05:24:43 +0300 [thread overview] Message-ID: <20230324022514.1800382-11-dmitry.baryshkov@linaro.org> (raw) In-Reply-To: <20230324022514.1800382-1-dmitry.baryshkov@linaro.org> 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 <dmitry.baryshkov@linaro.org> --- arch/arm64/boot/dts/qcom/ipq6018.dtsi | 31 +++++++++++---------------- 1 file changed, 12 insertions(+), 19 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/ipq6018.dtsi b/arch/arm64/boot/dts/qcom/ipq6018.dtsi index 9ff4e9d45065..ff540bfcc062 100644 --- a/arch/arm64/boot/dts/qcom/ipq6018.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq6018.dtsi @@ -220,31 +220,24 @@ qusb_phy_1: qusb@59000 { ssphy_0: ssphy@78000 { compatible = "qcom,ipq6018-qmp-usb3-phy"; - reg = <0x0 0x00078000 0x0 0x1c4>; - #address-cells = <2>; - #size-cells = <2>; - ranges; + reg = <0x0 0x00078000 0x0 0x1000>; clocks = <&gcc GCC_USB0_AUX_CLK>, - <&gcc GCC_USB0_PHY_CFG_AHB_CLK>, <&xo>; - clock-names = "aux", "cfg_ahb", "ref"; + <&gcc GCC_USB0_PHY_CFG_AHB_CLK>, + <&xo>, + <&gcc GCC_USB0_PIPE_CLK>; + clock-names = "aux", + "cfg_ahb", + "ref", + "pipe"; + clock-output-names = "gcc_usb0_pipe_clk_src"; + #clock-cells = <0>; + #phy-cells = <0>; resets = <&gcc GCC_USB0_PHY_BCR>, <&gcc GCC_USB3PHY_0_PHY_BCR>; reset-names = "phy","common"; status = "disabled"; - - usb0_ssphy: phy@78200 { - reg = <0x0 0x00078200 0x0 0x130>, /* Tx */ - <0x0 0x00078400 0x0 0x200>, /* Rx */ - <0x0 0x00078800 0x0 0x1f8>, /* PCS */ - <0x0 0x00078600 0x0 0x044>; /* PCS misc */ - #phy-cells = <0>; - #clock-cells = <0>; - clocks = <&gcc GCC_USB0_PIPE_CLK>; - clock-names = "pipe0"; - clock-output-names = "gcc_usb0_pipe_clk_src"; - }; }; qusb_phy_0: qusb@79000 { @@ -553,7 +546,7 @@ dwc_0: usb@8a00000 { compatible = "snps,dwc3"; reg = <0x0 0x08a00000 0x0 0xcd00>; interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>; - phys = <&qusb_phy_0>, <&usb0_ssphy>; + phys = <&qusb_phy_0>, <&ssphy_0>; phy-names = "usb2-phy", "usb3-phy"; clocks = <&xo>; clock-names = "ref"; -- 2.30.2
WARNING: multiple messages have this Message-ID (diff)
From: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> To: Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Vinod Koul <vkoul@kernel.org>, Kishon Vijay Abraham I <kishon@kernel.org> Cc: linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, Johan Hovold <johan+linaro@kernel.org> Subject: [PATCH 10/41] arm64: dts: qcom: ipq6018: switch USB QMP PHY to new style of bindings Date: Fri, 24 Mar 2023 05:24:43 +0300 [thread overview] Message-ID: <20230324022514.1800382-11-dmitry.baryshkov@linaro.org> (raw) In-Reply-To: <20230324022514.1800382-1-dmitry.baryshkov@linaro.org> 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 <dmitry.baryshkov@linaro.org> --- arch/arm64/boot/dts/qcom/ipq6018.dtsi | 31 +++++++++++---------------- 1 file changed, 12 insertions(+), 19 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/ipq6018.dtsi b/arch/arm64/boot/dts/qcom/ipq6018.dtsi index 9ff4e9d45065..ff540bfcc062 100644 --- a/arch/arm64/boot/dts/qcom/ipq6018.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq6018.dtsi @@ -220,31 +220,24 @@ qusb_phy_1: qusb@59000 { ssphy_0: ssphy@78000 { compatible = "qcom,ipq6018-qmp-usb3-phy"; - reg = <0x0 0x00078000 0x0 0x1c4>; - #address-cells = <2>; - #size-cells = <2>; - ranges; + reg = <0x0 0x00078000 0x0 0x1000>; clocks = <&gcc GCC_USB0_AUX_CLK>, - <&gcc GCC_USB0_PHY_CFG_AHB_CLK>, <&xo>; - clock-names = "aux", "cfg_ahb", "ref"; + <&gcc GCC_USB0_PHY_CFG_AHB_CLK>, + <&xo>, + <&gcc GCC_USB0_PIPE_CLK>; + clock-names = "aux", + "cfg_ahb", + "ref", + "pipe"; + clock-output-names = "gcc_usb0_pipe_clk_src"; + #clock-cells = <0>; + #phy-cells = <0>; resets = <&gcc GCC_USB0_PHY_BCR>, <&gcc GCC_USB3PHY_0_PHY_BCR>; reset-names = "phy","common"; status = "disabled"; - - usb0_ssphy: phy@78200 { - reg = <0x0 0x00078200 0x0 0x130>, /* Tx */ - <0x0 0x00078400 0x0 0x200>, /* Rx */ - <0x0 0x00078800 0x0 0x1f8>, /* PCS */ - <0x0 0x00078600 0x0 0x044>; /* PCS misc */ - #phy-cells = <0>; - #clock-cells = <0>; - clocks = <&gcc GCC_USB0_PIPE_CLK>; - clock-names = "pipe0"; - clock-output-names = "gcc_usb0_pipe_clk_src"; - }; }; qusb_phy_0: qusb@79000 { @@ -553,7 +546,7 @@ dwc_0: usb@8a00000 { compatible = "snps,dwc3"; reg = <0x0 0x08a00000 0x0 0xcd00>; interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>; - phys = <&qusb_phy_0>, <&usb0_ssphy>; + phys = <&qusb_phy_0>, <&ssphy_0>; phy-names = "usb2-phy", "usb3-phy"; clocks = <&xo>; clock-names = "ref"; -- 2.30.2 -- linux-phy mailing list linux-phy@lists.infradead.org https://lists.infradead.org/mailman/listinfo/linux-phy
next prev parent reply other threads:[~2023-03-24 2:25 UTC|newest] Thread overview: 100+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-03-24 2:24 [PATCH 00/41] phy: qcom-qmp: convert to newer style of bindings Dmitry Baryshkov 2023-03-24 2:24 ` Dmitry Baryshkov 2023-03-24 2:24 ` [PATCH 01/41] dt-bindings: phy: migrate QMP USB PHY bindings to qcom,sc8280xp-qmp-usb3-uni-phy.yaml Dmitry Baryshkov 2023-03-24 2:24 ` Dmitry Baryshkov 2023-03-24 7:48 ` Johan Hovold 2023-03-24 7:48 ` Johan Hovold 2023-03-24 12:12 ` Dmitry Baryshkov 2023-03-24 12:12 ` Dmitry Baryshkov 2023-03-24 9:43 ` Krzysztof Kozlowski 2023-03-24 9:43 ` Krzysztof Kozlowski 2023-03-24 11:45 ` Dmitry Baryshkov 2023-03-24 11:45 ` Dmitry Baryshkov 2023-03-24 2:24 ` [PATCH 02/41] dt-bindings: phy: migrate combo QMP PHY bindings to qcom,sc8280xp-qmp-usb43dp-phy.yaml Dmitry Baryshkov 2023-03-24 2:24 ` Dmitry Baryshkov 2023-03-24 7:54 ` Johan Hovold 2023-03-24 7:54 ` Johan Hovold 2023-03-24 2:24 ` [PATCH 03/41] dt-bindings: phy: migrate QMP UFS PHY bindings to qcom,sc8280xp-qmp-ufs-phy.yaml Dmitry Baryshkov 2023-03-24 2:24 ` Dmitry Baryshkov 2023-03-24 7:56 ` Johan Hovold 2023-03-24 7:56 ` Johan Hovold 2023-03-24 2:24 ` [PATCH 04/41] dt-bindings: phy: migrate QMP PCIe PHY bindings to qcom,sc8280xp-qmp-pcie-phy.yaml Dmitry Baryshkov 2023-03-24 2:24 ` Dmitry Baryshkov 2023-03-24 8:04 ` Johan Hovold 2023-03-24 8:04 ` Johan Hovold 2023-03-24 12:16 ` Dmitry Baryshkov 2023-03-24 12:16 ` Dmitry Baryshkov 2023-03-24 2:24 ` [PATCH 05/41] phy: qcom-qmp-usb: make QPHY_PCS_MISC_CLAMP_ENABLE access conditional Dmitry Baryshkov 2023-03-24 2:24 ` Dmitry Baryshkov 2023-03-24 2:24 ` [PATCH 06/41] phy: qcom-qmp: move PCS MISC V4 registers to separate header Dmitry Baryshkov 2023-03-24 2:24 ` Dmitry Baryshkov 2023-03-24 2:24 ` [PATCH 07/41] phy: qcom-qmp-usb: populate offsets configuration Dmitry Baryshkov 2023-03-24 2:24 ` Dmitry Baryshkov 2023-03-24 2:24 ` [PATCH 08/41] phy: qcom-qmp-ufs: " Dmitry Baryshkov 2023-03-24 2:24 ` Dmitry Baryshkov 2023-03-24 2:24 ` [PATCH 09/41] phy: qcom-qmp-pcie: " Dmitry Baryshkov 2023-03-24 2:24 ` Dmitry Baryshkov 2023-03-24 2:24 ` Dmitry Baryshkov [this message] 2023-03-24 2:24 ` [PATCH 10/41] arm64: dts: qcom: ipq6018: switch USB QMP PHY to new style of bindings Dmitry Baryshkov 2023-03-24 2:24 ` [PATCH 11/41] arm64: dts: qcom: ipq8074: " Dmitry Baryshkov 2023-03-24 2:24 ` Dmitry Baryshkov 2023-03-24 2:24 ` [PATCH 12/41] arm64: dts: qcom: msm8996: " Dmitry Baryshkov 2023-03-24 2:24 ` Dmitry Baryshkov 2023-03-24 2:24 ` [PATCH 13/41] arm64: dts: qcom: msm8998: " Dmitry Baryshkov 2023-03-24 2:24 ` Dmitry Baryshkov 2023-03-24 2:24 ` [PATCH 14/41] arm64: dts: qcom: sdm845: " Dmitry Baryshkov 2023-03-24 2:24 ` Dmitry Baryshkov 2023-03-24 2:24 ` [PATCH 15/41] arm64: dts: qcom: sm8150: " Dmitry Baryshkov 2023-03-24 2:24 ` Dmitry Baryshkov 2023-03-24 2:24 ` [PATCH 16/41] arm64: dts: qcom: sm8250: " Dmitry Baryshkov 2023-03-24 2:24 ` Dmitry Baryshkov 2023-03-24 2:24 ` [PATCH 17/41] arm64: dts: qcom: sm8350: " Dmitry Baryshkov 2023-03-24 2:24 ` Dmitry Baryshkov 2023-03-24 2:24 ` [PATCH 18/41] arm64: dts: qcom: sc7180: switch USB+DP " Dmitry Baryshkov 2023-03-24 2:24 ` Dmitry Baryshkov 2023-03-24 2:24 ` [PATCH 19/41] arm64: dts: qcom: sc7280: " Dmitry Baryshkov 2023-03-24 2:24 ` Dmitry Baryshkov 2023-03-24 2:24 ` [PATCH 20/41] arm64: dts: qcom: sdm845: " Dmitry Baryshkov 2023-03-24 2:24 ` Dmitry Baryshkov 2023-03-24 2:24 ` [PATCH 21/41] arm64: dts: qcom: sm8250: " Dmitry Baryshkov 2023-03-24 2:24 ` Dmitry Baryshkov 2023-03-24 2:24 ` [PATCH 22/41] arm64: dts: qcom: msm8996: switch UFS " Dmitry Baryshkov 2023-03-24 2:24 ` Dmitry Baryshkov 2023-03-24 2:24 ` [PATCH 23/41] arm64: dts: qcom: msm8998: " Dmitry Baryshkov 2023-03-24 2:24 ` Dmitry Baryshkov 2023-03-24 2:24 ` [PATCH 24/41] arm64: dts: qcom: sdm845: " Dmitry Baryshkov 2023-03-24 2:24 ` Dmitry Baryshkov 2023-03-24 2:24 ` [PATCH 25/41] arm64: dts: qcom: sm6115: " Dmitry Baryshkov 2023-03-24 2:24 ` Dmitry Baryshkov 2023-03-24 2:24 ` [PATCH 26/41] arm64: dts: qcom: sm6350: " Dmitry Baryshkov 2023-03-24 2:24 ` Dmitry Baryshkov 2023-03-24 2:25 ` [PATCH 27/41] arm64: dts: qcom: sm8150: " Dmitry Baryshkov 2023-03-24 2:25 ` Dmitry Baryshkov 2023-03-24 2:25 ` [PATCH 28/41] arm64: dts: qcom: sm8250: " Dmitry Baryshkov 2023-03-24 2:25 ` Dmitry Baryshkov 2023-03-24 2:25 ` [PATCH 29/41] arm64: dts: qcom: sm8350: " Dmitry Baryshkov 2023-03-24 2:25 ` Dmitry Baryshkov 2023-03-24 2:25 ` [PATCH 30/41] arm64: dts: qcom: sm8450: " Dmitry Baryshkov 2023-03-24 2:25 ` Dmitry Baryshkov 2023-03-24 2:25 ` [PATCH 31/41] arm64: dts: qcom: ipq6018: switch PCIe " Dmitry Baryshkov 2023-03-24 2:25 ` Dmitry Baryshkov 2023-03-24 2:25 ` [PATCH 32/41] arm64: dts: qcom: ipq8074: " Dmitry Baryshkov 2023-03-24 2:25 ` Dmitry Baryshkov 2023-03-24 2:25 ` [PATCH 33/41] arm64: dts: qcom: msm8998: " Dmitry Baryshkov 2023-03-24 2:25 ` Dmitry Baryshkov 2023-03-24 2:25 ` [PATCH 34/41] arm64: dts: qcom: sc7280: " Dmitry Baryshkov 2023-03-24 2:25 ` Dmitry Baryshkov 2023-03-24 2:25 ` [PATCH 35/41] arm64: dts: qcom: sdm845: " Dmitry Baryshkov 2023-03-24 2:25 ` Dmitry Baryshkov 2023-03-24 2:25 ` [PATCH 36/41] arm64: dts: qcom: sm8150: " Dmitry Baryshkov 2023-03-24 2:25 ` Dmitry Baryshkov 2023-03-24 2:25 ` [PATCH 37/41] arm64: dts: qcom: sm8250: " Dmitry Baryshkov 2023-03-24 2:25 ` Dmitry Baryshkov 2023-03-24 2:25 ` [PATCH 38/41] arm64: dts: qcom: sm8450: " Dmitry Baryshkov 2023-03-24 2:25 ` Dmitry Baryshkov 2023-03-24 2:25 ` [PATCH 39/41] ARM: dts: qcom-sdx55: switch USB " Dmitry Baryshkov 2023-03-24 2:25 ` Dmitry Baryshkov 2023-03-24 2:25 ` [PATCH 40/41] ARM: dts: qcom-sdx65: " Dmitry Baryshkov 2023-03-24 2:25 ` Dmitry Baryshkov 2023-03-24 2:25 ` [PATCH 41/41] ARM: dts: qcom-sdx55: switch PCIe " Dmitry Baryshkov 2023-03-24 2:25 ` Dmitry Baryshkov
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20230324022514.1800382-11-dmitry.baryshkov@linaro.org \ --to=dmitry.baryshkov@linaro.org \ --cc=agross@kernel.org \ --cc=andersson@kernel.org \ --cc=johan+linaro@kernel.org \ --cc=kishon@kernel.org \ --cc=konrad.dybcio@linaro.org \ --cc=linux-arm-msm@vger.kernel.org \ --cc=linux-phy@lists.infradead.org \ --cc=vkoul@kernel.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.