[PATCH v2 5/5] regulator: axp20x: resolve self dependency issue

Mark Brown broonie at kernel.org
Mon May 26 08:43:56 PDT 2014


On Mon, May 26, 2014 at 04:58:12PM +0200, Boris BREZILLON wrote:
> Some regulators might take their power supply from other regulators defined
> by the same PMIC.
> 
> Retry regulators registration until all regulators are registered or the
> last iteration didn't manage to register any new regulator (which means
> there's an external dependency missing and we can thus return
> EPROBE_DEFER).

This is going to apply to most PMICs - we should factor this out into
the core rather than implementing it individual drivers.  It works
normally because typically the dependency is from DCDCs to LDOs and so
with common naming schemes alphabetic sorting saves us.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140526/de651b6f/attachment.sig>


More information about the linux-arm-kernel mailing list