[U-Boot] [PATCH 1/3] misc:pmic: Support for voltage to register value conversion function

Lukasz Majewski l.majewski at samsung.com
Wed Mar 28 15:13:55 CEST 2012

On Wed, 28 Mar 2012 14:50:35 +0200
Stefano Babic <sbabic at denx.de> wrote:

> On 28/03/2012 14:38, Lukasz Majewski wrote:
> > Hi Stefano,
> > 
> Hi Lucasz,
> > I've already forwarded those patches to you.
> > They are also available on the mailing list, so I don't know what
> > has happened.
> Really nothing, I got all e-mails, I was only not able to explain my
> doubt. I try again:
> - In patch 1/3 you add voltage_to_reg to the pmic struct
> 	==> Ok
> - in patch 2/3 you add voltage_to_reg to MAX8997.
> 	==> Ok
> Everything clear.
> The consequence for me is that PATCH 3/3 shows the reason to add
> voltage_to_reg(), and calls the new function pmic_vol_to_reg(),
> because you need it, as you have already explained. But I see only
> pmic_set_output() and pmic_reg_write() in your patch.

> Stefano

Hi Stefano,

I've looked on patches which I've posted and for patches from 1 do
3 there isn't usage for this function.

However I'm using this functionality in a code on which I'm working on
(Trats), so posting it to the list is only a matter of time.

> What have I not yet understood ? (maybe I need a coffe to wake up my
> brain...)
You understood everything :-), it was my fault.
I thought, that patches 2/3 and 3/3 were missing (or by some mishap I
didn't send them properly).

Now, I think, that everything is clear.
Best regards,

Lukasz Majewski

Samsung Poland R&D Center
Platform Group

More information about the U-Boot mailing list