2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-30 16:13:54 +08:00
linux-next/include/linux/mfd
Alberto Panizzo f4b97b36b7 regulator: mc13783: consider Power Gates as digital regulators.
GPO regulators are digital outputs that can be enabled or disabled by a
dedicated bit in mc13783 POWERMISC register.
In this family can be count in also Power Gates (PWGT1 and 2): enabled by
a dedicated pin a Power Gate is an hardware driven supply where the output
(PWGTnDRV) follow this law:

 Bit PWGTxSPIEN | Pin PWGTxEN | PWGTxDRV |  Read Back
   0 = default  |             |          | PWGTxSPIEN
 ---------------+-------------+----------+------------
       1        |      x      |   Low    |     0
       0        |      0      |   High   |     1
       0        |      1      |   Low    |     0

As read back value of control bit reflects the PWGTxDRV state (not the
control value previously written) and mc13783 POWERMISC register contain
only regulator related bits, a dedicated function to manage these bits is
created here with the aim of tracing the real value of PWGTxSPIEN bits
and reproduce it on next writes.

All POWERMISC users _must_ use the new function to not accidentally
disable Power Gates supplies.

v2 changes:
-Better utilization of abstraction layers.
-Voltage query support. GPO's and PWGTxDRV are fixed voltage regulator
 with voltage value of 3.1V and 5.5V respectively.

Signed-off-by: Alberto Panizzo <maramaopercheseimorto@gmail.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
2010-03-03 14:49:23 +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: Correct WM835x ISINK ramp time defines 2010-01-18 12:30:25 +01:00
88pm8607.h mfd: Add 88PM8607 driver 2009-12-13 19:20:37 +01:00
ab3100.h regulator: AB3100 support 2009-09-17 09:47:25 +02:00
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 mfd: asic3: remove SD/SDIO controller register definitions 2009-06-17 19:41:45 +02:00
core.h mfd: Allow multiple MFD cells with the same name 2009-09-17 09:46:56 +02:00
da903x.h backlight: da903x_bl: control WLED output current in da9034 2009-12-01 09:02:34 +08:00
ds1wm.h mfd: remove DS1WM clock handling 2009-04-05 00:32:22 +02:00
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 mfd: remove unused PASIC3 bus_shift field 2009-04-05 00:32:22 +02:00
mc13783-private.h mfd: Near complete mc13783 rewrite 2009-12-13 19:21:54 +01:00
mc13783.h regulator: mc13783: consider Power Gates as digital regulators. 2010-03-03 14:49:23 +00:00
mcp.h add gpiolib support to ucb1x00 2009-11-27 21:07:21 +01:00
sh_mobile_sdhi.h mfd: Add power control platform data to SDHI driver 2009-11-30 12:01:24 +09:00
t7l66xb.h mfd: update TMIO drivers to use the clock API 2008-10-19 22:54:12 +02:00
tc6387xb.h mfd: update TMIO drivers to use the clock API 2008-10-19 22:54:12 +02:00
tc6393xb.h mfd: support tmiofb cell on tc6393xb 2008-10-19 22:54:11 +02:00
tmio.h mfd: tmio_mmc hardware abstraction for CNF area 2010-01-18 12:30:27 +01:00
twl4030-codec.h MFD: twl4030-codec: APLL_INFREQ handling in the MFD driver 2009-11-10 12:07:23 +00:00
ucb1x00.h add gpiolib support to ucb1x00 2009-11-27 21:07:21 +01:00
wm8400-audio.h ASoC: Add initial driver for the WM8400 CODEC 2009-03-11 13:49:46 +00:00
wm8400-private.h
wm8400.h