d67b35ee71299ec3a240dad2b872edef6181b63e
[openwrt/openwrt.git] /
1 From 6ae07744cf334b750762ba881492c0cfba524b38 Mon Sep 17 00:00:00 2001
2 From: Martin Botka <martin.botka@somainline.org>
3 Date: Thu, 18 Apr 2024 16:44:02 +0100
4 Subject: [PATCH] cpufreq: dt-platdev: Blocklist Allwinner H616/618 SoCs
5
6 The AllWinner H616 SoC will use the (extended) H6 OPP driver, so add
7 them to the cpufreq-dt blocklist, to not create the device twice.
8 This also affects the closely related sibling SoCs H618 and H700.
9
10 Signed-off-by: Martin Botka <martin.botka@somainline.org>
11 Signed-off-by: Andre Przywara <andre.przywara@arm.com>
12 Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
13 Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
14 ---
15 drivers/cpufreq/cpufreq-dt-platdev.c | 3 +++
16 1 file changed, 3 insertions(+)
17
18 --- a/drivers/cpufreq/cpufreq-dt-platdev.c
19 +++ b/drivers/cpufreq/cpufreq-dt-platdev.c
20 @@ -104,6 +104,9 @@ static const struct of_device_id allowli
21 */
22 static const struct of_device_id blocklist[] __initconst = {
23 { .compatible = "allwinner,sun50i-h6", },
24 + { .compatible = "allwinner,sun50i-h616", },
25 + { .compatible = "allwinner,sun50i-h618", },
26 + { .compatible = "allwinner,sun50i-h700", },
27
28 { .compatible = "apple,arm-platform", },
29