s2mpa01.txt 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. * Samsung S2MPA01 Voltage and Current Regulator
  2. The Samsung S2MPA01 is a multi-function device which includes high
  3. efficiency buck converters including Dual-Phase buck converter, various LDOs,
  4. and an RTC. It is interfaced to the host controller using an I2C interface.
  5. Each sub-block is addressed by the host system using different I2C slave
  6. addresses.
  7. Required properties:
  8. - compatible: Should be "samsung,s2mpa01-pmic".
  9. - reg: Specifies the I2C slave address of the PMIC block. It should be 0x66.
  10. Optional properties:
  11. - interrupt-parent: Specifies the phandle of the interrupt controller to which
  12. the interrupts from s2mpa01 are delivered to.
  13. - interrupts: An interrupt specifier for the sole interrupt generated by the
  14. device.
  15. Optional nodes:
  16. - regulators: The regulators of s2mpa01 that have to be instantiated should be
  17. included in a sub-node named 'regulators'. Regulator nodes and constraints
  18. included in this sub-node use the standard regulator bindings which are
  19. documented elsewhere.
  20. Properties for BUCK regulator nodes:
  21. - regulator-ramp-delay: ramp delay in uV/us. May be 6250, 12500
  22. (default), 25000, or 50000. May be 0 for disabling the ramp delay on
  23. BUCK{1,2,3,4}.
  24. In the absence of the regulator-ramp-delay property, the default ramp
  25. delay will be used.
  26. NOTE: Some BUCKs share the ramp rate setting i.e. same ramp value will be set
  27. for a particular group of BUCKs. So provide same regulator-ramp-delay=<value>.
  28. The following BUCKs share ramp settings:
  29. * 1 and 6
  30. * 2 and 4
  31. * 8, 9, and 10
  32. The following are the names of the regulators that the s2mpa01 PMIC block
  33. supports. Note: The 'n' in LDOn and BUCKn represents the LDO or BUCK number
  34. as per the datasheet of s2mpa01.
  35. - LDOn
  36. - valid values for n are 1 to 26
  37. - Example: LDO1, LD02, LDO26
  38. - BUCKn
  39. - valid values for n are 1 to 10.
  40. - Example: BUCK1, BUCK2, BUCK9
  41. Example:
  42. s2mpa01_pmic@66 {
  43. compatible = "samsung,s2mpa01-pmic";
  44. reg = <0x66>;
  45. regulators {
  46. ldo1_reg: LDO1 {
  47. regulator-name = "VDD_ALIVE";
  48. regulator-min-microvolt = <1000000>;
  49. regulator-max-microvolt = <1000000>;
  50. };
  51. ldo2_reg: LDO2 {
  52. regulator-name = "VDDQ_MMC2";
  53. regulator-min-microvolt = <2800000>;
  54. regulator-max-microvolt = <2800000>;
  55. regulator-always-on;
  56. };
  57. buck1_reg: BUCK1 {
  58. regulator-name = "vdd_mif";
  59. regulator-min-microvolt = <950000>;
  60. regulator-max-microvolt = <1350000>;
  61. regulator-always-on;
  62. regulator-boot-on;
  63. };
  64. buck2_reg: BUCK2 {
  65. regulator-name = "vdd_arm";
  66. regulator-min-microvolt = <950000>;
  67. regulator-max-microvolt = <1350000>;
  68. regulator-always-on;
  69. regulator-boot-on;
  70. regulator-ramp-delay = <50000>;
  71. };
  72. };
  73. };