mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 13:48:06 +00:00
30 lines
1.2 KiB
Diff
30 lines
1.2 KiB
Diff
|
From 6ae07744cf334b750762ba881492c0cfba524b38 Mon Sep 17 00:00:00 2001
|
||
|
From: Martin Botka <martin.botka@somainline.org>
|
||
|
Date: Thu, 18 Apr 2024 16:44:02 +0100
|
||
|
Subject: [PATCH] cpufreq: dt-platdev: Blocklist Allwinner H616/618 SoCs
|
||
|
|
||
|
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 | 3 +++
|
||
|
1 file changed, 3 insertions(+)
|
||
|
|
||
|
--- a/drivers/cpufreq/cpufreq-dt-platdev.c
|
||
|
+++ b/drivers/cpufreq/cpufreq-dt-platdev.c
|
||
|
@@ -104,6 +104,9 @@ static const struct of_device_id allowli
|
||
|
*/
|
||
|
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", },
|
||
|
|