[openwrt/openwrt] sunxi: enable cpufreq driver for H6 SoC

LEDE Commits lede-commits at lists.infradead.org
Sat Oct 28 09:32:47 PDT 2023


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/00e3447926d9abd5acb01e52299deeba7fec8672

commit 00e3447926d9abd5acb01e52299deeba7fec8672
Author: Chukun Pan <amadeus at jmu.edu.cn>
AuthorDate: Mon Oct 16 23:18:03 2023 +0800

    sunxi: enable cpufreq driver for H6 SoC
    
    Allwinner H6 needs this driver to enable DVFS support.
    May also be used with H616/H618 SoC in the future.
    
    Signed-off-by: Chukun Pan <amadeus at jmu.edu.cn>
---
 target/linux/sunxi/config-5.15 | 2 +-
 target/linux/sunxi/config-6.1  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/target/linux/sunxi/config-5.15 b/target/linux/sunxi/config-5.15
index c33bb7ab6f..6a7baf7bae 100644
--- a/target/linux/sunxi/config-5.15
+++ b/target/linux/sunxi/config-5.15
@@ -17,7 +17,7 @@ CONFIG_ARCH_SUNXI=y
 CONFIG_ARCH_SUNXI_MC_SMP=y
 CONFIG_ARCH_SUSPEND_POSSIBLE=y
 CONFIG_ARM=y
-# CONFIG_ARM_ALLWINNER_SUN50I_CPUFREQ_NVMEM is not set
+CONFIG_ARM_ALLWINNER_SUN50I_CPUFREQ_NVMEM=y
 CONFIG_ARM_APPENDED_DTB=y
 CONFIG_ARM_ARCH_TIMER=y
 CONFIG_ARM_ARCH_TIMER_EVTSTREAM=y
diff --git a/target/linux/sunxi/config-6.1 b/target/linux/sunxi/config-6.1
index 8f793f3c3a..a76834c13a 100644
--- a/target/linux/sunxi/config-6.1
+++ b/target/linux/sunxi/config-6.1
@@ -18,7 +18,7 @@ CONFIG_ARCH_SUNXI=y
 CONFIG_ARCH_SUNXI_MC_SMP=y
 CONFIG_ARCH_SUSPEND_POSSIBLE=y
 CONFIG_ARM=y
-# CONFIG_ARM_ALLWINNER_SUN50I_CPUFREQ_NVMEM is not set
+CONFIG_ARM_ALLWINNER_SUN50I_CPUFREQ_NVMEM=y
 CONFIG_ARM_APPENDED_DTB=y
 CONFIG_ARM_ARCH_TIMER=y
 CONFIG_ARM_ARCH_TIMER_EVTSTREAM=y




More information about the lede-commits mailing list