Linux-PM Archive mirror
 help / color / mirror / Atom feed
From: Merlijn Wajer <merlijn@wizzup.org>
To: linux-omap <linux-omap@vger.kernel.org>
Cc: rafael@kernel.org, viresh.kumar@linaro.org,
	zhipeng.wang_1@nxp.com, Tony Lindgren <tony@atomide.com>,
	Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>,
	Carl Philipp Klemm <philipp@uvos.xyz>,
	"Sicelo A . Mhlongo" <absicsz@gmail.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	linux-pm@vger.kernel.org
Subject: No cpufreq entries with omap2plus_defconfig since "cpufreq: dt-platdev: Support building as module" (commit 3b062a08)
Date: Thu, 2 May 2024 13:04:56 +0200	[thread overview]
Message-ID: <657f402f-3c22-48bb-8102-ab35a74444c1@wizzup.org> (raw)

Hi,

I was looking at switching my Motorola Droid 4 phone from Linux 6.1 to 
Linux 6.6, and it no longer gets any cpufreq entries on boot, and I 
found cpufreq_dt was no longer loaded. I tried to force the issue by 
modprobe it, but to no avail. The same issue occurs on the latest 6.9.

After a bit of digging it looks like the problem is that 
cpufreq-dt-platdev can be built as a module and when this the case 
(apparently the default), cpufreq_dt doesn't work. With the 
omap2plus_defconfig, CONFIG_CPUFREQ_DT_PLATDEV is indeed set to module.

When I manually probe cpufreq-dt-platdev and cpufreq_dt, I get the 
cpufreq_entries back.

Searching around I found this debian bug report [1] which just flips the 
CONFIG_CPUFREQ_DT_PLATDEV back to '=y', but I think there might be a 
deeper issue here.

Is there a way to define this relationship/dependency for cpufreq-dt, so 
that it will automatically load this module?

Regards,
Merlijn

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1050587

             reply	other threads:[~2024-05-02 11:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-02 11:04 Merlijn Wajer [this message]
2024-05-20  7:19 ` No cpufreq entries with omap2plus_defconfig since "cpufreq: dt-platdev: Support building as module" (commit 3b062a08) Viresh Kumar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=657f402f-3c22-48bb-8102-ab35a74444c1@wizzup.org \
    --to=merlijn@wizzup.org \
    --cc=absicsz@gmail.com \
    --cc=ivo.g.dimitrov.75@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=philipp@uvos.xyz \
    --cc=rafael@kernel.org \
    --cc=tony@atomide.com \
    --cc=viresh.kumar@linaro.org \
    --cc=zhipeng.wang_1@nxp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).