android_kernel_xiaomi_sm8350/include/linux/mfd
Mark Brown e24a04c44c regulator: Implement WM831x BuckWise DC-DC convertor DVS support
The BuckWise DC-DC convertors in WM831x devices support switching to
a second output voltage using the logic level on one of the device
pins. This is intended to allow rapid voltage switching for uses like
cpufreq, replacing the I2C or SPI write used to configure the voltage
of the regulator with a much faster GPIO status change.

This is implemented by keeping the DVS voltage configured as the
maximum voltage permitted for the regulator. If a request is made
for the maximum voltage then the GPIO is used to switch to the DVS
voltage, otherwise the normal ON voltage is updated and used. This
follows the idiom used by most cpufreq drivers, which drop the
minimum voltage as the core frequency is dropped but use a constant
maximum - raising the voltage should normally be fast, but lowering
it may be slower.

Configuration of the DVS MFP on the device should be done externally,
for example via OTP.

Support is present in the hardware for monitoring the status of the
transition using a second GPIO. This is not currently implemented
but platform data is provided for it - the driver currently assumes
that the device will be configured to transition immediately - but
platform data is provided to reduce merge issues once it is.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
2009-12-17 10:27:22 +00:00
..
pcf50633 Merge git://git.infradead.org/battery-2.6 2009-12-15 08:59:33 -08:00
wm831x regulator: Implement WM831x BuckWise DC-DC convertor DVS support 2009-12-17 10:27:22 +00:00
wm8350 mfd: Convert wm8350 IRQ handlers to irq_handler_t 2009-12-13 19:21:39 +01:00
88pm8607.h
ab3100.h
ab4500.h mfd: add AB4500 driver 2009-12-13 19:20:38 +01:00
adp5520.h mfd: Add ADP5520/ADP5501 driver 2009-12-13 19:20:53 +01:00
asic3.h
core.h
da903x.h
ds1wm.h
ezx-pcap.h mfd: Remove ezx-pcap defines for custom led gpio encoding 2009-12-13 19:21:56 +01:00
htc-egpio.h
htc-pasic3.h
mc13783-private.h mfd: Near complete mc13783 rewrite 2009-12-13 19:21:54 +01:00
mc13783.h mfd: Near complete mc13783 rewrite 2009-12-13 19:21:54 +01:00
mcp.h
sh_mobile_sdhi.h
t7l66xb.h
tc6387xb.h
tc6393xb.h
tmio.h
twl4030-codec.h
ucb1x00.h
wm8400-audio.h
wm8400-private.h
wm8400.h