Re: [PATCH] regulator: twl: Enable regulators over the powerbus as well

From: Ivaylo Dimitrov
Date: Sat Mar 26 2016 - 02:19:45 EST




On 26.03.2016 00:28, Mark Brown wrote:
On Fri, Mar 25, 2016 at 09:19:12PM +0100, Sebastian Reichel wrote:
On Fri, Mar 25, 2016 at 06:20:17PM +0000, Mark Brown wrote:

Then there is a constraint that the regulators must be in normal mode
and this needs to be expressed in the machine constraints.

As in adding "regulator-initial-mode = <TWL4030_OPMODE_NORMAL>;" to
the regulator's DT node (and providing an of_map_mode method in the
twl-regulator driver)?

Yes, that sounds like a sensible way to do it.


Ok, going to send the relevant patches.