cpufreq: dt-platdev: Add JH7110 SOC to the allowlist
authorMason Huo <mason.huo@starfivetech.com>
Thu, 4 May 2023 05:34:59 +0000 (14:34 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Mon, 24 Jul 2023 23:25:00 +0000 (08:25 +0900)
Add the compatible strings for supporting the generic
cpufreq driver on the StarFive JH7110 SoC.

Signed-off-by: Mason Huo <mason.huo@starfivetech.com>
[Backported patch :https://lore.kernel.org/all/20230421031431.23010-3-mason.huo@starfivetech.com/]
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Change-Id: I40c1539d935367f3da4b74f01aabde8428dc49d9

drivers/cpufreq/cpufreq-dt-platdev.c

index 69a8742..931ddef 100644 (file)
@@ -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", },