arm64: dts: qcom: sm8250: fix UFS PHY registers
authorJohan Hovold <johan+linaro@kernel.org>
Mon, 24 Oct 2022 09:15:05 +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: b7e2fba06622 ("arm64: dts: qcom: sm8250: Add UFS controller and PHY")
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-3-johan+linaro@kernel.org
arch/arm64/boot/dts/qcom/sm8250.dtsi

index 369252fe8a7ba46354d8f60816cf5f321a43a335..6b6a7277db5e28810ddbc2f5281d0485d2bb4bb2 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>;
                        };
                };