mirror of
https://github.com/Evolution-X-Devices/kernel_oneplus_sm8550-devicetrees
synced 2026-02-01 09:49:52 +00:00
dt-bindings: Add documentation for rpm master stats
Add documentation for rpm master stats device. Change-Id: Ia202c45f996e3263883d8a3c233274b3c7f63c08
This commit is contained in:
committed by
Maulik Shah
parent
f908d5d890
commit
6ed4cd228b
46
bindings/arm/msm/rpm_master_stats.txt
Normal file
46
bindings/arm/msm/rpm_master_stats.txt
Normal file
@@ -0,0 +1,46 @@
|
||||
* RPM Stats
|
||||
|
||||
RPM maintains a counter of the masters i.e APPS, MPPS etc
|
||||
number of times the SoC entered a deeper sleep mode involving
|
||||
lowering or powering down the backbone rails - Cx and Mx and
|
||||
the oscillator clock, XO.
|
||||
|
||||
PROPERTIES
|
||||
|
||||
- compatible:
|
||||
Usage: required
|
||||
Value type: <string>
|
||||
Definition: Should be "qcom,rpm-master-stats".
|
||||
|
||||
- reg:
|
||||
Usage: required
|
||||
Value type: <prop-encoded-array>
|
||||
Definition: The address on the RPM RAM from where the stats are read
|
||||
should be provided as "phys_addr_base". The offset
|
||||
from which the stats are available should be provided as
|
||||
"offset_addr".
|
||||
|
||||
- reg-names:
|
||||
Usage: required
|
||||
Value type: <prop-encoded-array>
|
||||
Definition: Provides labels for the reg property.
|
||||
|
||||
- qcom,masters:
|
||||
Usage: required
|
||||
Value tye: <string list>
|
||||
Defination: Provides the masters list.
|
||||
|
||||
qcom,master-offset:
|
||||
Usage: required
|
||||
Value tye: <prop-encoded-array>
|
||||
Defination: Provides the masters list
|
||||
|
||||
EXAMPLE:
|
||||
|
||||
qcom,rpm-master-stats@60150 {
|
||||
compatible = "qcom,rpm-master-stats";
|
||||
reg = <0x45f0150 0x5000>;
|
||||
qcom,masters = "APSS", "MPSS", "ADSP", "CDSP", "TZ";
|
||||
qcom,master-stats-version = <2>;
|
||||
qcom,master-offset = <4096>;
|
||||
};
|
||||
Reference in New Issue
Block a user