mfd: Support configurable numbers of DCDCs and ISINKs on WM8350
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 18 Dec 2008 22:12:16 +0000 (23:12 +0100)
committerSamuel Ortiz <samuel@sortiz.org>
Sun, 4 Jan 2009 11:17:42 +0000 (12:17 +0100)
commit645524a9c6e1e42dc4fe03217befb20e2fc4d43e
treef556620d6695f7257c24cc483b3b9bdde9abfca1
parent53a0d99b1ef14f56baec06eec1e3dad031672b3a
mfd: Support configurable numbers of DCDCs and ISINKs on WM8350

Some WM8350 variants have fewer DCDCs and ISINKs. Identify these at
probe and refuse to use the absent DCDCs when running on these chips.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@openedhand.com>
drivers/mfd/wm8350-core.c
drivers/regulator/wm8350-regulator.c
include/linux/mfd/wm8350/pmic.h