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

Stefano Babic sbabic at denx.de
Wed Mar 28 14:50:35 CEST 2012

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.

What have I not yet understood ? (maybe I need a coffe to wake up my


DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de

More information about the U-Boot mailing list