qcom,scm.txt 1.4 KB

123456789101112131415161718192021222324252627282930313233
  1. QCOM Secure Channel Manager (SCM)
  2. Qualcomm processors include an interface to communicate to the secure firmware.
  3. This interface allows for clients to request different types of actions. These
  4. can include CPU power up/down, HDCP requests, loading of firmware, and other
  5. assorted actions.
  6. Required properties:
  7. - compatible: must contain one of the following:
  8. * "qcom,scm-apq8064" for APQ8064 platforms
  9. * "qcom,scm-msm8660" for MSM8660 platforms
  10. * "qcom,scm-msm8690" for MSM8690 platforms
  11. * "qcom,scm-msm8996" for MSM8996 platforms
  12. * "qcom,scm-ipq4019" for IPQ4019 platforms
  13. * "qcom,scm" for later processors (MSM8916, APQ8084, MSM8974, etc)
  14. - clocks: One to three clocks may be required based on compatible.
  15. * No clock required for "qcom,scm-msm8996", "qcom,scm-ipq4019"
  16. * Only core clock required for "qcom,scm-apq8064", "qcom,scm-msm8660", and "qcom,scm-msm8960"
  17. * Core, iface, and bus clocks required for "qcom,scm"
  18. - clock-names: Must contain "core" for the core clock, "iface" for the interface
  19. clock and "bus" for the bus clock per the requirements of the compatible.
  20. - qcom,dload-mode: phandle to the TCSR hardware block and offset of the
  21. download mode control register (optional)
  22. Example for MSM8916:
  23. firmware {
  24. scm {
  25. compatible = "qcom,scm";
  26. clocks = <&gcc GCC_CRYPTO_CLK> , <&gcc GCC_CRYPTO_AXI_CLK>, <&gcc GCC_CRYPTO_AHB_CLK>;
  27. clock-names = "core", "bus", "iface";
  28. };
  29. };