Quoting Konrad Dybcio (2021-01-30 17:30:09) > Add support for RPM-managed clocks on the MDM9607 platform. > > Signed-off-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxx> > --- > .../devicetree/bindings/clock/qcom,rpmcc.txt | 1 + > drivers/clk/qcom/clk-smd-rpm.c | 32 +++++++++++++++++++ > 2 files changed, 33 insertions(+) > > diff --git a/Documentation/devicetree/bindings/clock/qcom,rpmcc.txt b/Documentation/devicetree/bindings/clock/qcom,rpmcc.txt > index b44a0622fb3a..5ac207d4b8ab 100644 > --- a/Documentation/devicetree/bindings/clock/qcom,rpmcc.txt > +++ b/Documentation/devicetree/bindings/clock/qcom,rpmcc.txt > @@ -10,6 +10,7 @@ Required properties : > - compatible : shall contain only one of the following. The generic > compatible "qcom,rpmcc" should be also included. > > + "qcom,rpmcc-mdm9607", "qcom,rpmcc" > "qcom,rpmcc-msm8660", "qcom,rpmcc" > "qcom,rpmcc-apq8060", "qcom,rpmcc" > "qcom,rpmcc-msm8916", "qcom,rpmcc" > diff --git a/drivers/clk/qcom/clk-smd-rpm.c b/drivers/clk/qcom/clk-smd-rpm.c > index 0e1dfa89489e..ceea50bae8f8 100644 > --- a/drivers/clk/qcom/clk-smd-rpm.c > +++ b/drivers/clk/qcom/clk-smd-rpm.c > @@ -406,6 +406,37 @@ static const struct clk_ops clk_smd_rpm_branch_ops = { > .unprepare = clk_smd_rpm_unprepare, > }; > > +/* mdm9607 */ > +DEFINE_CLK_SMD_RPM_BRANCH(mdm9607, xo_clk_src, xo_a_clk_src, QCOM_SMD_RPM_MISC_CLK, 0, > + 19200000); Same comment about the parent rate being specified here. Please follow how clk-rpmh has done it. > +DEFINE_CLK_SMD_RPM(mdm9607, pcnoc_clk, pcnoc_a_clk, QCOM_SMD_RPM_BUS_CLK, 0);