qcom,apcs-kpss-global.txt 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. Binding for the Qualcomm APCS global block
  2. ==========================================
  3. This binding describes the APCS "global" block found in various Qualcomm
  4. platforms.
  5. - compatible:
  6. Usage: required
  7. Value type: <string>
  8. Definition: must be one of:
  9. "qcom,msm8916-apcs-kpss-global",
  10. "qcom,msm8996-apcs-hmss-global"
  11. "qcom,msm8998-apcs-hmss-global"
  12. "qcom,sdm845-apss-shared"
  13. - reg:
  14. Usage: required
  15. Value type: <prop-encoded-array>
  16. Definition: must specify the base address and size of the global block
  17. - clocks:
  18. Usage: required if #clocks-cells property is present
  19. Value type: <phandle>
  20. Definition: phandle to the input PLL, which feeds the APCS mux/divider
  21. - #mbox-cells:
  22. Usage: required
  23. Value type: <u32>
  24. Definition: as described in mailbox.txt, must be 1
  25. - #clock-cells:
  26. Usage: optional
  27. Value type: <u32>
  28. Definition: as described in clock.txt, must be 0
  29. = EXAMPLE
  30. The following example describes the APCS HMSS found in MSM8996 and part of the
  31. GLINK RPM referencing the "rpm_hlos" doorbell therein.
  32. apcs_glb: mailbox@9820000 {
  33. compatible = "qcom,msm8996-apcs-hmss-global";
  34. reg = <0x9820000 0x1000>;
  35. #mbox-cells = <1>;
  36. };
  37. rpm-glink {
  38. compatible = "qcom,glink-rpm";
  39. interrupts = <GIC_SPI 168 IRQ_TYPE_EDGE_RISING>;
  40. qcom,rpm-msg-ram = <&rpm_msg_ram>;
  41. mboxes = <&apcs_glb 0>;
  42. mbox-names = "rpm_hlos";
  43. };
  44. Below is another example of the APCS binding on MSM8916 platforms:
  45. apcs: mailbox@b011000 {
  46. compatible = "qcom,msm8916-apcs-kpss-global";
  47. reg = <0xb011000 0x1000>;
  48. #mbox-cells = <1>;
  49. clocks = <&a53pll>;
  50. #clock-cells = <0>;
  51. };