regulator: da9061: BUCK and LDO regulator driver
authorSteve Twiss <stwiss.opensource@diasemi.com>
Wed, 7 Jun 2017 08:13:48 +0000 (09:13 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 7 Jun 2017 18:47:24 +0000 (19:47 +0100)
commit4b7f4958a37e016317d3f25bd5290942f72597b4
tree6cc3b1a4f937da4ba54be479e72b0d8d0770fd84
parent2ea659a9ef488125eb46da6eb571de5eae5c43f6
regulator: da9061: BUCK and LDO regulator driver

Regulator support for the DA9061 is added into the DA9062 regulator driver.

The regulators for DA9061 differ from those of DA9062.
A new DA9061 enumeration list for the LDOs and Bucks supported by this
device is added. Regulator information added: the old regulator
information for DA9062 is renamed from local_regulator_info[] to
local_da9062_regulator_info[] and a new array is added to support
local_da9061_regulator_info[].

The probe() function switches on the da9062_compatible_types enumeration
and configures the correct da9062_regulator_info array and number of
regulator entries.

Kconfig is updated to reflect support for DA9061 and DA9062 regulators.

Signed-off-by: Steve Twiss <stwiss.opensource@diasemi.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/Kconfig
drivers/regulator/da9062-regulator.c