Skip to content

Commit ca0b966

Browse files
committed
redhat/configs: aarch64: compile cpufreq-dt-platdev as built-in
JIRA: https://issues.redhat.com/browse/RHEL-68851 Upstream-status: RHEL-only This driver provides the virtual cpufreq-dt device on platforms that support generic Device Tree based cpufreq control. It can be built as a module since upstream commit 3b062a0 ("cpufreq: dt-platdev: Support building as module"), but unfortunately this causes a regression on some platforms because the module does not autoload. This further prevents the cpufreq-dt driver from probing, leaving the platform with no cpufreq support. An example of such platform is the Renesas R-Car S4 board. Change the configuration to compile the cpufreq-dt-platdev as built-in. This future proofs the configuration, since this was reported [1] and fixed [2] upstream by confining the cpufreq-dt-platdev driver to be built-in. It also aligns the configuration with ARK and CS10, at least for automotive (the driver is disabled altogether for the rest of RHEL). [1] https://lore.kernel.org/all/20241119111918.1732531-1-javierm@redhat.com/ [2] https://git.kernel.org/pub/scm/linux/kernel/git/vireshk/pm.git/commit/?id=b5e2058a7a60a25234db959f78d1e0bfec682ea0 Signed-off-by: Radu Rendec <rrendec@redhat.com>
1 parent 58a4054 commit ca0b966

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
CONFIG_CPUFREQ_DT_PLATDEV=m
1+
CONFIG_CPUFREQ_DT_PLATDEV=y

0 commit comments

Comments
 (0)