OSDN Git Service

cpufreq: mediatek: add support of cpufreq to MT7622 SoC
authorSean Wang <sean.wang@mediatek.com>
Wed, 9 Aug 2017 10:12:39 +0000 (18:12 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 9 Aug 2017 23:29:53 +0000 (01:29 +0200)
MT7622 is a 64-bit ARMv8 based dual-core SoC (2 * Cortex-A53) with a
single cluster. The hardware is also compatible with the current driver,
so add MT7622 as one of the compatible string list.

Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/mediatek-cpufreq.c

index 9fa9291..18c4bd9 100644 (file)
@@ -574,6 +574,7 @@ static struct platform_driver mtk_cpufreq_platdrv = {
 /* List of machines supported by this driver */
 static const struct of_device_id mtk_cpufreq_machines[] __initconst = {
        { .compatible = "mediatek,mt2701", },
 /* List of machines supported by this driver */
 static const struct of_device_id mtk_cpufreq_machines[] __initconst = {
        { .compatible = "mediatek,mt2701", },
+       { .compatible = "mediatek,mt7622", },
        { .compatible = "mediatek,mt7623", },
        { .compatible = "mediatek,mt817x", },
        { .compatible = "mediatek,mt8173", },
        { .compatible = "mediatek,mt7623", },
        { .compatible = "mediatek,mt817x", },
        { .compatible = "mediatek,mt8173", },