[PATCH 1/2] cpufreq: mediatek: Add support for mt8167
Viresh Kumar
viresh.kumar at linaro.org
Wed Oct 28 02:08:43 EDT 2020
On 13-10-20, 11:27, Fabien Parent wrote:
> Add compatible string for mediatek mt8167
>
> Signed-off-by: Fabien Parent <fparent at baylibre.com>
> ---
> drivers/cpufreq/cpufreq-dt-platdev.c | 1 +
> drivers/cpufreq/mediatek-cpufreq.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..b8d48ed37156 100644
> --- a/drivers/cpufreq/cpufreq-dt-platdev.c
> +++ b/drivers/cpufreq/cpufreq-dt-platdev.c
> @@ -119,6 +119,7 @@ static const struct of_device_id blacklist[] __initconst = {
> { .compatible = "mediatek,mt2712", },
> { .compatible = "mediatek,mt7622", },
> { .compatible = "mediatek,mt7623", },
> + { .compatible = "mediatek,mt8167", },
> { .compatible = "mediatek,mt817x", },
> { .compatible = "mediatek,mt8173", },
> { .compatible = "mediatek,mt8176", },
> diff --git a/drivers/cpufreq/mediatek-cpufreq.c b/drivers/cpufreq/mediatek-cpufreq.c
> index 7d1212c9b7c8..c09bff86bb9b 100644
> --- a/drivers/cpufreq/mediatek-cpufreq.c
> +++ b/drivers/cpufreq/mediatek-cpufreq.c
> @@ -532,6 +532,7 @@ static const struct of_device_id mtk_cpufreq_machines[] __initconst = {
> { .compatible = "mediatek,mt2712", },
> { .compatible = "mediatek,mt7622", },
> { .compatible = "mediatek,mt7623", },
> + { .compatible = "mediatek,mt8167", },
> { .compatible = "mediatek,mt817x", },
> { .compatible = "mediatek,mt8173", },
> { .compatible = "mediatek,mt8176", },
Applied. Thanks.
--
viresh
More information about the linux-arm-kernel
mailing list