summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-11-03 14:20:38 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-12-12 17:09:34 +0100
commit26c34c25e54b4a352596d88c6e44a239dab8e1c5 (patch)
tree3d90d0617760cc3f018b3d41d0c83599c6449f6a /include
parentmfd: Convert wm8994 to devm_kzalloc() (diff)
downloadlinux-26c34c25e54b4a352596d88c6e44a239dab8e1c5.tar.xz
linux-26c34c25e54b4a352596d88c6e44a239dab8e1c5.zip
mfd: Disable more pulls on WM8994
Disable more pulls by default on WM8994 for a small current saving. Since some designs do leave SPKMODE floating provide platform data to allow that to be left enabled. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mfd/wm8994/pdata.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/mfd/wm8994/pdata.h b/include/linux/mfd/wm8994/pdata.h
index ea32f306dca6..54e2fef587d5 100644
--- a/include/linux/mfd/wm8994/pdata.h
+++ b/include/linux/mfd/wm8994/pdata.h
@@ -174,6 +174,12 @@ struct wm8994_pdata {
* consumption will rise.
*/
bool ldo_ena_always_driven;
+
+ /*
+ * SPKMODE must be pulled internally by the device on this
+ * system.
+ */
+ bool spkmode_pu;
};
#endif