]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: qcom: sc7280: Use the header with DSI phy clock IDs
authorDmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Tue, 15 Apr 2025 10:25:59 +0000 (13:25 +0300)
committerBjorn Andersson <andersson@kernel.org>
Wed, 16 Apr 2025 02:11:03 +0000 (21:11 -0500)
Use the header with DSI phy clock IDs to make code more readable.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250415-drm-msm-dts-fixes-v1-1-90cd91bdd138@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sc7280.dtsi

index ec96c917b56b4a077b45ac0186da6aaedb899dbe..d780b5a18cf6472082a87bbbd1900b4ab907eda5 100644 (file)
@@ -6,6 +6,7 @@
  */
 #include <dt-bindings/clock/qcom,camcc-sc7280.h>
 #include <dt-bindings/clock/qcom,dispcc-sc7280.h>
+#include <dt-bindings/clock/qcom,dsi-phy-28nm.h>
 #include <dt-bindings/clock/qcom,gcc-sc7280.h>
 #include <dt-bindings/clock/qcom,gpucc-sc7280.h>
 #include <dt-bindings/clock/qcom,lpassaudiocc-sc7280.h>
                        reg = <0 0x0af00000 0 0x20000>;
                        clocks = <&rpmhcc RPMH_CXO_CLK>,
                                 <&gcc GCC_DISP_GPLL0_CLK_SRC>,
-                                <&mdss_dsi_phy 0>,
-                                <&mdss_dsi_phy 1>,
+                                <&mdss_dsi_phy DSI_BYTE_PLL_CLK>,
+                                <&mdss_dsi_phy DSI_PIXEL_PLL_CLK>,
                                 <&usb_1_qmpphy QMP_USB43DP_DP_LINK_CLK>,
                                 <&usb_1_qmpphy QMP_USB43DP_DP_VCO_DIV_CLK>,
                                 <&mdss_edp_phy 0>,
                                              "iface",
                                              "bus";
 
-                               assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>, <&dispcc DISP_CC_MDSS_PCLK0_CLK_SRC>;
-                               assigned-clock-parents = <&mdss_dsi_phy 0>, <&mdss_dsi_phy 1>;
+                               assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>,
+                                                 <&dispcc DISP_CC_MDSS_PCLK0_CLK_SRC>;
+                               assigned-clock-parents = <&mdss_dsi_phy DSI_BYTE_PLL_CLK>,
+                                                        <&mdss_dsi_phy DSI_PIXEL_PLL_CLK>;
 
                                operating-points-v2 = <&dsi_opp_table>;
                                power-domains = <&rpmhpd SC7280_CX>;