arm64: dts: qcom: sm8150: switch UFS QMP PHY to new style of bindings
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Tue, 5 Dec 2023 03:25:49 +0000 (06:25 +0300)
committerBjorn Andersson <andersson@kernel.org>
Sat, 16 Dec 2023 05:13:11 +0000 (23:13 -0600)
Change the UFS QMP PHY to use newer style of QMP PHY bindings (single
resource region, no per-PHY subnodes).

Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20231205032552.1583336-7-dmitry.baryshkov@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sm8150.dtsi

index 2ce07910dd133b3193f9167b43df694f59292a9f..43f0579f0440682f5de51055bd870e62c08238bb 100644 (file)
                              <0 0x01d90000 0 0x8000>;
                        reg-names = "std", "ice";
                        interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>;
-                       phys = <&ufs_mem_phy_lanes>;
+                       phys = <&ufs_mem_phy>;
                        phy-names = "ufsphy";
                        lanes-per-direction = <2>;
                        #reset-cells = <1>;
 
                ufs_mem_phy: phy@1d87000 {
                        compatible = "qcom,sm8150-qmp-ufs-phy";
-                       reg = <0 0x01d87000 0 0x1c0>;
-                       #address-cells = <2>;
-                       #size-cells = <2>;
-                       ranges;
+                       reg = <0 0x01d87000 0 0x1000>;
+
                        clock-names = "ref",
                                      "ref_aux";
                        clocks = <&gcc GCC_UFS_MEM_CLKREF_CLK>,
 
                        resets = <&ufs_mem_hc 0>;
                        reset-names = "ufsphy";
-                       status = "disabled";
 
-                       ufs_mem_phy_lanes: phy@1d87400 {
-                               reg = <0 0x01d87400 0 0x16c>,
-                                     <0 0x01d87600 0 0x200>,
-                                     <0 0x01d87c00 0 0x200>,
-                                     <0 0x01d87800 0 0x16c>,
-                                     <0 0x01d87a00 0 0x200>;
-                               #phy-cells = <0>;
-                       };
+                       #phy-cells = <0>;
+
+                       status = "disabled";
                };
 
                cryptobam: dma-controller@1dc4000 {