samsung,s2mps11.txt 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. Binding for Samsung S2M family regulator block
  2. ==============================================
  3. This is a part of device tree bindings for S2M family multi-function devices.
  4. More information can be found in bindings/mfd/sec-core.txt file.
  5. The S2MPS11/13/14/15 and S2MPU02 devices provide buck and LDO regulators.
  6. To register these with regulator framework instantiate under main device node
  7. a sub-node named "regulators" with more sub-nodes for each regulator using the
  8. common regulator binding documented in:
  9. - Documentation/devicetree/bindings/regulator/regulator.txt
  10. Names of regulators supported by different devices:
  11. - LDOn
  12. - valid values for n are:
  13. - S2MPS11: 1 to 38
  14. - S2MPS13: 1 to 40
  15. - S2MPS14: 1 to 25
  16. - S2MPS15: 1 to 27
  17. - S2MPU02: 1 to 28
  18. - Example: LDO1, LDO2, LDO28
  19. - BUCKn
  20. - valid values for n are:
  21. - S2MPS11: 1 to 10
  22. - S2MPS13: 1 to 10
  23. - S2MPS14: 1 to 5
  24. - S2MPS15: 1 to 10
  25. - S2MPU02: 1 to 7
  26. - Example: BUCK1, BUCK2, BUCK9
  27. Note: The 'n' in LDOn and BUCKn represents the LDO or BUCK number
  28. as per the datasheet of device.
  29. Optional properties of the nodes under "regulators" sub-node:
  30. - regulator-ramp-delay: ramp delay in uV/us. May be 6250, 12500,
  31. 25000 (default) or 50000.
  32. Additionally S2MPS11 supports disabling ramp delay for BUCK{2,3,4,6}
  33. by setting it to <0>.
  34. Note: On S2MPS11 some bucks share the ramp rate setting i.e. same ramp value
  35. will be set for a particular group of bucks so provide the same
  36. regulator-ramp-delay value for them.
  37. Groups sharing ramp rate:
  38. - buck{1,6},
  39. - buck{3,4},
  40. - buck{7,8,10}.
  41. - samsung,ext-control-gpios: On S2MPS14 the LDO10, LDO11 and LDO12 can be
  42. configured to external control over GPIO. To turn this feature on this
  43. property must be added to the regulator sub-node:
  44. - samsung,ext-control-gpios: GPIO specifier for one GPIO
  45. controlling this regulator (enable/disable)
  46. Example:
  47. LDO12 {
  48. regulator-name = "V_EMMC_2.8V";
  49. regulator-min-microvolt = <2800000>;
  50. regulator-max-microvolt = <2800000>;
  51. samsung,ext-control-gpios = <&gpk0 2 0>;
  52. };
  53. Example:
  54. s2mps11_pmic@66 {
  55. compatible = "samsung,s2mps11-pmic";
  56. reg = <0x66>;
  57. regulators {
  58. ldo1_reg: LDO1 {
  59. regulator-name = "VDD_ABB_3.3V";
  60. regulator-min-microvolt = <3300000>;
  61. regulator-max-microvolt = <3300000>;
  62. };
  63. ldo2_reg: LDO2 {
  64. regulator-name = "VDD_ALIVE_1.1V";
  65. regulator-min-microvolt = <1100000>;
  66. regulator-max-microvolt = <1100000>;
  67. regulator-always-on;
  68. };
  69. buck1_reg: BUCK1 {
  70. regulator-name = "vdd_mif";
  71. regulator-min-microvolt = <950000>;
  72. regulator-max-microvolt = <1350000>;
  73. regulator-always-on;
  74. regulator-boot-on;
  75. };
  76. buck2_reg: BUCK2 {
  77. regulator-name = "vdd_arm";
  78. regulator-min-microvolt = <950000>;
  79. regulator-max-microvolt = <1350000>;
  80. regulator-always-on;
  81. regulator-boot-on;
  82. regulator-ramp-delay = <50000>;
  83. };
  84. };
  85. };