• Tuomas Tynkkynen's avatar
    regulator: Add helpers for low-level register access · 04eca28c
    Tuomas Tynkkynen authored
    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: default avatarTuomas Tynkkynen <ttynkkynen@nvidia.com>
    Signed-off-by: default avatarMark Brown <broonie@linaro.org>
    04eca28c
core.c 101 KB