diff options
author | Jett.Zhou <jtzhou@marvell.com> | 2012-03-01 11:59:19 +0100 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-03-06 18:46:52 +0100 |
commit | 23de435a59b37eda468472ac67179eee5ef10a07 (patch) | |
tree | d0659611c578e0ae4779da35000ad510f1e426ba /drivers/video/vt8500lcdfb.h | |
parent | fe2afaa5412126f7a41aec811228a1f439d232a0 (diff) | |
download | blackbird-op-linux-23de435a59b37eda468472ac67179eee5ef10a07.tar.gz blackbird-op-linux-23de435a59b37eda468472ac67179eee5ef10a07.zip |
mfd: Add power control interface for pm8606 chip
The reference group and internal oscillator are shared by sub-devs
like led, backlight and vibrator in PM8606 chip. Now introduce a
voting mechanism to enable/disable it.
Add pm8606_osc_enable() and pm8606_osc_disable() interface and
related defines to support this. This interface will be called by
vibrator led and backlight driver.The refernce group and internal
oscillator are enabled only when at least one of it's clients holds
it on or disabled only all the clients don't use it any more based
on the above mechanism.
Signed-off-by: Jett.Zhou <jtzhou@marvell.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/video/vt8500lcdfb.h')
0 files changed, 0 insertions, 0 deletions