forked from Minki/linux
ee30928ab6
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>
24 lines
702 B
Plaintext
24 lines
702 B
Plaintext
Binding for Fairchild FAN53555 regulators
|
|
|
|
Required properties:
|
|
- compatible: one of "fcs,fan53555", "silergy,syr827", "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>;
|
|
};
|