aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mfd/wm8994/pdata.h
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-08-22 15:43:55 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2011-10-24 14:09:10 +0200
commit881de67046f424fc3a6e05b1c681c12afd94e802 (patch)
tree3f83b7d051532c785a598d442daa64267c2be210 /include/linux/mfd/wm8994/pdata.h
parent862de70c12bb6227943e155251c75e7fa4558068 (diff)
downloadkernel_goldelico_gta04-881de67046f424fc3a6e05b1c681c12afd94e802.zip
kernel_goldelico_gta04-881de67046f424fc3a6e05b1c681c12afd94e802.tar.gz
kernel_goldelico_gta04-881de67046f424fc3a6e05b1c681c12afd94e802.tar.bz2
mfd: Allow WM8994 LDO enable pulls to be disabled
In systems where the LDO enables are always driven (for example, being connected to an always on supply rail or a GPIO which is driven by the CPU even in suspend) then we can disable the pull downs on the LDO for a small power savings. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/linux/mfd/wm8994/pdata.h')
-rw-r--r--include/linux/mfd/wm8994/pdata.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/mfd/wm8994/pdata.h b/include/linux/mfd/wm8994/pdata.h
index 97cf4f2..ea32f30 100644
--- a/include/linux/mfd/wm8994/pdata.h
+++ b/include/linux/mfd/wm8994/pdata.h
@@ -167,6 +167,13 @@ struct wm8994_pdata {
/* WM8958 microphone bias configuration */
int micbias[2];
+
+ /* Disable the internal pull downs on the LDOs if they are
+ * always driven (eg, connected to an always on supply or
+ * GPIO that always drives an output. If they float power
+ * consumption will rise.
+ */
+ bool ldo_ena_always_driven;
};
#endif