From 2c0c6804b8940de2e64e4c61511d1286ad3924fd Mon Sep 17 00:00:00 2001 From: Minghao Zhang Date: Tue, 22 Jun 2021 10:53:21 +0800 Subject: [PATCH 1/2] dt-bindings: subsystem_sleep_stats: Add reg as required property This adds reg as required proerty to subsystem_sleep_stats driver. This driver can support to get soc sleep information. Change-Id: I2f3477265987899f62990d2c5915a79af779f981 --- bindings/soc/qcom/subsystem-sleep-stats.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bindings/soc/qcom/subsystem-sleep-stats.yaml b/bindings/soc/qcom/subsystem-sleep-stats.yaml index 53e03871..3e7c8e5f 100644 --- a/bindings/soc/qcom/subsystem-sleep-stats.yaml +++ b/bindings/soc/qcom/subsystem-sleep-stats.yaml @@ -23,9 +23,12 @@ properties: Value type: Definition: Should be "qcom,subsystem-sleep-stats". + reg: + maxItems: 1 example: - | subsystem-sleep-stats { compatible = "qcom,subsystem-sleep-stats"; + reg = <0xc3f0000 0 0x400>; }; From 43d176e364fed769142f1edde2ac30438e416430 Mon Sep 17 00:00:00 2001 From: Minghao Zhang Date: Tue, 22 Jun 2021 11:02:02 +0800 Subject: [PATCH 2/2] ARM: dts: msm: Update subsystem_sleep_stats to support reg for waipio This change adds support to use reg to get soc information for waipio. Change-Id: I9573e0f8177fb896998f51edc5fa09e1c5ac3e86 --- qcom/waipio.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/qcom/waipio.dtsi b/qcom/waipio.dtsi index 976353cd..5a5e9aab 100644 --- a/qcom/waipio.dtsi +++ b/qcom/waipio.dtsi @@ -2589,6 +2589,7 @@ subsystem-sleep-stats { compatible = "qcom,subsystem-sleep-stats"; + reg = <0xc3f0000 0x400>; }; qcom,msm-cdsp-loader {