OSDN Git Service

regulator: fan53555: Add support for FAN53526
authorBjorn Andersson <bjorn.andersson@linaro.org>
Thu, 21 Feb 2019 00:43:03 +0000 (16:43 -0800)
committerMark Brown <broonie@kernel.org>
Thu, 21 Feb 2019 11:41:04 +0000 (11:41 +0000)
commitf2a9eb975ab2e848af68db26646793f5d9d097e8
tree3060522321ba7b62af600d9d52518417375145bc
parent606640bbbe449d05d12b51b0500e6b535ec54987
regulator: fan53555: Add support for FAN53526

The FAN53526 differs from the FAN53555 only in that the mode bit in
VSEL0/VSEL1 is moved to the CONTROL register, the voltage selector mask
is extended by 1 bit and the step is different.

So extend the existing fan53555 driver to support FAN53526 as well.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/regulator/fan53555.txt
drivers/regulator/fan53555.c