as3722-regulator.txt 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. Regulator of AMS AS3722 PMIC.
  2. Name of the regulator subnode must be "regulators".
  3. Optional properties:
  4. --------------------
  5. The input supply of regulators are the optional properties on the
  6. regulator node. The AS3722 is having 7 DCDC step-down regulators as
  7. sd[0-6], 10 LDOs as ldo[0-7], ldo[9-11]. The input supply of these
  8. regulators are provided through following properties:
  9. vsup-sd2-supply: Input supply for SD2.
  10. vsup-sd3-supply: Input supply for SD3.
  11. vsup-sd4-supply: Input supply for SD4.
  12. vsup-sd5-supply: Input supply for SD5.
  13. vin-ldo0-supply: Input supply for LDO0.
  14. vin-ldo1-6-supply: Input supply for LDO1 and LDO6.
  15. vin-ldo2-5-7-supply: Input supply for LDO2, LDO5 and LDO7.
  16. vin-ldo3-4-supply: Input supply for LDO3 and LDO4.
  17. vin-ldo9-10-supply: Input supply for LDO9 and LDO10.
  18. vin-ldo11-supply: Input supply for LDO11.
  19. Optional nodes:
  20. --------------
  21. - regulators : Must contain a sub-node per regulator from the list below.
  22. Each sub-node should contain the constraints and initialization
  23. information for that regulator. See regulator.txt for a
  24. description of standard properties for these sub-nodes.
  25. Additional custom properties are listed below.
  26. sd[0-6], ldo[0-7], ldo[9-11].
  27. Optional sub-node properties:
  28. ----------------------------
  29. ams,ext-control: External control of the rail. The option of
  30. this properties will tell which external input is
  31. controlling this rail. Valid values are 0, 1, 2 ad 3.
  32. 0: There is no external control of this rail.
  33. 1: Rail is controlled by ENABLE1 input pin.
  34. 2: Rail is controlled by ENABLE2 input pin.
  35. 3: Rail is controlled by ENABLE3 input pin.
  36. ams,enable-tracking: Enable tracking with SD1, only supported
  37. by LDO3.
  38. Example:
  39. -------
  40. ams3722: ams3722 {
  41. compatible = "ams,as3722";
  42. reg = <0x40>;
  43. ...
  44. regulators {
  45. vsup-sd2-supply = <...>;
  46. ...
  47. sd0 {
  48. regulator-name = "vdd_cpu";
  49. regulator-min-microvolt = <700000>;
  50. regulator-max-microvolt = <1400000>;
  51. regulator-always-on;
  52. ams,ext-control = <2>;
  53. };
  54. sd1 {
  55. regulator-name = "vdd_core";
  56. regulator-min-microvolt = <700000>;
  57. regulator-max-microvolt = <1400000>;
  58. regulator-always-on;
  59. ams,ext-control = <1>;
  60. };
  61. sd2 {
  62. regulator-name = "vddio_ddr";
  63. regulator-min-microvolt = <1350000>;
  64. regulator-max-microvolt = <1350000>;
  65. regulator-always-on;
  66. };
  67. sd4 {
  68. regulator-name = "avdd-hdmi-pex";
  69. regulator-min-microvolt = <1050000>;
  70. regulator-max-microvolt = <1050000>;
  71. regulator-always-on;
  72. };
  73. sd5 {
  74. regulator-name = "vdd-1v8";
  75. regulator-min-microvolt = <1800000>;
  76. regulator-max-microvolt = <1800000>;
  77. regulator-always-on;
  78. };
  79. ....
  80. };
  81. };