From: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
To: Johan Hovold <johan+linaro@kernel.org>,
Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: Andy Gross <agross@kernel.org>, Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 13/14] arm64: dts: qcom: msm8996: use non-empty ranges for PCIe PHYs
Date: Tue, 5 Jul 2022 16:07:59 +0300 [thread overview]
Message-ID: <8a423377-a181-2f41-6c11-a0e2b0d46c92@linaro.org> (raw)
In-Reply-To: <20220705114032.22787-14-johan+linaro@kernel.org>
On 05/07/2022 14:40, Johan Hovold wrote:
> Clean up the PCIe PHY nodes by using a non-empty ranges property.
A matter of taste, but nevertheless:
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
>
> Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
> ---
> arch/arm64/boot/dts/qcom/msm8996.dtsi | 26 +++++++++++++-------------
> 1 file changed, 13 insertions(+), 13 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi
> index b670d0412760..16869bb7d625 100644
> --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi
> +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi
> @@ -590,7 +590,7 @@ pcie_phy: phy@34000 {
> reg = <0x00034000 0x488>;
> #address-cells = <1>;
> #size-cells = <1>;
> - ranges;
> + ranges = <0x0 0x00034000 0x4000>;
>
> clocks = <&gcc GCC_PCIE_PHY_AUX_CLK>,
> <&gcc GCC_PCIE_PHY_CFG_AHB_CLK>,
> @@ -603,10 +603,10 @@ pcie_phy: phy@34000 {
> reset-names = "phy", "common", "cfg";
> status = "disabled";
>
> - pciephy_0: phy@35000 {
> - reg = <0x00035000 0x130>,
> - <0x00035200 0x200>,
> - <0x00035400 0x1dc>;
> + pciephy_0: phy@1000 {
> + reg = <0x1000 0x130>,
> + <0x1200 0x200>,
> + <0x1400 0x1dc>;
> #phy-cells = <0>;
>
> #clock-cells = <0>;
> @@ -617,10 +617,10 @@ pciephy_0: phy@35000 {
> reset-names = "lane0";
> };
>
> - pciephy_1: phy@36000 {
> - reg = <0x00036000 0x130>,
> - <0x00036200 0x200>,
> - <0x00036400 0x1dc>;
> + pciephy_1: phy@2000 {
> + reg = <0x2000 0x130>,
> + <0x2200 0x200>,
> + <0x2400 0x1dc>;
> #phy-cells = <0>;
>
> #clock-cells = <0>;
> @@ -631,10 +631,10 @@ pciephy_1: phy@36000 {
> reset-names = "lane1";
> };
>
> - pciephy_2: phy@37000 {
> - reg = <0x00037000 0x130>,
> - <0x00037200 0x200>,
> - <0x00037400 0x1dc>;
> + pciephy_2: phy@3000 {
> + reg = <0x3000 0x130>,
> + <0x3200 0x200>,
> + <0x3400 0x1dc>;
> #phy-cells = <0>;
>
> #clock-cells = <0>;
--
With best wishes
Dmitry
next prev parent reply other threads:[~2022-07-05 13:44 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-05 11:40 [PATCH 00/14] arm64: dts: qcom: QMP PHY fixes Johan Hovold
2022-07-05 11:40 ` [PATCH 01/14] arm64: dts: qcom: sc7280: drop PCIe PHY clock index Johan Hovold
2022-07-05 11:57 ` Dmitry Baryshkov
2022-07-05 12:42 ` Dmitry Baryshkov
2022-07-05 12:51 ` Johan Hovold
2022-07-05 12:57 ` Dmitry Baryshkov
2022-07-05 11:40 ` [PATCH 02/14] arm64: dts: qcom: sm8250: add missing PCIe PHY clock-cells Johan Hovold
2022-07-05 11:58 ` Dmitry Baryshkov
2022-07-05 12:42 ` Dmitry Baryshkov
2022-07-05 11:40 ` [PATCH 03/14] arm64: dts: qcom: ipq6018: drop USB PHY clock index Johan Hovold
2022-07-05 11:58 ` Dmitry Baryshkov
2022-07-05 11:40 ` [PATCH 04/14] arm64: dts: qcom: ipq8074: " Johan Hovold
2022-07-05 11:58 ` Dmitry Baryshkov
2022-07-05 11:40 ` [PATCH 05/14] arm64: dts: qcom: msm8996: " Johan Hovold
2022-07-05 11:40 ` [PATCH 06/14] arm64: dts: qcom: msm8998: " Johan Hovold
2022-07-05 13:03 ` Dmitry Baryshkov
2022-07-05 13:09 ` Dmitry Baryshkov
2022-07-07 6:46 ` Johan Hovold
2022-07-05 11:40 ` [PATCH 07/14] arm64: dts: qcom: sm8350: " Johan Hovold
2022-07-05 13:04 ` Dmitry Baryshkov
2022-07-05 11:40 ` [PATCH 08/14] arm64: dts: qcom: sm8450: " Johan Hovold
2022-07-05 11:40 ` [PATCH 09/14] arm64: dts: qcom: sc8280xp: drop UFS PHY clock-cells Johan Hovold
2022-07-05 13:06 ` Dmitry Baryshkov
2022-07-05 11:40 ` [PATCH 10/14] arm64: dts: qcom: sm8250: " Johan Hovold
2022-07-05 11:40 ` [PATCH 11/14] arm64: dts: qcom: sm8450: " Johan Hovold
2022-07-05 11:40 ` [PATCH 12/14] arm64: dts: qcom: msm8996: add missing PCIe " Johan Hovold
2022-07-05 11:40 ` [PATCH 13/14] arm64: dts: qcom: msm8996: use non-empty ranges for PCIe PHYs Johan Hovold
2022-07-05 13:07 ` Dmitry Baryshkov [this message]
2022-07-05 11:40 ` [PATCH 14/14] arm64: dts: qcom: msm8996: clean up PCIe PHY node Johan Hovold
2022-07-07 2:46 ` [PATCH 00/14] arm64: dts: qcom: QMP PHY fixes Bjorn Andersson
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=8a423377-a181-2f41-6c11-a0e2b0d46c92@linaro.org \
--to=dmitry.baryshkov@linaro.org \
--cc=agross@kernel.org \
--cc=bjorn.andersson@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=johan+linaro@kernel.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh+dt@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: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).