From: Andreas Kemnade <andreas@kemnade.info>
To: linux-omap@vger.kernel.org
Subject: __omap2_common_pm_late_init too early
Date: Tue, 1 Oct 2024 15:57:28 +0200 [thread overview]
Message-ID: <20241001155728.55a5bb1a@akair> (raw)
Hi,
I analyzed boot issues a bit:
On the bt200 (OMAP4460) I see:
[ 1.647430] twl: not initialized
[ 1.650817] twl6030_uv_to_vsel:OUT OF RANGE! non mapped vsel for
1375000 Vs max 1316660
All that is called from __omap2_common_pm_late_init
Well, the second line is the consequence of the first line.
TWL is not initialized yet, nor i2c nor ti-sysc.
So that cannot work. Probably it did only work in days when async probe
was not that widespread.
It is declared as
omap_late_initcall(omap2_common_pm_late_init);
In the past there were some stories where omap3 offmode could only be
enabled from userspace... So maybe more trouble here because we are
doing things sometimes too early.
I am a bit unsure when it should be started.
For comparison, other places where things should be done when the
system should be basically known:
clk uses late_initcall_sync() instead of late_initcall() for disabling
unused clocks.
regualtor uses late_initcall_sync() +30s delayed_work for disabling
unused regulators.
Opinions?
Regards,
Andreas
reply other threads:[~2024-10-01 13:57 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20241001155728.55a5bb1a@akair \
--to=andreas@kemnade.info \
--cc=linux-omap@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.