Hello, On Thu, Aug 05, 2021 at 05:26:09PM +0000, Diederik de Haas wrote: > At > https://salsa.debian.org/raspi-team/image-specs/-/issues/7#note_206349 > it was reported that CPU frequency scaling was enabled for armhf and > arm64, but not for armel. I (and others) have been able to confirm that. > > So I build my own kernel with the following patch: > +CONFIG_CLK_RASPBERRYPI=y Would CONFIG_CLK_RASPBERRYPI=m be enough? > +CONFIG_CPUFREQ_DT=m > +CONFIG_CPUFREQ_DT_PLATDEV=y > +CONFIG_ARM_RASPBERRYPI_CPUFREQ=m These look reasonable. > -CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y > +# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set > -# CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set > +CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y > -CONFIG_CPU_FREQ_GOV_ONDEMAND=m > +CONFIG_CPU_FREQ_GOV_ONDEMAND=y Hmm, CONFIG_CPU_FREQ_GOV_ONDEMAND=m is already there, so you should be able to switch to that if you prefer it?! Best regards Uwe -- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | https://www.pengutronix.de/ |
Attachment:
signature.asc
Description: PGP signature