regulator: twl: make 6030 regulators useable
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 of 5 patches 2 repliesIn review
4 of 5 patches are in this archive. The cover letter announces 5.
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | regulator: twl: fix twl6030 enable/disabledrivers/ | +30 | 0 replies | |
| 2/5 | regulator: twl: remap has no meaning for 6030drivers/ | +17 | 0 replies | |
| 3/5 | regulator: twl: fix twl6030 regulator is_enableddrivers/ | +46 | 0 replies | |
| 5/5 | regulator: twl: add twl6030 set_modedrivers/ | +34 | 0 replies |
Reviews trailers per patch
None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Mark Brown |
|---|---|
| Series | A-b |
| 1/5 | |
| 2/5 | |
| 3/5 | |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/5] regulator: twl: make 6030 regulators useable
TWL6030 regulator dynamic operations such as those on vaux2 and vaux3 were reported to be broken on platforms such as pandaboard(OMAP4). Digging deeper into the code, found that 6030 regulator support requires quiet a bit of fixes to make it useable. Major change w.r.t TWL4030 has been the introduction of CFG_STATE register in TWL6030 which is needed to be used for regulator control compared to messages which were used in TWL4030.
This could have been the real root cause of the issue fixed in:
commit 8b8e2ef328c3378c74fb4347f66df8e58feeaf46
Author: David Anders <[email protected]>
Date: Fri Mar 18 16:53:20 2011 -0700
OMAP4: PandaBoard: remove unused power regulators
the pandaboard does not use the VUSIM or VAUX1 power regulators on the TWL6030 and are left floating. if the VUSIM and VAUX1 power regulators are initilized, noise on the unloaded regulators generates an overcurrent interrupt causing the system to power down. this patch removes the initialization of the unused power regulators of VUSIM and VAUX1.
Normally just having the regulator resources in board file should'nt have caused them to have been enabled in the first place - they should have been enabled only when regulator_enable is invoked and disabled in regulator_disable. These unfortunately, are'nt working at the moment and the series fixes the same.
This series also allows the regulator framework to actually be able to use the regulator in lower power "SUSPEND" state which if properly used could reduce power consumption in usecases.
Based on: 2.6.39-rc1 tag
Saquib Herman (5):
regulator: twl: fix twl6030 enable/disable
regulator: twl: remap has no meaning for 6030
regulator: twl: fix twl6030 regulator is_enabled
regulator: twl: add twl6030 get_status
regulator: twl: add twl6030 set_mode
drivers/regulator/twl-regulator.c | 209 ++++++++++++++++++++++++++++--------- 1 files changed, 159 insertions(+), 50 deletions(-)
Tested on: PandaBoard(OMAP4430 with TWL6030) Testing patch: http://pastebin.mozilla.org/1195106
Regards,
Nishanth Menon