Sundara Vinayagam | bde65ab | 2018-03-19 14:27:33 +0530 | [diff] [blame] | 1 | * RPM RBCPR |
| 2 | |
| 3 | The RBCPR(Rapid Bridge Core Power Reduction) is module on RPM that controls |
| 4 | the voltage level on the chip based on feedback received through various |
| 5 | sensors on the chip that allow compensation of the chip process variation, |
| 6 | temperature etc. |
| 7 | RPM maintains RBCPR (Rapid Bridge Core Power Reduction) related stats in |
| 8 | data memory. This module allows users to read those stats. |
| 9 | |
| 10 | The required properties for rpm-stats are: |
| 11 | |
| 12 | - compatible: "qcom,rpmrbcpr-stats" |
| 13 | - reg: Pointer to the start of the RPM Data Memory. The size of the memory |
| 14 | is inclusive of the entire RPM data memory. |
| 15 | - qcom,start_offset: The offset at which the RBCPR stats are maintained. The |
| 16 | driver module reads this parameter to get another offset |
| 17 | that contain the rbcpr stats. |
| 18 | |
| 19 | |
| 20 | Example: |
| 21 | |
| 22 | qcom,rpm-rbcpr-stats@fc000000 { |
| 23 | compatible = "qcom,rpmrbcpr-stats"; |
| 24 | reg = <0xfc000000 0x1a0000>; |
| 25 | qcom,start-offset = <0x190010>; |
| 26 | }; |