rpm-stats.txt 672 B

1234567891011121314151617181920212223
  1. * RPM Sleep Stats
  2. RPM maintains sleep data in the RPM RAM. A device tree node is added
  3. that will hold the address of the RPM RAM from where sleep stats are read.
  4. Additionally a version number is added to distinguish the type of data
  5. structure being read from the RAM.
  6. The required properties for rpm-stats are:
  7. - compatible: "qcom,rpm-stats"
  8. - reg: The address on the RPM RAM from where stats are read.
  9. - reg-names: Name given the register holding address.
  10. - qcom,sleep-stats-version: Version number.
  11. Example:
  12. qcom,rpm-stats@fc19dbd0 {
  13. compatible = "qcom,rpm-stats";
  14. reg = <0xfc19dbd0 0x1000>;
  15. reg-names = "phys_addr_base";
  16. qcom,sleep-stats-version = <2>;
  17. };