summaryrefslogtreecommitdiffstats
path: root/include/linux/mfd
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-07-09 00:31:36 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2012-07-09 00:31:36 +0200
commit59db96913c9d94fe74002df494eb80e4a5ca4087 (patch)
tree0f1bd565730de65907e5924ec848002374a50002 /include/linux/mfd
parent14b5bd5cf5605555a746c10404e442c6a95567c1 (diff)
downloadop-kernel-dev-59db96913c9d94fe74002df494eb80e4a5ca4087.zip
op-kernel-dev-59db96913c9d94fe74002df494eb80e4a5ca4087.tar.gz
mfd: Move arizona digital core supply management to the regulator API
Rather than open coding the enable GPIO control in the MFD core use the API to push the management on to the regulator driver. The immediate advantage is slight for most systems but this will in future allow device configurations where an external regulator is used for DCVDD. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/linux/mfd')
-rw-r--r--include/linux/mfd/arizona/core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mfd/arizona/core.h b/include/linux/mfd/arizona/core.h
index 0157d84..3ef32b4 100644
--- a/include/linux/mfd/arizona/core.h
+++ b/include/linux/mfd/arizona/core.h
@@ -77,6 +77,7 @@ struct arizona {
int num_core_supplies;
struct regulator_bulk_data core_supplies[ARIZONA_MAX_CORE_SUPPLIES];
+ struct regulator *dcvdd;
struct arizona_pdata pdata;
OpenPOWER on IntegriCloud