regulator: Add helpers for low-level register access
authorTuomas Tynkkynen <ttynkkynen@nvidia.com>
Mon, 21 Jul 2014 15:38:48 +0000 (18:38 +0300)
committerMark Brown <broonie@linaro.org>
Fri, 25 Jul 2014 17:43:48 +0000 (18:43 +0100)
Add helper functions that allow regulator consumers to obtain low-level
details about the regulator hardware, like the voltage selector register
address and such. These details can be useful when configuring hardware
or firmware that want to do low-level access to regulators, with no
involvement from the kernel.

The use-case for Tegra is a voltage-controlled oscillator clocksource
which has control logic to change the supply voltage via I2C to achieve
a desired output clock rate.

Signed-off-by: Tuomas Tynkkynen <ttynkkynen@nvidia.com>
Signed-off-by: Mark Brown <broonie@linaro.org>

No differences found