regulator: fan53555: Add support for FAN53526
Subsystems (3)
PATCH 1/1 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 <[email protected]>
--- .../bindings/regulator/fan53555.txt | 3 +- drivers/regulator/fan53555.c | 101 ++++++++++++++++-- 2 files changed, 93 insertions(+), 11 deletions(-)
Documentation/devicetree/bindings/regulator/fan53555.txt +2 -1
@@ -1,7 +1,8 @@ Binding for Fairchild FAN53555 regulators Required properties: - - compatible: one of "fcs,fan53555", "silergy,syr827", "silergy,syr828" + - compatible: one of "fcs,fan53555", "fcs,fan53526", "silergy,syr827" or + "silergy,syr828" - reg: I2C address Optional properties:
drivers/regulator/fan53555.c +91 -10
198 lines not on this page · raw message
Signature · 1 line
2.18.0