From: Bjorn Andersson <bjorn.andersson@linaro.org>
To: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Cc: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>,
Vinod Koul <vkoul@kernel.org>, Andy Gross <agross@kernel.org>,
Rob Herring <robh+dt@kernel.org>,
linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH] arm64: dts: qcom: sm8450: fix interconnects property of UFS node
Date: Mon, 11 Apr 2022 21:35:17 -0500 [thread overview]
Message-ID: <YlTlZa35A4lu02oI@builder.lan> (raw)
In-Reply-To: <CAA8EJpqrJr5RB8E6CQ+cAgp6bad4m_LSG6CPeMsf+Ws0jqFf1Q@mail.gmail.com>
On Tue 05 Apr 12:38 CDT 2022, Dmitry Baryshkov wrote:
> On Tue, 5 Apr 2022 at 20:17, Bjorn Andersson <bjorn.andersson@linaro.org> wrote:
> >
> > On Tue 05 Apr 08:38 PDT 2022, Dmitry Baryshkov wrote:
> >
> > > On 11/03/2022 01:19, Vladimir Zapolskiy wrote:
> > > > All interconnect device tree nodes on sm8450 are 2-cells, however in
> > > > UFS node they are handled as 1-cells, fix it.
> > > >
> > > > Fixes: aa2d0bf04a3c ("arm64: dts: qcom: sm8450: add interconnect nodes")
> > > > Signed-off-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
> > >
> > > Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> > >
> > > Bjorn, could you please this pick for the -rc kernel?
> > >
> >
> > The change is obviously correct, but what difference does this change
> > make with the current implementation?
>
> it makes interconnect paths probe correctly. All NoC have
> #interconnec-cells = <2> now.
>
But there's no code in the UFS driver that calls of_icc_get(), so what
does this actually do? (Other than correcting the dtb for the day when
we add that support to the driver).
Regards,
Bjorn
> >
> > Regards,
> > Bjorn
> >
> > > > ---
> > > > arch/arm64/boot/dts/qcom/sm8450.dtsi | 4 ++--
> > > > 1 file changed, 2 insertions(+), 2 deletions(-)
> > > >
> > > > diff --git a/arch/arm64/boot/dts/qcom/sm8450.dtsi b/arch/arm64/boot/dts/qcom/sm8450.dtsi
> > > > index 0cd5af8c03bd..bbd38b55e976 100644
> > > > --- a/arch/arm64/boot/dts/qcom/sm8450.dtsi
> > > > +++ b/arch/arm64/boot/dts/qcom/sm8450.dtsi
> > > > @@ -1376,8 +1376,8 @@ ufs_mem_hc: ufshc@1d84000 {
> > > > iommus = <&apps_smmu 0xe0 0x0>;
> > > > - interconnects = <&aggre1_noc MASTER_UFS_MEM &mc_virt SLAVE_EBI1>,
> > > > - <&gem_noc MASTER_APPSS_PROC &config_noc SLAVE_UFS_MEM_CFG>;
> > > > + interconnects = <&aggre1_noc MASTER_UFS_MEM 0 &mc_virt SLAVE_EBI1 0>,
> > > > + <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_UFS_MEM_CFG 0>;
> > > > interconnect-names = "ufs-ddr", "cpu-ufs";
> > > > clock-names =
> > > > "core_clk",
> > >
> > >
> > > --
> > > With best wishes
> > > Dmitry
>
>
>
> --
> With best wishes
> Dmitry
next prev parent reply other threads:[~2022-04-12 2:35 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-10 22:19 [PATCH] arm64: dts: qcom: sm8450: fix interconnects property of UFS node Vladimir Zapolskiy
2022-03-11 4:55 ` Vinod Koul
2022-04-05 15:38 ` Dmitry Baryshkov
2022-04-05 17:19 ` Bjorn Andersson
2022-04-05 17:38 ` Dmitry Baryshkov
2022-04-12 2:35 ` Bjorn Andersson [this message]
2022-04-12 6:34 ` Vladimir Zapolskiy
2022-04-12 11:17 ` Vinod Koul
2022-06-06 15:57 ` Dmitry Baryshkov
2022-06-27 20:03 ` 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=YlTlZa35A4lu02oI@builder.lan \
--to=bjorn.andersson@linaro.org \
--cc=agross@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.baryshkov@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=robh+dt@kernel.org \
--cc=vkoul@kernel.org \
--cc=vladimir.zapolskiy@linaro.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