From 6ed4cd228b8db7c34dcd54a6388b86c6a8052cdc Mon Sep 17 00:00:00 2001 From: Raghavendra Kakarla Date: Sun, 26 Apr 2020 11:28:20 +0530 Subject: [PATCH] dt-bindings: Add documentation for rpm master stats Add documentation for rpm master stats device. Change-Id: Ia202c45f996e3263883d8a3c233274b3c7f63c08 --- bindings/arm/msm/rpm_master_stats.txt | 46 +++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 bindings/arm/msm/rpm_master_stats.txt diff --git a/bindings/arm/msm/rpm_master_stats.txt b/bindings/arm/msm/rpm_master_stats.txt new file mode 100644 index 00000000..b7694adf --- /dev/null +++ b/bindings/arm/msm/rpm_master_stats.txt @@ -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: + Definition: Should be "qcom,rpm-master-stats". + +- reg: + Usage: required + Value type: + 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: + Definition: Provides labels for the reg property. + +- qcom,masters: + Usage: required + Value tye: + Defination: Provides the masters list. + +qcom,master-offset: + Usage: required + Value tye: + 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>; + };