Back to home page

OSCL-LXR

 
 

    


0001 TPS6507x Power Management Integrated Circuit
0002 
0003 Required properties:
0004 - compatible: "ti,tps6507x"
0005 - reg: I2C slave address
0006 - regulators: This is the list of child nodes that specify the regulator
0007   initialization data for defined regulators. Not all regulators for the
0008   given device need to be present. The definition for each of these nodes
0009   is defined using the standard binding for regulators found at
0010   Documentation/devicetree/bindings/regulator/regulator.txt.
0011   The regulator is matched with the regulator-compatible.
0012 
0013   The valid regulator-compatible values are:
0014   tps6507x: vdcdc1, vdcdc2, vdcdc3, vldo1, vldo2
0015 - xxx-supply: Input voltage supply regulator.
0016   These entries are required if regulators are enabled for a device.
0017   Missing of these properties can cause the regulator registration
0018   fails.
0019   If some of input supply is powered through battery or always-on
0020   supply then also it is require to have these parameters with proper
0021   node handle of always on power supply.
0022   tps6507x:
0023        vindcdc1_2-supply: VDCDC1 and VDCDC2 input.
0024        vindcdc3-supply  : VDCDC3 input.
0025        vldo1_2-supply   : VLDO1 and VLDO2 input.
0026 
0027 Regulator Optional properties:
0028 - defdcdc_default: It's property of DCDC2 and DCDC3 regulators.
0029                         0: If defdcdc pin of DCDC2/DCDC3 is pulled to GND.
0030                         1: If defdcdc pin of DCDC2/DCDC3 is driven HIGH.
0031   If this property is not defined, it defaults to 0 (not enabled).
0032 
0033 Example:
0034 
0035         pmu: tps6507x@48 {
0036                 compatible = "ti,tps6507x";
0037                 reg = <0x48>;
0038 
0039                 vindcdc1_2-supply = <&vbat>;
0040                 vindcdc3-supply = <...>;
0041                 vinldo1_2-supply = <...>;
0042 
0043                 regulators {
0044                         #address-cells = <1>;
0045                         #size-cells = <0>;
0046 
0047                         vdcdc1_reg: regulator@0 {
0048                                 regulator-compatible = "VDCDC1";
0049                                 reg = <0>;
0050                                 regulator-min-microvolt = <3150000>;
0051                                 regulator-max-microvolt = <3450000>;
0052                                 regulator-always-on;
0053                                 regulator-boot-on;
0054                         };
0055                         vdcdc2_reg: regulator@1 {
0056                                 regulator-compatible = "VDCDC2";
0057                                 reg = <1>;
0058                                 regulator-min-microvolt = <1710000>;
0059                                 regulator-max-microvolt = <3450000>;
0060                                 regulator-always-on;
0061                                 regulator-boot-on;
0062                                 defdcdc_default = <1>;
0063                         };
0064                         vdcdc3_reg: regulator@2 {
0065                                 regulator-compatible = "VDCDC3";
0066                                 reg = <2>;
0067                                 regulator-min-microvolt = <950000>
0068                                 regulator-max-microvolt = <1350000>;
0069                                 regulator-always-on;
0070                                 regulator-boot-on;
0071                                 defdcdc_default = <1>;
0072                         };
0073                         ldo1_reg: regulator@3 {
0074                                 regulator-compatible = "LDO1";
0075                                 reg = <3>;
0076                                 regulator-min-microvolt = <1710000>;
0077                                 regulator-max-microvolt = <1890000>;
0078                                 regulator-always-on;
0079                                 regulator-boot-on;
0080                         };
0081                         ldo2_reg: regulator@4 {
0082                                 regulator-compatible = "LDO2";
0083                                 reg = <4>;
0084                                 regulator-min-microvolt = <1140000>;
0085                                 regulator-max-microvolt = <1320000>;
0086                                 regulator-always-on;
0087                                 regulator-boot-on;
0088                         };
0089                 };
0090 
0091         };