Re: [RFC PATCH] regulator: palmas: enable all modes for SMPS10

From: Mark Brown
Date: Mon Jun 10 2013 - 08:49:58 EST


On Mon, Jun 10, 2013 at 04:33:04PM +0530, Kishon Vijay Abraham I wrote:
> On Monday 10 June 2013 03:33 PM, Mark Brown wrote:
> >On Mon, Jun 10, 2013 at 03:20:06PM +0530, Kishon Vijay Abraham I wrote:

> >>SMPS10 has two outputs OUT2 and OUT1. In order to connect OUT2 to
> >>OUT1 we have to set "SWITCH_EN" bit in SMPS10_CTRL register.

> >Is that not just a normal enable?

> IIUC, normal enable should be when output is driven through OUT2.

I'm sorry but you're really not making much sense at all here. You say
there are two different outputs here...

Please think about what the hardware is doing and try to map it onto the
APIs in a coherent fashion - pasting in large sections of dataseet isn't
usually helpful, the goal is to map it onto abstractions.

Attachment: signature.asc
Description: Digital signature