b11dec18e6
MP8867 is an I2C-controlled adjustable voltage regulator made by Monolithic Power Systems. The difference between MP8867 and MP8869 are: 1.If V_BOOT, the vref of MP8869 is fixed at 600mv while vref of MP8867 is determined by the I2C control. 2.For MP8867, when setting voltage, if the steps is within 5, we need to manually set the GO_BIT to 0. Signed-off-by: Jisheng Zhang <Jisheng.Zhang@synaptics.com> Link: https://lore.kernel.org/r/20200316223100.37805b22@xhacker Signed-off-by: Mark Brown <broonie@kernel.org>
28 lines
765 B
Plaintext
28 lines
765 B
Plaintext
Monolithic Power Systems MP8867/MP8869 voltage regulator
|
|
|
|
Required properties:
|
|
- compatible: Must be one of the following.
|
|
"mps,mp8867"
|
|
"mps,mp8869"
|
|
- reg: I2C slave address.
|
|
- enable-gpios: enable gpios.
|
|
- mps,fb-voltage-divider: An array of two integers containing the resistor
|
|
values R1 and R2 of the feedback voltage divider in kilo ohms.
|
|
|
|
Any property defined as part of the core regulator binding, defined in
|
|
./regulator.txt, can also be used.
|
|
|
|
Example:
|
|
|
|
vcpu: regulator@62 {
|
|
compatible = "mps,mp8869";
|
|
regulator-name = "vcpu";
|
|
regulator-min-microvolt = <700000>;
|
|
regulator-max-microvolt = <850000>;
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
enable-gpios = <&porta 1 GPIO_ACTIVE_LOW>;
|
|
mps,fb-voltage-divider = <80 240>;
|
|
reg = <0x62>;
|
|
};
|