Skip to content

Commit 2473115

Browse files
rvoskbroonie
authored andcommitted
regulator: bindings: add MPS mp8869 voltage regulator
The MP8869 from Monolithic Power Systems is a single output dc/dc converter with voltage control over i2c. Signed-off-by: Jisheng Zhang <[email protected]> Link: https://lore.kernel.org/r/20200316222945.74ad34dd@xhacker Signed-off-by: Mark Brown <[email protected]>
1 parent 6e5505c commit 2473115

File tree

1 file changed

+25
-0
lines changed
  • Documentation/devicetree/bindings/regulator

1 file changed

+25
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
Monolithic Power Systems MP8869 voltage regulator
2+
3+
Required properties:
4+
- compatible: "mps,mp8869";
5+
- reg: I2C slave address.
6+
- enable-gpios: enable gpios.
7+
- mps,fb-voltage-divider: An array of two integers containing the resistor
8+
values R1 and R2 of the feedback voltage divider in kilo ohms.
9+
10+
Any property defined as part of the core regulator binding, defined in
11+
./regulator.txt, can also be used.
12+
13+
Example:
14+
15+
vcpu: regulator@62 {
16+
compatible = "mps,mp8869";
17+
regulator-name = "vcpu";
18+
regulator-min-microvolt = <700000>;
19+
regulator-max-microvolt = <850000>;
20+
regulator-always-on;
21+
regulator-boot-on;
22+
enable-gpios = <&porta 1 GPIO_ACTIVE_LOW>;
23+
mps,fb-voltage-divider = <80 240>;
24+
reg = <0x62>;
25+
};

0 commit comments

Comments
 (0)