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

From: Mark Brown
Date: Fri Mar 25 2016 - 14:20:29 EST


On Fri, Mar 25, 2016 at 07:22:45PM +0200, Ivaylo Dimitrov wrote:

> On Nokia N900 regulators are left in the mode last set by the bootloader or
> by the stock kernel, depends on whether it is power-on or reboot from stock
> kernel to mainline. That leads to problem with devices connected to vmmc2
> regulator - when the device is rebooted from stock kernel vmmc2 is left in
> "sleep" mode (REGULATOR_STATUS_STANDBY in terms of regulator framework) and
> as noone in mainline kernel switches vmmc2 regulator to normal
> (REGULATOR_STATUS_NORMAL) mode, devices supplied by it does not get enough
> power to operate normally.

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

Attachment: signature.asc
Description: PGP signature