regulator: fan53555: add support for Silergy SYR82x regulators
authorHeiko Stuebner <heiko@sntech.de>
Tue, 16 Sep 2014 19:22:54 +0000 (21:22 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 16 Sep 2014 23:09:32 +0000 (16:09 -0700)
commitee30928ab616786cae926c5c2efaa4303ba66802
tree1ef5e87a9167f017d16caa119e26a60f4fb511c9
parent91f23d8fb67c90a50676e4db9260a21647ef753f
regulator: fan53555: add support for Silergy SYR82x regulators

Silergy SYR82x regulators share the exact same functionality and register layout
as the Fairchild FAN53555 regulators. Therefore extend the driver to add
support for them.

Both types use the same vendor id in their ID1 register, so it's not possible
to distinguish them automatically.

Similarly, the types also do not match. Type 8 used by the SYR827 and SYR828
start at 712.5mV and increment in 12.5mv steps, while the FAN53555 type 8
starts at 600mV and increments in 10mV steps.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/regulator/fan53555.txt
Documentation/devicetree/bindings/vendor-prefixes.txt
drivers/regulator/fan53555.c