From: Mason Huo Date: Thu, 4 May 2023 05:34:59 +0000 (+0900) Subject: cpufreq: dt-platdev: Add JH7110 SOC to the allowlist X-Git-Tag: accepted/tizen/unified/riscv/20230718.024919~100 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=beb040376552ba19f8289adac620ea63c7fc8c96;p=platform%2Fkernel%2Flinux-starfive.git cpufreq: dt-platdev: Add JH7110 SOC to the allowlist Add the compatible strings for supporting the generic cpufreq driver on the StarFive JH7110 SoC. Signed-off-by: Mason Huo [Backported patch :https://lore.kernel.org/all/20230421031431.23010-3-mason.huo@starfivetech.com/] Signed-off-by: Hoegeun Kwon Change-Id: I40c1539d935367f3da4b74f01aabde8428dc49d9 --- diff --git a/drivers/cpufreq/cpufreq-dt-platdev.c b/drivers/cpufreq/cpufreq-dt-platdev.c index 69a8742c0a7a..931ddef90629 100644 --- a/drivers/cpufreq/cpufreq-dt-platdev.c +++ b/drivers/cpufreq/cpufreq-dt-platdev.c @@ -86,6 +86,8 @@ static const struct of_device_id allowlist[] __initconst = { { .compatible = "st-ericsson,u9500", }, { .compatible = "st-ericsson,u9540", }, + { .compatible = "starfive,jh7110", }, + { .compatible = "ti,omap2", }, { .compatible = "ti,omap4", }, { .compatible = "ti,omap5", },