xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mfd/tps65086.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun* TPS65086 Power Management Integrated Circuit (PMIC) bindings
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun - compatible		: Should be "ti,tps65086".
5*4882a593Smuzhiyun - reg			: I2C slave address.
6*4882a593Smuzhiyun - interrupts		: The interrupt line the device is connected to.
7*4882a593Smuzhiyun - interrupt-controller	: Marks the device node as an interrupt controller.
8*4882a593Smuzhiyun - #interrupt-cells	: The number of cells to describe an IRQ, should be 2.
9*4882a593Smuzhiyun			    The first cell is the IRQ number.
10*4882a593Smuzhiyun			    The second cell is the flags, encoded as trigger
11*4882a593Smuzhiyun			    masks from ../interrupt-controller/interrupts.txt.
12*4882a593Smuzhiyun - gpio-controller      : Marks the device node as a GPIO Controller.
13*4882a593Smuzhiyun - #gpio-cells          : Should be two.  The first cell is the pin number and
14*4882a593Smuzhiyun                            the second cell is used to specify flags.
15*4882a593Smuzhiyun                            See ../gpio/gpio.txt for more information.
16*4882a593Smuzhiyun - regulators:          : List of child nodes that specify the regulator
17*4882a593Smuzhiyun                            initialization data. Child nodes must be named
18*4882a593Smuzhiyun                            after their hardware counterparts: buck[1-6],
19*4882a593Smuzhiyun                            ldoa[1-3], swa1, swb[1-2], and vtt. Each child
20*4882a593Smuzhiyun                            node is defined using the standard binding for
21*4882a593Smuzhiyun                            regulators and the optional regulator properties
22*4882a593Smuzhiyun                            defined below.
23*4882a593Smuzhiyun
24*4882a593SmuzhiyunOptional regulator properties:
25*4882a593Smuzhiyun - ti,regulator-step-size-25mv	: This is applicable for buck[1-6], set this
26*4882a593Smuzhiyun				    if the regulator is factory set with a 25mv
27*4882a593Smuzhiyun				    step voltage mapping.
28*4882a593Smuzhiyun - ti,regulator-decay		: This is applicable for buck[1-6], set this if
29*4882a593Smuzhiyun				    the output needs to decay, default is for
30*4882a593Smuzhiyun				    the output to slew down.
31*4882a593Smuzhiyun
32*4882a593SmuzhiyunExample:
33*4882a593Smuzhiyun
34*4882a593Smuzhiyun	pmic: tps65086@5e {
35*4882a593Smuzhiyun		compatible = "ti,tps65086";
36*4882a593Smuzhiyun		reg = <0x5e>;
37*4882a593Smuzhiyun		interrupt-parent = <&gpio1>;
38*4882a593Smuzhiyun		interrupts = <28 IRQ_TYPE_LEVEL_LOW>;
39*4882a593Smuzhiyun		interrupt-controller;
40*4882a593Smuzhiyun		#interrupt-cells = <2>;
41*4882a593Smuzhiyun		gpio-controller;
42*4882a593Smuzhiyun		#gpio-cells = <2>;
43*4882a593Smuzhiyun
44*4882a593Smuzhiyun		regulators {
45*4882a593Smuzhiyun			buck1 {
46*4882a593Smuzhiyun				regulator-name = "vcc1";
47*4882a593Smuzhiyun				regulator-min-microvolt = <1600000>;
48*4882a593Smuzhiyun				regulator-max-microvolt = <1600000>;
49*4882a593Smuzhiyun				regulator-boot-on;
50*4882a593Smuzhiyun				ti,regulator-decay;
51*4882a593Smuzhiyun				ti,regulator-step-size-25mv;
52*4882a593Smuzhiyun			};
53*4882a593Smuzhiyun		};
54*4882a593Smuzhiyun	};
55