arm64: dts: qcom: sm8150: fix UFS PHY registers
authorJohan Hovold <johan+linaro@kernel.org>
Mon, 24 Oct 2022 09:15:04 +0000 (11:15 +0200)
committerBjorn Andersson <andersson@kernel.org>
Mon, 7 Nov 2022 03:11:10 +0000 (21:11 -0600)
The sizes of the UFS PHY register regions are too small and does
specifically not cover all registers used by the Linux driver.

As Linux maps these regions as full pages this is currently not an issue
on Linux, but let's update the sizes to match the vendor driver.

Fixes: 3834a2e92229 ("arm64: dts: qcom: sm8150: Add ufs nodes")
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221024091507.20342-2-johan+linaro@kernel.org
arch/arm64/boot/dts/qcom/sm8150.dtsi

index 5fa575e4425af33c2edebdee33452ac11f5e3c41..18bf51ce8b130bc6bf63bbf098b14a2425dc9f9b 100644 (file)
                        status = "disabled";
 
                        ufs_mem_phy_lanes: phy@1d87400 {
-                               reg = <0 0x01d87400 0 0x108>,
-                                     <0 0x01d87600 0 0x1e0>,
-                                     <0 0x01d87c00 0 0x1dc>,
-                                     <0 0x01d87800 0 0x108>,
-                                     <0 0x01d87a00 0 0x1e0>;
+                               reg = <0 0x01d87400 0 0x16c>,
+                                     <0 0x01d87600 0 0x200>,
+                                     <0 0x01d87c00 0 0x200>,
+                                     <0 0x01d87800 0 0x16c>,
+                                     <0 0x01d87a00 0 0x200>;
                                #phy-cells = <0>;
                        };
                };