From cac96efd9a81f4647b29160c522df2479f23824b Mon Sep 17 00:00:00 2001 From: Raghavendra Kakarla Date: Mon, 31 Aug 2020 14:48:11 +0530 Subject: [PATCH] ARM: dts: msm: Add domain names for the core lpm nodes for holi Adds the corresponding domains name for the core lpm nodes and adds the reg-names for top lpm node so that differentiate the RIMPS addresses for each domain. Change-Id: Ia086943cc7e86c3518464ce7d00b8e2448922861 --- bindings/arm/msm/lpm-levels.txt | 3 +++ qcom/holi-pm.dtsi | 3 +++ 2 files changed, 6 insertions(+) diff --git a/bindings/arm/msm/lpm-levels.txt b/bindings/arm/msm/lpm-levels.txt index fa5709dd..421ba2a3 100644 --- a/bindings/arm/msm/lpm-levels.txt +++ b/bindings/arm/msm/lpm-levels.txt @@ -29,6 +29,7 @@ Required properties: Optional properties: - reg: The address range + - reg-names: Specifies the address field names. - qcom,disable-prediction: This property is used to indicate the LPM governor will not use LPM prediction for this cluster. - qcom,clstr-tmr-add: This property is used as correction timer for @@ -86,6 +87,8 @@ that share the parameters.It contains the following properties. Optional properties: - qcom,disable-prediction: This property is used to indicate the LPM governor is to disable sleep prediction to this cpu. + - label: Identifies the cluster name. The name is used when parsing the + RIMPS addresses. - qcom,ref-stddev: This property is used as reference standard deviation in lpm prediction algorithm. This value should be between 100 to 1000. Higher value would result in more predictions and thereby resulting in diff --git a/qcom/holi-pm.dtsi b/qcom/holi-pm.dtsi index 4ed3dba8..1beb1fb1 100644 --- a/qcom/holi-pm.dtsi +++ b/qcom/holi-pm.dtsi @@ -2,6 +2,7 @@ qcom,lpm-levels { compatible = "qcom,lpm-levels"; reg = <0xfd91060 0x20>, <0xfd92060 0x20>; + reg-names = "pwr", "perf"; #address-cells = <1>; #size-cells = <0>; @@ -45,6 +46,7 @@ #size-cells = <0>; qcom,psci-mode-shift = <0>; qcom,psci-mode-mask = <0xf>; + label = "pwr"; qcom,ref-stddev = <500>; qcom,tmr-add = <1000>; qcom,ref-premature-cnt = <1>; @@ -98,6 +100,7 @@ #size-cells = <0>; qcom,psci-mode-shift = <0>; qcom,psci-mode-mask = <0xf>; + label = "perf"; qcom,ref-stddev = <100>; qcom,tmr-add = <100>; qcom,ref-premature-cnt = <3>;