[PATCH v3] ISL6271A voltage regulator support.
Mark Brown
broonie at opensource.wolfsonmicro.com
Mon Jun 14 08:48:31 EDT 2010
On Sun, Jun 13, 2010 at 05:25:51PM +0200, Marek Vasut wrote:
> This device is very simple, it supports one buck and two LDOs. The LDOs are
> fixed-voltage. Only the buck is programable over the I2C bus to 16 possible
> voltages.
>
> Signed-off-by: Marek Vasut <marek.vasut at gmail.com>
Acked-by: Mark Brown <broonie at opensource.wolfsonmicro.com>
For future reference...
> + /* Convert the data from chip to microvolts */
> + data = ISL6271A_VOLTAGE_MIN + (ISL6271A_VOLTAGE_STEP * (idx & 0xf));
...note that this is just list_voltage() (if you're going to fix this
please only do so with an incremental patch).
More information about the linux-arm-kernel
mailing list