Re: [PATCH RFT 1/2] regulator: twl: Fix the formula to calculatevsel and voltage for twl6030ldo

From: Mark Brown
Date: Sun Jul 15 2012 - 17:00:25 EST


On Mon, Jul 09, 2012 at 07:01:26PM +0800, Axel Lin wrote:

> I found a problem that before commit 3e3d3be79c, the voltage tables were
> not linear mapping. So why we can convert these voltage mapping table to
> Voltage(in mV) = 1000mv + 100mv * (vsel - 1)?

Guys, it's pretty concerning that there's been no response at all to
this. Looking at the changes Axel's statement above is accurate for at
least VAUX1 and VMMC, I didn't check all the regulators, so either the
original code was buggy or there's an issue that needs fixing in the
current code.

Attachment: signature.asc
Description: Digital signature