Message ID | 20230509-msm8226-mmcc-parents-v1-3-83a2dfc986ab@z3ntu.xyz (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | Provide parent clocks to msm8226 mmcc | expand |
On 9.05.2023 23:16, Luca Weiss wrote: > The mmcc needs several clocks that are being used as parents. Provide > them in dt. > > Signed-off-by: Luca Weiss <luca@z3ntu.xyz> > --- Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Konrad > arch/arm/boot/dts/qcom-msm8226.dtsi | 15 +++++++++++++++ > 1 file changed, 15 insertions(+) > > diff --git a/arch/arm/boot/dts/qcom-msm8226.dtsi b/arch/arm/boot/dts/qcom-msm8226.dtsi > index 4dd4e26c73a2..3187b6853445 100644 > --- a/arch/arm/boot/dts/qcom-msm8226.dtsi > +++ b/arch/arm/boot/dts/qcom-msm8226.dtsi > @@ -392,6 +392,21 @@ mmcc: clock-controller@fd8c0000 { > #clock-cells = <1>; > #reset-cells = <1>; > #power-domain-cells = <1>; > + > + clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, > + <&gcc GCC_MMSS_GPLL0_CLK_SRC>, > + <&gcc GPLL0_VOTE>, > + <&gcc GPLL1_VOTE>, > + <&rpmcc RPM_SMD_GFX3D_CLK_SRC>, > + <0>, > + <0>; > + clock-names = "xo", > + "mmss_gpll0_vote", > + "gpll0_vote", > + "gpll1_vote", > + "gfx3d_clk_src", > + "dsi0pll", > + "dsi0pllbyte"; > }; > > tlmm: pinctrl@fd510000 { >
diff --git a/arch/arm/boot/dts/qcom-msm8226.dtsi b/arch/arm/boot/dts/qcom-msm8226.dtsi index 4dd4e26c73a2..3187b6853445 100644 --- a/arch/arm/boot/dts/qcom-msm8226.dtsi +++ b/arch/arm/boot/dts/qcom-msm8226.dtsi @@ -392,6 +392,21 @@ mmcc: clock-controller@fd8c0000 { #clock-cells = <1>; #reset-cells = <1>; #power-domain-cells = <1>; + + clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, + <&gcc GCC_MMSS_GPLL0_CLK_SRC>, + <&gcc GPLL0_VOTE>, + <&gcc GPLL1_VOTE>, + <&rpmcc RPM_SMD_GFX3D_CLK_SRC>, + <0>, + <0>; + clock-names = "xo", + "mmss_gpll0_vote", + "gpll0_vote", + "gpll1_vote", + "gfx3d_clk_src", + "dsi0pll", + "dsi0pllbyte"; }; tlmm: pinctrl@fd510000 {
The mmcc needs several clocks that are being used as parents. Provide them in dt. Signed-off-by: Luca Weiss <luca@z3ntu.xyz> --- arch/arm/boot/dts/qcom-msm8226.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+)