mediatek: backport upstream mediatek patches
[openwrt/openwrt.git] / target / linux / mediatek / patches-4.14 / 0164-cpufreq-mediatek-add-mt2712-into-compatible-list.patch
1 From f027d8b7248cef5b3d3eb8ac68e1040fba340995 Mon Sep 17 00:00:00 2001
2 From: Andrew-sh Cheng <andrew-sh.cheng@mediatek.com>
3 Date: Fri, 8 Dec 2017 14:07:55 +0800
4 Subject: [PATCH 164/224] cpufreq: mediatek: add mt2712 into compatible list
5
6 Support mt2712 in mediatek-cpufreq.c
7
8 Signed-off-by: Andrew-sh Cheng <andrew-sh.cheng@mediatek.com>
9 Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
10 Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
11 ---
12 drivers/cpufreq/mediatek-cpufreq.c | 1 +
13 1 file changed, 1 insertion(+)
14
15 diff --git a/drivers/cpufreq/mediatek-cpufreq.c b/drivers/cpufreq/mediatek-cpufreq.c
16 index 18c4bd9a5c65..62aec5cdbb26 100644
17 --- a/drivers/cpufreq/mediatek-cpufreq.c
18 +++ b/drivers/cpufreq/mediatek-cpufreq.c
19 @@ -574,6 +574,7 @@ static struct platform_driver mtk_cpufreq_platdrv = {
20 /* List of machines supported by this driver */
21 static const struct of_device_id mtk_cpufreq_machines[] __initconst = {
22 { .compatible = "mediatek,mt2701", },
23 + { .compatible = "mediatek,mt2712", },
24 { .compatible = "mediatek,mt7622", },
25 { .compatible = "mediatek,mt7623", },
26 { .compatible = "mediatek,mt817x", },
27 --
28 2.11.0
29