Messages in this thread | | | Date | Tue, 3 Dec 2013 13:28:04 +0000 | From | Mark Brown <> | Subject | Re: [PATCH 2/4] MFD: TPS65218: Add driver for the TPS65218 PMIC |
| |
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. [unhandled content-type:application/pgp-signature] | |