From: Jun Nie <jun.nie@linaro.org>
To: nks@flawful.org, linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org
Cc: shawn.guo@linaro.org, Jun Nie <jun.nie@linaro.org>
Subject: [PATCH 1/3] cpufreq: qcom: Add support for msm8939
Date: Wed, 30 Sep 2020 14:26:01 +0800 [thread overview]
Message-ID: <20200930062603.29009-2-jun.nie@linaro.org> (raw)
In-Reply-To: <20200930062603.29009-1-jun.nie@linaro.org>
Add qcom-cpufreq-nvmem support for msm8939.
Also add msm8939 to cpufreq-dt-platdev blacklist to avoid
conflict.
Signed-off-by: Jun Nie <jun.nie@linaro.org>
---
drivers/cpufreq/cpufreq-dt-platdev.c | 1 +
drivers/cpufreq/qcom-cpufreq-nvmem.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/drivers/cpufreq/cpufreq-dt-platdev.c b/drivers/cpufreq/cpufreq-dt-platdev.c
index 7d01df7bfa6c..b6eeb8ef9c11 100644
--- a/drivers/cpufreq/cpufreq-dt-platdev.c
+++ b/drivers/cpufreq/cpufreq-dt-platdev.c
@@ -130,6 +130,7 @@ static const struct of_device_id blacklist[] __initconst = {
{ .compatible = "nvidia,tegra210", },
{ .compatible = "qcom,apq8096", },
+ { .compatible = "qcom,msm8939", },
{ .compatible = "qcom,msm8996", },
{ .compatible = "qcom,qcs404", },
{ .compatible = "qcom,sc7180", },
diff --git a/drivers/cpufreq/qcom-cpufreq-nvmem.c b/drivers/cpufreq/qcom-cpufreq-nvmem.c
index d06b37822c3d..d88060330497 100644
--- a/drivers/cpufreq/qcom-cpufreq-nvmem.c
+++ b/drivers/cpufreq/qcom-cpufreq-nvmem.c
@@ -458,6 +458,7 @@ static const struct of_device_id qcom_cpufreq_match_list[] __initconst = {
{ .compatible = "qcom,apq8096", .data = &match_data_kryo },
{ .compatible = "qcom,msm8996", .data = &match_data_kryo },
{ .compatible = "qcom,qcs404", .data = &match_data_qcs404 },
+ { .compatible = "qcom,msm8939", .data = &match_data_qcs404 },
{ .compatible = "qcom,ipq8064", .data = &match_data_krait },
{ .compatible = "qcom,apq8064", .data = &match_data_krait },
{ .compatible = "qcom,msm8974", .data = &match_data_krait },
--
2.17.1
next prev parent reply other threads:[~2020-09-30 6:26 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-30 6:26 [PATCH 0/3] Support CPR on msm8939 Jun Nie
2020-09-30 6:26 ` Jun Nie [this message]
2020-09-30 6:26 ` [PATCH 2/3] dt-bindings: power: avs: CPR: Add corner adjust properties Jun Nie
2020-09-30 6:26 ` [PATCH 3/3] power: avs: qcom-cpr: add support to msm8939 Jun Nie
2020-10-01 0:59 ` kernel test robot
2020-10-07 3:22 ` Jun Nie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200930062603.29009-2-jun.nie@linaro.org \
--to=jun.nie@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=nks@flawful.org \
--cc=shawn.guo@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).