linux/Documentation/devicetree/bindings/regulator/tps65090.txt
<<
>>
Prefs
   1TPS65090 regulators
   2
   3Required properties:
   4- compatible: "ti,tps65090"
   5- reg: I2C slave address
   6- interrupts: the interrupt outputs of the controller
   7- regulators: A node that houses a sub-node for each regulator within the
   8  device. Each sub-node is identified using the node's name, with valid
   9  values listed below. The content of each sub-node is defined by the
  10  standard binding for regulators; see regulator.txt.
  11  dcdc[1-3], fet[1-7] and ldo[1-2] respectively.
  12- vsys[1-3]-supply: The input supply for DCDC[1-3] respectively.
  13- infet[1-7]-supply: The input supply for FET[1-7] respectively.
  14- vsys-l[1-2]-supply: The input supply for LDO[1-2] respectively.
  15
  16Optional properties:
  17- ti,enable-ext-control: This is applicable for DCDC1, DCDC2 and DCDC3.
  18  If DCDCs are externally controlled then this property should be there.
  19- "dcdc-ext-control-gpios: This is applicable for DCDC1, DCDC2 and DCDC3.
  20  If DCDCs are externally controlled and if it is from GPIO then GPIO
  21  number should be provided. If it is externally controlled and no GPIO
  22  entry then driver will just configure this rails as external control
  23  and will not provide any enable/disable APIs.
  24
  25Each regulator is defined using the standard binding for regulators.
  26
  27Example:
  28
  29        tps65090@48 {
  30                compatible = "ti,tps65090";
  31                reg = <0x48>;
  32                interrupts = <0 88 0x4>;
  33
  34                vsys1-supply = <&some_reg>;
  35                vsys2-supply = <&some_reg>;
  36                vsys3-supply = <&some_reg>;
  37                infet1-supply = <&some_reg>;
  38                infet2-supply = <&some_reg>;
  39                infet3-supply = <&some_reg>;
  40                infet4-supply = <&some_reg>;
  41                infet5-supply = <&some_reg>;
  42                infet6-supply = <&some_reg>;
  43                infet7-supply = <&some_reg>;
  44                vsys_l1-supply = <&some_reg>;
  45                vsys_l2-supply = <&some_reg>;
  46
  47                regulators {
  48                        dcdc1 {
  49                                regulator-name = "dcdc1";
  50                                regulator-boot-on;
  51                                regulator-always-on;
  52                                ti,enable-ext-control;
  53                                dcdc-ext-control-gpios = <&gpio 10 0>;
  54                        };
  55
  56                        dcdc2 {
  57                                regulator-name = "dcdc2";
  58                                regulator-boot-on;
  59                                regulator-always-on;
  60                        };
  61
  62                        dcdc3 {
  63                                regulator-name = "dcdc3";
  64                                regulator-boot-on;
  65                                regulator-always-on;
  66                        };
  67
  68                        fet1 {
  69                                regulator-name = "fet1";
  70                                regulator-boot-on;
  71                                regulator-always-on;
  72                        };
  73
  74                        fet2 {
  75                                regulator-name = "fet2";
  76                                regulator-boot-on;
  77                                regulator-always-on;
  78                        };
  79
  80                        fet3 {
  81                                regulator-name = "fet3";
  82                                regulator-boot-on;
  83                                regulator-always-on;
  84                        };
  85
  86                        fet4 {
  87                                regulator-name = "fet4";
  88                                regulator-boot-on;
  89                                regulator-always-on;
  90                        };
  91
  92                        fet5 {
  93                                regulator-name = "fet5";
  94                                regulator-boot-on;
  95                                regulator-always-on;
  96                        };
  97
  98                        fet6 {
  99                                regulator-name = "fet6";
 100                                regulator-boot-on;
 101                                regulator-always-on;
 102                        };
 103
 104                        fet7 {
 105                                regulator-name = "fet7";
 106                                regulator-boot-on;
 107                                regulator-always-on;
 108                        };
 109
 110                        ldo1 {
 111                                regulator-name = "ldo1";
 112                                regulator-boot-on;
 113                                regulator-always-on;
 114                        };
 115
 116                        ldo2 {
 117                                regulator-name = "ldo2";
 118                                regulator-boot-on;
 119                                regulator-always-on;
 120                        };
 121                };
 122        };
 123