mirror of
https://github.com/torvalds/linux.git
synced 2024-12-29 06:12:08 +00:00
f2a9eb975a
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>
25 lines
722 B
Plaintext
25 lines
722 B
Plaintext
Binding for Fairchild FAN53555 regulators
|
|
|
|
Required properties:
|
|
- compatible: one of "fcs,fan53555", "fcs,fan53526", "silergy,syr827" or
|
|
"silergy,syr828"
|
|
- reg: I2C address
|
|
|
|
Optional properties:
|
|
- fcs,suspend-voltage-selector: declare which of the two available
|
|
voltage selector registers should be used for the suspend
|
|
voltage. The other one is used for the runtime voltage setting
|
|
Possible values are either <0> or <1>
|
|
- vin-supply: regulator supplying the vin pin
|
|
|
|
Example:
|
|
|
|
regulator@40 {
|
|
compatible = "fcs,fan53555";
|
|
regulator-name = "fan53555";
|
|
regulator-min-microvolt = <1000000>;
|
|
regulator-max-microvolt = <1800000>;
|
|
vin-supply = <&parent_reg>;
|
|
fcs,suspend-voltage-selector = <1>;
|
|
};
|