Skip to content

Commit 17268fa

Browse files
krzkandersson
authored andcommitted
ARM: dts: qcom: msm8226: Use the header with DSI phy clock IDs
Use the header with DSI phy clock IDs to make code more readable. Reviewed-by: Dmitry Baryshkov <[email protected]> Reviewed-by: Neil Armstrong <[email protected]> Signed-off-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
1 parent 0af2f6b commit 17268fa

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

arch/arm/boot/dts/qcom/qcom-msm8226.dtsi

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
/dts-v1/;
77

88
#include <dt-bindings/interrupt-controller/arm-gic.h>
9+
#include <dt-bindings/clock/qcom,dsi-phy-28nm.h>
910
#include <dt-bindings/clock/qcom,gcc-msm8974.h>
1011
#include <dt-bindings/clock/qcom,mmcc-msm8974.h>
1112
#include <dt-bindings/clock/qcom,rpmcc.h>
@@ -983,8 +984,8 @@
983984
<&gcc GPLL0_VOTE>,
984985
<&gcc GPLL1_VOTE>,
985986
<&rpmcc RPM_SMD_GFX3D_CLK_SRC>,
986-
<&mdss_dsi0_phy 1>,
987-
<&mdss_dsi0_phy 0>;
987+
<&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>,
988+
<&mdss_dsi0_phy DSI_BYTE_PLL_CLK>;
988989
clock-names = "xo",
989990
"mmss_gpll0_vote",
990991
"gpll0_vote",
@@ -1060,8 +1061,8 @@
10601061

10611062
assigned-clocks = <&mmcc BYTE0_CLK_SRC>,
10621063
<&mmcc PCLK0_CLK_SRC>;
1063-
assigned-clock-parents = <&mdss_dsi0_phy 0>,
1064-
<&mdss_dsi0_phy 1>;
1064+
assigned-clock-parents = <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>,
1065+
<&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>;
10651066

10661067
clocks = <&mmcc MDSS_MDP_CLK>,
10671068
<&mmcc MDSS_AHB_CLK>,

0 commit comments

Comments
 (0)