qcom,cmd-db.txt 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. Command DB
  2. ---------
  3. Command DB is a database that provides a mapping between resource key and the
  4. resource address for a system resource managed by a remote processor. The data
  5. is stored in a shared memory region and is loaded by the remote processor.
  6. Some of the Qualcomm Technologies Inc SoC's have hardware accelerators for
  7. controlling shared resources. Depending on the board configuration the shared
  8. resource properties may change. These properties are dynamically probed by the
  9. remote processor and made available in the shared memory.
  10. The bindings for Command DB is specified in the reserved-memory section in
  11. devicetree. The devicetree representation of the command DB driver should be:
  12. Properties:
  13. - compatible:
  14. Usage: required
  15. Value type: <string>
  16. Definition: Should be "qcom,cmd-db"
  17. - reg:
  18. Usage: required
  19. Value type: <prop encoded array>
  20. Definition: The register address that points to the actual location of
  21. the Command DB in memory.
  22. Example:
  23. reserved-memory {
  24. [...]
  25. reserved-memory@85fe0000 {
  26. reg = <0x0 0x85fe0000 0x0 0x20000>;
  27. compatible = "qcom,cmd-db";
  28. no-map;
  29. };
  30. };