devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [BUG] omap: mfd/regulator: twl/core: init order
@ 2013-04-13 18:27 Christoph Fritz
  2013-04-15 10:20 ` Grygorii Strashko
  0 siblings, 1 reply; 8+ messages in thread
From: Christoph Fritz @ 2013-04-13 18:27 UTC (permalink / raw)
  To: Tony Lindgren, Javier Martinez Canillas, Liam Girdwood,
	Benoît Cousson, Tomi Valkeinen, Alessandro Zummo,
	Peter Ujfalusi, Samuel Ortiz
  Cc: linux-omap@vger.kernel.org, devicetree-discuss, Daniel Mack,
	Hans J. Koch

Hi

 while testing an omap3 board with device tree support I stumbled upon a
bug which is due to wrong initialization order of twl-core and
twl-regulator (I suppose): In the boot process they get loaded way too
late so that a lot of drivers before where configured wrong or just
refuse to load.

For example the real time clock driver: The RTC kicks in way before
twl_probe() and due to that it configures its register map wrong
(at this time twl_priv->twl_id isn't configured yet).

Another example is the omap display subsystem. It (DSS) fails loading
while trying to register some not yet existent regulators and because it
lacks EPROBE_DEFER.

USB and MMC is also not working and I'm suspicious of the same cause.

Any ideas?

 Thanks
  -- Christoph


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-04-16 17:54 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-13 18:27 [BUG] omap: mfd/regulator: twl/core: init order Christoph Fritz
2013-04-15 10:20 ` Grygorii Strashko
2013-04-15 10:56   ` Christoph Fritz
2013-04-15 10:59     ` Grygorii Strashko
2013-04-15 16:25       ` Tony Lindgren
     [not found]         ` <20130415162541.GO10155-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
2013-04-16  7:45           ` Peter Ujfalusi
2013-04-16  8:33             ` Grygorii Strashko
2013-04-16 17:54               ` Tony Lindgren

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 NNTP newsgroup(s).