qcom,smd-rpm.txt 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. Qualcomm Resource Power Manager (RPM) over SMD
  2. This driver is used to interface with the Resource Power Manager (RPM) found in
  3. various Qualcomm platforms. The RPM allows each component in the system to vote
  4. for state of the system resources, such as clocks, regulators and bus
  5. frequencies.
  6. - compatible:
  7. Usage: required
  8. Value type: <string>
  9. Definition: must be one of:
  10. "qcom,rpm-msm8974"
  11. - qcom,smd-channels:
  12. Usage: required
  13. Value type: <stringlist>
  14. Definition: Shared Memory channel used for communication with the RPM
  15. = SUBDEVICES
  16. The RPM exposes resources to its subnodes. The below bindings specify the set
  17. of valid subnodes that can operate on these resources.
  18. == Regulators
  19. Regulator nodes are identified by their compatible:
  20. - compatible:
  21. Usage: required
  22. Value type: <string>
  23. Definition: must be one of:
  24. "qcom,rpm-pm8841-regulators"
  25. "qcom,rpm-pm8941-regulators"
  26. - vdd_s1-supply:
  27. - vdd_s2-supply:
  28. - vdd_s3-supply:
  29. - vdd_s4-supply:
  30. - vdd_s5-supply:
  31. - vdd_s6-supply:
  32. - vdd_s7-supply:
  33. - vdd_s8-supply:
  34. Usage: optional (pm8841 only)
  35. Value type: <phandle>
  36. Definition: reference to regulator supplying the input pin, as
  37. described in the data sheet
  38. - vdd_s1-supply:
  39. - vdd_s2-supply:
  40. - vdd_s3-supply:
  41. - vdd_l1_l3-supply:
  42. - vdd_l2_lvs1_2_3-supply:
  43. - vdd_l4_l11-supply:
  44. - vdd_l5_l7-supply:
  45. - vdd_l6_l12_l14_l15-supply:
  46. - vdd_l8_l16_l18_l19-supply:
  47. - vdd_l9_l10_l17_l22-supply:
  48. - vdd_l13_l20_l23_l24-supply:
  49. - vdd_l21-supply:
  50. - vin_5vs-supply:
  51. Usage: optional (pm8941 only)
  52. Value type: <phandle>
  53. Definition: reference to regulator supplying the input pin, as
  54. described in the data sheet
  55. The regulator node houses sub-nodes for each regulator within the device. Each
  56. sub-node is identified using the node's name, with valid values listed for each
  57. of the pmics below.
  58. pm8841:
  59. s1, s2, s3, s4, s5, s6, s7, s8
  60. pm8941:
  61. s1, s2, s3, s4, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10, l11, l12, l13,
  62. l14, l15, l16, l17, l18, l19, l20, l21, l22, l23, l24, lvs1, lvs2,
  63. lvs3, 5vs1, 5vs2
  64. The content of each sub-node is defined by the standard binding for regulators -
  65. see regulator.txt.
  66. = EXAMPLE
  67. smd {
  68. compatible = "qcom,smd";
  69. rpm {
  70. interrupts = <0 168 1>;
  71. qcom,ipc = <&apcs 8 0>;
  72. qcom,smd-edge = <15>;
  73. rpm_requests {
  74. compatible = "qcom,rpm-msm8974";
  75. qcom,smd-channels = "rpm_requests";
  76. pm8941-regulators {
  77. compatible = "qcom,rpm-pm8941-regulators";
  78. vdd_l13_l20_l23_l24-supply = <&pm8941_boost>;
  79. pm8941_s3: s3 {
  80. regulator-min-microvolt = <1800000>;
  81. regulator-max-microvolt = <1800000>;
  82. };
  83. pm8941_boost: s4 {
  84. regulator-min-microvolt = <5000000>;
  85. regulator-max-microvolt = <5000000>;
  86. };
  87. pm8941_l20: l20 {
  88. regulator-min-microvolt = <2950000>;
  89. regulator-max-microvolt = <2950000>;
  90. };
  91. };
  92. };
  93. };
  94. };