summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/wm8994.h
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-12-03 17:10:32 +0000
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-12-13 00:11:13 +0800
commit346978980a781a5b434c48531cf29cadf5b83999 (patch)
treec2f80a16e77aaca02dff57fc47bb61bce97f00df /drivers/mfd/wm8994.h
parentc3f1386171a100d27d9fb978f474a6a330888af5 (diff)
downloadtalos-op-linux-346978980a781a5b434c48531cf29cadf5b83999.tar.gz
talos-op-linux-346978980a781a5b434c48531cf29cadf5b83999.zip
mfd: Initialise WM8994 register cache after reading chip ID registers
The different devices handled by the WM8994 can be distinguished using their ID registers so we don't need to rely on the user having registered the device correctly. Instead do the initial regmap setup with a minimal configuration only supporting physical I/O and then configure the cache once we have identified the device. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/wm8994.h')
-rw-r--r--drivers/mfd/wm8994.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/wm8994.h b/drivers/mfd/wm8994.h
index bf2bdc1ede38..6f39a84eeadf 100644
--- a/drivers/mfd/wm8994.h
+++ b/drivers/mfd/wm8994.h
@@ -20,5 +20,6 @@
extern struct regmap_config wm1811_regmap_config;
extern struct regmap_config wm8994_regmap_config;
extern struct regmap_config wm8958_regmap_config;
+extern struct regmap_config wm8994_base_regmap_config;
#endif
OpenPOWER on IntegriCloud