Home Forum Software discussion How to enable DFS

Tagged: 

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #8056
    nanasi
    Participant

    Recently, Linux 5.4 has been released.
    However, DFS(Dynamic Frequency Scaling) for A8K is not enabled yet.
    Furthermore, it can’t be enabled by menuconfig.

    This is the patch to enable DFS for A8K.

    diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
    index c9a867ac3..b13d0fbc1 100644
    --- a/arch/arm64/configs/defconfig
    +++ b/arch/arm64/configs/defconfig
    @@ -83,6 +83,7 @@ CONFIG_CPU_FREQ_GOV_SCHEDUTIL=y
     CONFIG_CPUFREQ_DT=y
     CONFIG_ACPI_CPPC_CPUFREQ=m
     CONFIG_ARM_ARMADA_37XX_CPUFREQ=y
    +CONFIG_ARM_ARMADA_8K_CPUFREQ=y
     CONFIG_ARM_SCPI_CPUFREQ=y
     CONFIG_ARM_IMX_CPUFREQ_DT=m
     CONFIG_ARM_RASPBERRYPI_CPUFREQ=m
    diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm
    index a905796f7..25f11e9ec 100644
    --- a/drivers/cpufreq/Kconfig.arm
    +++ b/drivers/cpufreq/Kconfig.arm
    @@ -41,6 +41,7 @@ config ARM_ARMADA_37XX_CPUFREQ
     config ARM_ARMADA_8K_CPUFREQ
     	tristate "Armada 8K CPUFreq driver"
     	depends on ARCH_MVEBU && CPUFREQ_DT
    +	select ARMADA_AP_CPU_CLK
     	help
     	  This enables the CPUFreq driver support for Marvell
     	  Armada8k SOCs.
Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.

Technical specification tables can not be displayed on mobile. Please view on desktop