linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* Device probe order (i2c regulator vs. platform device)
@ 2010-03-24  7:10 Marek Szyprowski
  2010-03-24  9:19 ` Andy Green
  2010-03-24 10:21 ` Mark Brown
  0 siblings, 2 replies; 19+ messages in thread
From: Marek Szyprowski @ 2010-03-24  7:10 UTC (permalink / raw)
  To: linux-arm-kernel

Hello,

I've encountered a problem with regulator framework and the device probe order. In my system there is a pmic chip connected thought i2c bus and a platform device (let's call it A) that depends on the regulator device (for proper probing pmic chip must enable voltage to the device A). In the current configuration the i2c driver is also a platform device. However during the system initialization the device A is probed before the i2c driver would register pmic chip and its regulators.

How I can delay probing the device A to the moment when the regulator device will be available in the system? Is there any generic was of changing the device probe order? 

Best regards
--
Marek Szyprowski
Samsung Poland R&D Center

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

end of thread, other threads:[~2010-03-25 10:52 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-24  7:10 Device probe order (i2c regulator vs. platform device) Marek Szyprowski
2010-03-24  9:19 ` Andy Green
2010-03-24 11:11   ` Marek Szyprowski
2010-03-24 12:50     ` Andy Green
2010-03-24 13:11       ` Mark Brown
2010-03-24 13:22         ` Andy Green
2010-03-24 11:32   ` Mark Brown
2010-03-24 12:11     ` Andy Green
2010-03-24 14:01       ` Mark Brown
2010-03-24 14:38         ` Andy Green
2010-03-25 10:22           ` Mark Brown
2010-03-25 10:52             ` Andy Green
2010-03-24 10:21 ` Mark Brown
2010-03-24 10:57   ` Andy Green
2010-03-24 11:02   ` Marek Szyprowski
2010-03-24 11:08     ` Mark Brown
2010-03-24 11:27       ` Andy Green
2010-03-24 12:19         ` Mark Brown
2010-03-24 12:29           ` Andy Green

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).