xref: /freebsd/sys/contrib/device-tree/Bindings/regulator/max1586-regulator.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotMaxim MAX1586 voltage regulator
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot- compatible: must be "maxim,max1586"
5*c66ec88fSEmmanuel Vadot- reg: I2C slave address, usually 0x14
6*c66ec88fSEmmanuel Vadot- v3-gain: integer specifying the V3 gain as per datasheet
7*c66ec88fSEmmanuel Vadot           (1 + R24/R25 + R24/185.5kOhm)
8*c66ec88fSEmmanuel Vadot- any required generic properties defined in regulator.txt
9*c66ec88fSEmmanuel Vadot
10*c66ec88fSEmmanuel VadotExample:
11*c66ec88fSEmmanuel Vadot
12*c66ec88fSEmmanuel Vadot	i2c_master {
13*c66ec88fSEmmanuel Vadot		max1586@14 {
14*c66ec88fSEmmanuel Vadot			compatible = "maxim,max1586";
15*c66ec88fSEmmanuel Vadot			reg = <0x14>;
16*c66ec88fSEmmanuel Vadot			v3-gain = <1000000>;
17*c66ec88fSEmmanuel Vadot
18*c66ec88fSEmmanuel Vadot			regulators {
19*c66ec88fSEmmanuel Vadot				vcc_core: v3 {
20*c66ec88fSEmmanuel Vadot					regulator-name = "vcc_core";
21*c66ec88fSEmmanuel Vadot					regulator-compatible = "Output_V3";
22*c66ec88fSEmmanuel Vadot					regulator-min-microvolt = <1000000>;
23*c66ec88fSEmmanuel Vadot					regulator-max-microvolt = <1705000>;
24*c66ec88fSEmmanuel Vadot					regulator-always-on;
25*c66ec88fSEmmanuel Vadot				};
26*c66ec88fSEmmanuel Vadot			};
27*c66ec88fSEmmanuel Vadot		};
28*c66ec88fSEmmanuel Vadot	};
29