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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 31 Dec 2022 12:13:57 +0000 (13:13 +0100)
[ Upstream commit 7f8b37dd4e7bf50160529530d9789b846153df71 ]

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
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/qcom/sm8250.dtsi

index bcc948f6f326ee90e68b73345fb98502741adb14..e4ba998d0c6e82ed944a4f2e79308b7bf9854ba7 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>;
                        };
                };