[PATCH v1 2/3] cpufreq: dt-platdev: Add JH7110 SOC to the allowlist

From: Mason Huo
Date: Tue Apr 11 2023 - 04:33:09 EST


Add the compatible strings for supporting the generic
cpufreq driver on the StarFive JH7110 SoC.

Signed-off-by: Mason Huo <mason.huo@xxxxxxxxxxxxxxxx>
---
drivers/cpufreq/cpufreq-dt-platdev.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/cpufreq/cpufreq-dt-platdev.c b/drivers/cpufreq/cpufreq-dt-platdev.c
index e85703651098..a1ac955aa7e2 100644
--- a/drivers/cpufreq/cpufreq-dt-platdev.c
+++ b/drivers/cpufreq/cpufreq-dt-platdev.c
@@ -92,6 +92,7 @@ static const struct of_device_id allowlist[] __initconst = {

{ .compatible = "xlnx,zynq-7000", },
{ .compatible = "xlnx,zynqmp", },
+ { .compatible = "starfive,jh7110", },

{ }
};
--
2.39.2