• T
    regulator: Add helpers for low-level register access · 04eca28c
    Tuomas Tynkkynen 提交于
    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: NTuomas Tynkkynen <ttynkkynen@nvidia.com>
    Signed-off-by: NMark Brown <broonie@linaro.org>
    04eca28c
core.c 101.4 KB