cpufreq: dt-platdev: Blocklist Allwinner H616/618 SoCs
authorMartin Botka <martin.botka@somainline.org>
Thu, 18 Apr 2024 15:44:02 +0000 (16:44 +0100)
committerViresh Kumar <viresh.kumar@linaro.org>
Fri, 19 Apr 2024 07:04:27 +0000 (12:34 +0530)
The AllWinner H616 SoC will use the (extended) H6 OPP driver, so add
them to the cpufreq-dt blocklist, to not create the device twice.
This also affects the closely related sibling SoCs H618 and H700.

Signed-off-by: Martin Botka <martin.botka@somainline.org>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/cpufreq/cpufreq-dt-platdev.c

index b993a498084bc87fc86f7e1cc0ab88d67c309568..86d8baa8167953f5c9bd897c117a2228d6c9645a 100644 (file)
@@ -104,6 +104,9 @@ static const struct of_device_id allowlist[] __initconst = {
  */
 static const struct of_device_id blocklist[] __initconst = {
        { .compatible = "allwinner,sun50i-h6", },
+       { .compatible = "allwinner,sun50i-h616", },
+       { .compatible = "allwinner,sun50i-h618", },
+       { .compatible = "allwinner,sun50i-h700", },
 
        { .compatible = "apple,arm-platform", },