tps6507x.txt 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. TPS6507x Power Management Integrated Circuit
  2. Required properties:
  3. - compatible: "ti,tps6507x"
  4. - reg: I2C slave address
  5. - regulators: This is the list of child nodes that specify the regulator
  6. initialization data for defined regulators. Not all regulators for the
  7. given device need to be present. The definition for each of these nodes
  8. is defined using the standard binding for regulators found at
  9. Documentation/devicetree/bindings/regulator/regulator.txt.
  10. The regulator is matched with the regulator-compatible.
  11. The valid regulator-compatible values are:
  12. tps6507x: vdcdc1, vdcdc2, vdcdc3, vldo1, vldo2
  13. - xxx-supply: Input voltage supply regulator.
  14. These entries are required if regulators are enabled for a device.
  15. Missing of these properties can cause the regulator registration
  16. fails.
  17. If some of input supply is powered through battery or always-on
  18. supply then also it is require to have these parameters with proper
  19. node handle of always on power supply.
  20. tps6507x:
  21. vindcdc1_2-supply: VDCDC1 and VDCDC2 input.
  22. vindcdc3-supply : VDCDC3 input.
  23. vldo1_2-supply : VLDO1 and VLDO2 input.
  24. Regulator Optional properties:
  25. - defdcdc_default: It's property of DCDC2 and DCDC3 regulators.
  26. 0: If defdcdc pin of DCDC2/DCDC3 is pulled to GND.
  27. 1: If defdcdc pin of DCDC2/DCDC3 is driven HIGH.
  28. If this property is not defined, it defaults to 0 (not enabled).
  29. Example:
  30. pmu: tps6507x@48 {
  31. compatible = "ti,tps6507x";
  32. reg = <0x48>;
  33. vindcdc1_2-supply = <&vbat>;
  34. vindcdc3-supply = <...>;
  35. vinldo1_2-supply = <...>;
  36. regulators {
  37. #address-cells = <1>;
  38. #size-cells = <0>;
  39. vdcdc1_reg: regulator@0 {
  40. regulator-compatible = "VDCDC1";
  41. reg = <0>;
  42. regulator-min-microvolt = <3150000>;
  43. regulator-max-microvolt = <3450000>;
  44. regulator-always-on;
  45. regulator-boot-on;
  46. };
  47. vdcdc2_reg: regulator@1 {
  48. regulator-compatible = "VDCDC2";
  49. reg = <1>;
  50. regulator-min-microvolt = <1710000>;
  51. regulator-max-microvolt = <3450000>;
  52. regulator-always-on;
  53. regulator-boot-on;
  54. defdcdc_default = <1>;
  55. };
  56. vdcdc3_reg: regulator@2 {
  57. regulator-compatible = "VDCDC3";
  58. reg = <2>;
  59. regulator-min-microvolt = <950000>
  60. regulator-max-microvolt = <1350000>;
  61. regulator-always-on;
  62. regulator-boot-on;
  63. defdcdc_default = <1>;
  64. };
  65. ldo1_reg: regulator@3 {
  66. regulator-compatible = "LDO1";
  67. reg = <3>;
  68. regulator-min-microvolt = <1710000>;
  69. regulator-max-microvolt = <1890000>;
  70. regulator-always-on;
  71. regulator-boot-on;
  72. };
  73. ldo2_reg: regulator@4 {
  74. regulator-compatible = "LDO2";
  75. reg = <4>;
  76. regulator-min-microvolt = <1140000>;
  77. regulator-max-microvolt = <1320000>;
  78. regulator-always-on;
  79. regulator-boot-on;
  80. };
  81. };
  82. };