Skip to contentSkip to conversation

regulator: fan53555: Add support for FAN53526

PATCH New Bjorn Andersson 1 participant 1 message Feb 21, 2019

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

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.

---
 .../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
index 54a3f2c80e3a..e7fc045281d1 100644
@@ -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