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

From: Mark Brown
Date: Tue Dec 03 2013 - 08:28:25 EST


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: signature.asc
Description: Digital signature