Add the compatible for the RPM in msm8994.
Signed-off-by: Konrad Dybcio <[email protected]>
---
Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.txt | 1 +
drivers/soc/qcom/smd-rpm.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.txt b/Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.txt
index 616fddcd09fd..25541a475ead 100644
--- a/Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.txt
+++ b/Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.txt
@@ -23,6 +23,7 @@ resources.
"qcom,rpm-msm8916"
"qcom,rpm-msm8974"
"qcom,rpm-msm8976"
+ "qcom,rpm-msm8994"
"qcom,rpm-msm8998"
"qcom,rpm-sdm660"
"qcom,rpm-qcs404"
diff --git a/drivers/soc/qcom/smd-rpm.c b/drivers/soc/qcom/smd-rpm.c
index 005dd30c58fa..54eb5cbc05fd 100644
--- a/drivers/soc/qcom/smd-rpm.c
+++ b/drivers/soc/qcom/smd-rpm.c
@@ -233,6 +233,7 @@ static const struct of_device_id qcom_smd_rpm_of_match[] = {
{ .compatible = "qcom,rpm-msm8916" },
{ .compatible = "qcom,rpm-msm8974" },
{ .compatible = "qcom,rpm-msm8976" },
+ { .compatible = "qcom,rpm-msm8994" },
{ .compatible = "qcom,rpm-msm8996" },
{ .compatible = "qcom,rpm-msm8998" },
{ .compatible = "qcom,rpm-sdm660" },
--
2.26.2
Interestingly enough, this compatible has been used in lg-bullhead DTS
for a long long time, even though it has never existed upstream.
On Tue, 02 Jun 2020 22:04:07 +0200, Konrad Dybcio wrote:
> Add the compatible for the RPM in msm8994.
>
> Signed-off-by: Konrad Dybcio <[email protected]>
> ---
> Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.txt | 1 +
> drivers/soc/qcom/smd-rpm.c | 1 +
> 2 files changed, 2 insertions(+)
>
Acked-by: Rob Herring <[email protected]>
On Tue 02 Jun 13:04 PDT 2020, Konrad Dybcio wrote:
> Add the compatible for the RPM in msm8994.
>
> Signed-off-by: Konrad Dybcio <[email protected]>
Applied
Thanks,
Bjorn
> ---
> Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.txt | 1 +
> drivers/soc/qcom/smd-rpm.c | 1 +
> 2 files changed, 2 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.txt b/Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.txt
> index 616fddcd09fd..25541a475ead 100644
> --- a/Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.txt
> +++ b/Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.txt
> @@ -23,6 +23,7 @@ resources.
> "qcom,rpm-msm8916"
> "qcom,rpm-msm8974"
> "qcom,rpm-msm8976"
> + "qcom,rpm-msm8994"
> "qcom,rpm-msm8998"
> "qcom,rpm-sdm660"
> "qcom,rpm-qcs404"
> diff --git a/drivers/soc/qcom/smd-rpm.c b/drivers/soc/qcom/smd-rpm.c
> index 005dd30c58fa..54eb5cbc05fd 100644
> --- a/drivers/soc/qcom/smd-rpm.c
> +++ b/drivers/soc/qcom/smd-rpm.c
> @@ -233,6 +233,7 @@ static const struct of_device_id qcom_smd_rpm_of_match[] = {
> { .compatible = "qcom,rpm-msm8916" },
> { .compatible = "qcom,rpm-msm8974" },
> { .compatible = "qcom,rpm-msm8976" },
> + { .compatible = "qcom,rpm-msm8994" },
> { .compatible = "qcom,rpm-msm8996" },
> { .compatible = "qcom,rpm-msm8998" },
> { .compatible = "qcom,rpm-sdm660" },
> --
> 2.26.2
>