samsung,s2mpa01.txt 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. Binding for Samsung S2MPA01 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 S2MPA01 device 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 S2MPA01 device:
  11. - LDOn
  12. - valid values for n are 1 to 26
  13. - Example: LDO1, LD02, LDO26
  14. - BUCKn
  15. - valid values for n are 1 to 10.
  16. - Example: BUCK1, BUCK2, BUCK9
  17. Note: The 'n' in LDOn and BUCKn represents the LDO or BUCK number
  18. as per the datasheet of device.
  19. Optional properties of buck regulator nodes under "regulators" sub-node:
  20. - regulator-ramp-delay: ramp delay in uV/us. May be 6250, 12500
  21. (default), 25000, or 50000. May be 0 for disabling the ramp delay on
  22. BUCK{1,2,3,4}.
  23. In the absence of the regulator-ramp-delay property, the default ramp
  24. delay will be used.
  25. Note: Some bucks share the ramp rate setting i.e. same ramp value
  26. will be set for a particular group of bucks so provide the same
  27. regulator-ramp-delay value for them.
  28. Groups sharing ramp rate:
  29. - buck{1,6},
  30. - buck{2,4},
  31. - buck{8,9,10}.
  32. Example:
  33. s2mpa01_pmic@66 {
  34. compatible = "samsung,s2mpa01-pmic";
  35. reg = <0x66>;
  36. regulators {
  37. ldo1_reg: LDO1 {
  38. regulator-name = "VDD_ALIVE";
  39. regulator-min-microvolt = <1000000>;
  40. regulator-max-microvolt = <1000000>;
  41. };
  42. ldo2_reg: LDO2 {
  43. regulator-name = "VDDQ_MMC2";
  44. regulator-min-microvolt = <2800000>;
  45. regulator-max-microvolt = <2800000>;
  46. regulator-always-on;
  47. };
  48. buck1_reg: BUCK1 {
  49. regulator-name = "vdd_mif";
  50. regulator-min-microvolt = <950000>;
  51. regulator-max-microvolt = <1350000>;
  52. regulator-always-on;
  53. regulator-boot-on;
  54. };
  55. buck2_reg: BUCK2 {
  56. regulator-name = "vdd_arm";
  57. regulator-min-microvolt = <950000>;
  58. regulator-max-microvolt = <1350000>;
  59. regulator-always-on;
  60. regulator-boot-on;
  61. regulator-ramp-delay = <50000>;
  62. };
  63. };
  64. };