diff mbox series

[RESEND,v2,1/3] rpmcc: Add sm6125 compatible

Message ID 20210629102624.194378-2-martin.botka@somainline.org
State Superseded
Headers show
Series [RESEND,v2,1/3] rpmcc: Add sm6125 compatible | expand

Commit Message

Martin Botka June 29, 2021, 10:26 a.m. UTC
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(+)

Comments

Stephen Boyd July 27, 2021, 9:47 p.m. UTC | #1
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  },
Martin Botka July 30, 2021, 8:07 p.m. UTC | #2
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 mbox series

Patch

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);