summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew-sh.Cheng <andrew-sh.cheng@mediatek.com>2019-08-13 21:31:48 +0800
committerViresh Kumar <viresh.kumar@linaro.org>2019-08-22 11:31:04 +0530
commit9176b425bf8ff98fd12bffeea8e39373345cd745 (patch)
treedb343faf0544db4fe3e880f0ba309cc157faa768
parentdce0bb84a73bac8a5bf3ad54e922215b61350481 (diff)
downloadlinux-9176b425bf8ff98fd12bffeea8e39373345cd745.tar.bz2
cpufreq: mediatek: Add support for mt8183
Add compatible string for mediatek mt8183 Signed-off-by: Andrew-sh.Cheng <andrew-sh.cheng@mediatek.com> [ VK: Fixed rebase conflict ] Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
-rw-r--r--drivers/cpufreq/cpufreq-dt-platdev.c1
-rw-r--r--drivers/cpufreq/mediatek-cpufreq.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/cpufreq/cpufreq-dt-platdev.c b/drivers/cpufreq/cpufreq-dt-platdev.c
index 6fce11f63403..d51bfef286e3 100644
--- a/drivers/cpufreq/cpufreq-dt-platdev.c
+++ b/drivers/cpufreq/cpufreq-dt-platdev.c
@@ -120,6 +120,7 @@ static const struct of_device_id blacklist[] __initconst = {
{ .compatible = "mediatek,mt817x", },
{ .compatible = "mediatek,mt8173", },
{ .compatible = "mediatek,mt8176", },
+ { .compatible = "mediatek,mt8183", },
{ .compatible = "nvidia,tegra124", },
{ .compatible = "nvidia,tegra210", },
diff --git a/drivers/cpufreq/mediatek-cpufreq.c b/drivers/cpufreq/mediatek-cpufreq.c
index 42bc4c9044f6..0c98dd08273d 100644
--- a/drivers/cpufreq/mediatek-cpufreq.c
+++ b/drivers/cpufreq/mediatek-cpufreq.c
@@ -535,6 +535,7 @@ static const struct of_device_id mtk_cpufreq_machines[] __initconst = {
{ .compatible = "mediatek,mt817x", },
{ .compatible = "mediatek,mt8173", },
{ .compatible = "mediatek,mt8176", },
+ { .compatible = "mediatek,mt8183", },
{ .compatible = "mediatek,mt8516", },
{ }