2021-12-17 15:46:07

by Nícolas F. R. A. Prado

[permalink] [raw]
Subject: [PATCH] arm64: defconfig: Enable cpufreq for MediaTek

The MediaTek CPUFreq driver provides control of CPU frequency/voltage
on MediaTek SoCs. Since there's no device-tree node to bind it to, the
driver needs to be enabled built-in. Enable it so.

Signed-off-by: Nícolas F. R. A. Prado <[email protected]>
---
arch/arm64/configs/defconfig | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index f2e2b9bdd702..829e8bc045f7 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -96,6 +96,7 @@ CONFIG_ARM_QCOM_CPUFREQ_HW=y
CONFIG_ARM_RASPBERRYPI_CPUFREQ=m
CONFIG_ARM_SCMI_CPUFREQ=y
CONFIG_ARM_TEGRA186_CPUFREQ=y
+CONFIG_ARM_MEDIATEK_CPUFREQ=y
CONFIG_QORIQ_CPUFREQ=y
CONFIG_ARM_SCMI_PROTOCOL=y
CONFIG_ARM_SCPI_PROTOCOL=y
--
2.34.1



2021-12-29 19:54:57

by Matthias Brugger

[permalink] [raw]
Subject: Re: [PATCH] arm64: defconfig: Enable cpufreq for MediaTek



On 17/12/2021 16:44, Nícolas F. R. A. Prado wrote:
> The MediaTek CPUFreq driver provides control of CPU frequency/voltage
> on MediaTek SoCs. Since there's no device-tree node to bind it to, the
> driver needs to be enabled built-in. Enable it so.
>
> Signed-off-by: Nícolas F. R. A. Prado <[email protected]>

Queued now in v5.16-tmp/defconfig

Thanks

> ---
> arch/arm64/configs/defconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
> index f2e2b9bdd702..829e8bc045f7 100644
> --- a/arch/arm64/configs/defconfig
> +++ b/arch/arm64/configs/defconfig
> @@ -96,6 +96,7 @@ CONFIG_ARM_QCOM_CPUFREQ_HW=y
> CONFIG_ARM_RASPBERRYPI_CPUFREQ=m
> CONFIG_ARM_SCMI_CPUFREQ=y
> CONFIG_ARM_TEGRA186_CPUFREQ=y
> +CONFIG_ARM_MEDIATEK_CPUFREQ=y
> CONFIG_QORIQ_CPUFREQ=y
> CONFIG_ARM_SCMI_PROTOCOL=y
> CONFIG_ARM_SCPI_PROTOCOL=y
>