Message ID | 20210629102624.194378-2-martin.botka@somainline.org (mailing list archive) |
---|---|
State | Superseded, archived |
Headers | show |
Series | RPMCC for SM6125 | expand |
Quoting Martin Botka (2021-06-29 03:26:21) > Add a compatible for SM6125 and assing correct data > > Signed-off-by: Martin Botka <martin.botka@somainline.org> > --- This patch needs to be combined with the one that introduces rpm_clk_sm6125. > diff --git a/drivers/clk/qcom/clk-smd-rpm.c b/drivers/clk/qcom/clk-smd-rpm.c > index 0e1dfa89489e..8200c26b968c 100644 > --- a/drivers/clk/qcom/clk-smd-rpm.c > +++ b/drivers/clk/qcom/clk-smd-rpm.c > @@ -1070,6 +1070,7 @@ static const struct of_device_id rpm_smd_clk_match_table[] = { > { .compatible = "qcom,rpmcc-msm8998", .data = &rpm_clk_msm8998 }, > { .compatible = "qcom,rpmcc-qcs404", .data = &rpm_clk_qcs404 }, > { .compatible = "qcom,rpmcc-sdm660", .data = &rpm_clk_sdm660 }, > + { .compatible = "qcom,rpmcc-sm6125", .data = &rpm_clk_sm6125 },
On Tue, Jul 27 2021 at 02:47:44 PM -0700, Stephen Boyd <sboyd@kernel.org> wrote: > Quoting Martin Botka (2021-06-29 03:26:21) >> Add a compatible for SM6125 and assing correct data >> >> Signed-off-by: Martin Botka <martin.botka@somainline.org> >> --- > > This patch needs to be combined with the one that introduces > rpm_clk_sm6125. > >> + { .compatible = "qcom,rpmcc-sm6125", .data = >> &rpm_clk_sm6125 }, >> diff --git a/drivers/clk/qcom/clk-smd-rpm.c >> b/drivers/clk/qcom/clk-smd-rpm.c >> index 0e1dfa89489e..8200c26b968c 100644 >> --- a/drivers/clk/qcom/clk-smd-rpm.c >> +++ b/drivers/clk/qcom/clk-smd-rpm.c >> @@ -1070,6 +1070,7 @@ static const struct of_device_id >> rpm_smd_clk_match_table[] = { >> { .compatible = "qcom,rpmcc-msm8998", .data = >> &rpm_clk_msm8998 }, >> { .compatible = "qcom,rpmcc-qcs404", .data = >> &rpm_clk_qcs404 }, >> { .compatible = "qcom,rpmcc-sdm660", .data = >> &rpm_clk_sdm660 }, > OK.
diff --git a/drivers/clk/qcom/clk-smd-rpm.c b/drivers/clk/qcom/clk-smd-rpm.c index 0e1dfa89489e..8200c26b968c 100644 --- a/drivers/clk/qcom/clk-smd-rpm.c +++ b/drivers/clk/qcom/clk-smd-rpm.c @@ -1070,6 +1070,7 @@ static const struct of_device_id rpm_smd_clk_match_table[] = { { .compatible = "qcom,rpmcc-msm8998", .data = &rpm_clk_msm8998 }, { .compatible = "qcom,rpmcc-qcs404", .data = &rpm_clk_qcs404 }, { .compatible = "qcom,rpmcc-sdm660", .data = &rpm_clk_sdm660 }, + { .compatible = "qcom,rpmcc-sm6125", .data = &rpm_clk_sm6125 }, { } }; MODULE_DEVICE_TABLE(of, rpm_smd_clk_match_table);
Add a compatible for SM6125 and assing correct data Signed-off-by: Martin Botka <martin.botka@somainline.org> --- drivers/clk/qcom/clk-smd-rpm.c | 1 + 1 file changed, 1 insertion(+)