s2mps11.txt 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. * Samsung S2MPS11 Voltage and Current Regulator
  2. The Samsung S2MP211 is a multi-function device which includes voltage and
  3. current regulators, RTC, charger controller and other sub-blocks. It is
  4. interfaced to the host controller using a I2C interface. Each sub-block is
  5. addressed by the host system using different I2C slave address.
  6. Required properties:
  7. - compatible: Should be "samsung,s2mps11-pmic".
  8. - reg: Specifies the I2C slave address of the pmic block. It should be 0x66.
  9. Optional properties:
  10. - interrupt-parent: Specifies the phandle of the interrupt controller to which
  11. the interrupts from s2mps11 are delivered to.
  12. - interrupts: Interrupt specifiers for interrupt sources.
  13. Optional nodes:
  14. - regulators: The regulators of s2mps11 that have to be instantiated should be
  15. included in a sub-node named 'regulators'. Regulator nodes included in this
  16. sub-node should be of the format as listed below.
  17. regulator_name {
  18. [standard regulator constraints....];
  19. };
  20. regulator-ramp-delay for BUCKs = [6250/12500/25000(default)/50000] uV/us
  21. BUCK[2/3/4/6] supports disabling ramp delay on hardware, so explictly
  22. regulator-ramp-delay = <0> can be used for them to disable ramp delay.
  23. In absence of regulator-ramp-delay property, default ramp delay will be used.
  24. NOTE: Some BUCKs share the ramp rate setting i.e. same ramp value will be set
  25. for a particular group of BUCKs. So provide same regulator-ramp-delay<value>.
  26. Grouping of BUCKs sharing ramp rate setting is as follow : BUCK[1, 6],
  27. BUCK[3, 4], and BUCK[7, 8, 10]
  28. The regulator constraints inside the regulator nodes use the standard regulator
  29. bindings which are documented elsewhere.
  30. The following are the names of the regulators that the s2mps11 pmic block
  31. supports. Note: The 'n' in LDOn and BUCKn represents the LDO or BUCK number
  32. as per the datasheet of s2mps11.
  33. - LDOn
  34. - valid values for n are 1 to 28
  35. - Example: LDO0, LD01, LDO28
  36. - BUCKn
  37. - valid values for n are 1 to 9.
  38. - Example: BUCK1, BUCK2, BUCK9
  39. Example:
  40. s2mps11_pmic@66 {
  41. compatible = "samsung,s2mps11-pmic";
  42. reg = <0x66>;
  43. regulators {
  44. ldo1_reg: LDO1 {
  45. regulator-name = "VDD_ABB_3.3V";
  46. regulator-min-microvolt = <3300000>;
  47. regulator-max-microvolt = <3300000>;
  48. };
  49. ldo2_reg: LDO2 {
  50. regulator-name = "VDD_ALIVE_1.1V";
  51. regulator-min-microvolt = <1100000>;
  52. regulator-max-microvolt = <1100000>;
  53. regulator-always-on;
  54. };
  55. buck1_reg: BUCK1 {
  56. regulator-name = "vdd_mif";
  57. regulator-min-microvolt = <950000>;
  58. regulator-max-microvolt = <1350000>;
  59. regulator-always-on;
  60. regulator-boot-on;
  61. };
  62. buck2_reg: BUCK2 {
  63. regulator-name = "vdd_arm";
  64. regulator-min-microvolt = <950000>;
  65. regulator-max-microvolt = <1350000>;
  66. regulator-always-on;
  67. regulator-boot-on;
  68. regulator-ramp-delay = <50000>;
  69. };
  70. };
  71. };