qcom,smd-rpm.txt 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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. The SMD information for the RPM edge should be filled out. See qcom,smd.txt for
  7. the required edge properties. All SMD related properties will reside within the
  8. RPM node itself.
  9. = SUBDEVICES
  10. The RPM exposes resources to its subnodes. The rpm_requests node must be
  11. present and this subnode may contain children that designate regulator
  12. resources.
  13. - compatible:
  14. Usage: required
  15. Value type: <string>
  16. Definition: must be one of:
  17. "qcom,rpm-apq8084"
  18. "qcom,rpm-msm8916"
  19. "qcom,rpm-msm8974"
  20. "qcom,rpm-msm8998"
  21. - qcom,smd-channels:
  22. Usage: required
  23. Value type: <string>
  24. Definition: must be "rpm_requests"
  25. Refer to Documentation/devicetree/bindings/regulator/qcom,smd-rpm-regulator.txt
  26. for information on the regulator subnodes that can exist under the rpm_requests.
  27. Example:
  28. soc {
  29. apcs: syscon@f9011000 {
  30. compatible = "syscon";
  31. reg = <0xf9011000 0x1000>;
  32. };
  33. };
  34. smd {
  35. compatible = "qcom,smd";
  36. rpm {
  37. interrupts = <0 168 1>;
  38. qcom,ipc = <&apcs 8 0>;
  39. qcom,smd-edge = <15>;
  40. rpm_requests {
  41. compatible = "qcom,rpm-msm8974";
  42. qcom,smd-channels = "rpm_requests";
  43. ...
  44. };
  45. };
  46. };