qcom,scm.txt 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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" for later processors (MSM8916, APQ8084, MSM8974, etc)
  12. * "android,firmware" for firmware image
  13. * "android,vbmeta" for setting system properties for verified boot.
  14. * "android,system" for system partition properties.
  15. - clocks: One to three clocks may be required based on compatible.
  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. Example for MSM8916:
  21. firmware {
  22. scm {
  23. compatible = "qcom,scm";
  24. clocks = <&gcc GCC_CRYPTO_CLK> , <&gcc GCC_CRYPTO_AXI_CLK>, <&gcc GCC_CRYPTO_AHB_CLK>;
  25. clock-names = "core", "bus", "iface";
  26. };
  27. };
  28. Example for SDM845:
  29. firmware {
  30. android {
  31. compatible = "android,firmware";
  32. vbmeta {
  33. compatible = "android,vbmeta";
  34. parts = "vbmeta,boot,system,vendor,dtbo";
  35. };
  36. fstab {
  37. compatible = "android,fstab";
  38. vendor {
  39. compatible = "android,vendor";
  40. dev = "/dev/block/platform/soc/1d84000.ufshc/by-name/vendor";
  41. type = "ext4";
  42. mnt_flags = "ro,barrier=1,discard";
  43. fsmgr_flags = "wait,slotselect,avb";
  44. };
  45. };
  46. };
  47. };