Re: [PATCH 2/4] MFD: TPS65218: Add driver for the TPS65218 PMIC

Mark Brown
2013-12-03T13:28:22Z

[-- Attachment #1: Type: text/plain, Size: 628 bytes --]

On Tue, Dec 03, 2013 at 11:21:07AM +0000, Lee Jones wrote:

> other is that you shouldn't be doing this at all with regulators. Mark
> likes the idea of having a single regulator controller node which
> contains all of these individual regulator sub-nodes and you initiate
> a single call to for_each_child_of_node() within the driver in order
> to register them all.

That's not really the case, it depends on how the hardware is
structured. If the regulators are not laid out in a regular fashion or
otherwise reusable then the above big bag of regulators makes sense. If
the hardware is reusable then things are different.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]