Thread (16 messages) 16 messages, 4 authors, 2018-11-28

Re: [PATCH v5 3/5] arm64: dts: qcom: sdm845: add UFS controller

From: Evan Green <hidden>
Date: 2018-11-28 23:43:56
Also in: linux-arm-msm, lkml

On Wed, Nov 21, 2018 at 11:18 PM Bjorn Andersson
[off-list ref] wrote:
On Fri 26 Oct 10:35 PDT 2018, Evan Green wrote:
quoted
diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi
index b72bdb0a31a5..9c72edb678ec 100644
--- a/arch/arm64/boot/dts/qcom/sdm845.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi
@@ -808,6 +808,73 @@
                      };
              };

+             ufshc1: ufshc@1d84000 {
There's only one ufshc and one ufsphy, so no need to include the index.
Aren't there two UFS controllers on SDM845, a "card" one and a "mem"
one? I'm only adding the "mem" one here since that's all I can test,
but I thought it made sense to leave the number there so someone could
add the "card" one later if needed.
[..]
quoted
+                     resets = <&gcc GCC_UFS_PHY_BCR>;
+                     reset-names = "rst";
I have this as well, but this is not used by the upstream driver nor is
it mentioned in the dt-binding.
I see it in Documentation/devicetree/bindings/ufs/ufshcd-pltfrm.txt,
but then the only place I see it being used is ufs-hisi.c. So you're
right, I think I should spin and remove this. Since I'm spinning, let
me know about the numbering thing above.

quoted
+
+                     status = "disabled";
+             };
+
+             ufsphy1: phy@1d87000 {
With reservation for the "reset" issue:

Reviewed-by: Bjorn Andersson <redacted>

Regards,
Bjorn
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help