Re: [PATCH v2 1/2] regulator: Add coupled regulator
From: Maxime Ripard <hidden>
Date: 2016-02-05 14:33:32
Also in:
linux-arm-kernel, lkml
Attachments
- signature.asc [application/pgp-signature] 819 bytes
From: Maxime Ripard <hidden>
Date: 2016-02-05 14:33:32
Also in:
linux-arm-kernel, lkml
Hi Mark, On Thu, Jan 21, 2016 at 04:28:02PM +0000, Mark Brown wrote:
On Thu, Jan 21, 2016 at 04:46:49PM +0100, Maxime Ripard wrote:quoted
I guess a separate driver would make it easier to deal with cases like the one you suggested (shutting down when the load is going to be lower). I don't see how we could have a good DT representation of that if we're going to use lists.We can have a driver regardless of what the DT looks like, it's a question of how things get instantiated.quoted
Anyway, I'm fine with both approaches, just let me know what you prefer.Without seeing an implementation of the lists it's hard to say.
Just to make sure we're on the same page: you want to keep the regulator, but instead of giving the parent through vinX-supplies properties, you want to have a single *-supply property, with a list of regulators, right? Thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com