From aa35313568ab7556096345d1d983b845e70c6162 Mon Sep 17 00:00:00 2001 From: Naina Mehta Date: Fri, 26 Nov 2021 10:14:05 +0530 Subject: [PATCH 1/3] ARM: dts: msm: Add scm DT node for Parrot Add scm device node for Parrot SoC. Change-Id: Icf47cd03028847bda3f333f2f63965ebc8a1b19f --- qcom/parrot.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/qcom/parrot.dtsi b/qcom/parrot.dtsi index b68acb2c..f1699f31 100644 --- a/qcom/parrot.dtsi +++ b/qcom/parrot.dtsi @@ -190,6 +190,10 @@ }; &firmware { + qcom_scm { + compatible = "qcom,scm"; + }; + android { compatible = "android,firmware"; fstab { From ca231675f1974942dc7117acb61df7b27f4a1c1a Mon Sep 17 00:00:00 2001 From: Rohit Agarwal Date: Tue, 21 Dec 2021 11:02:15 +0530 Subject: [PATCH 2/3] ARM: dts: msm: Add Core Hang Detect node for Parrot Add CHD node for Parrot to enable Core Hang Detect feature. Change-Id: I2af60944e0aee076f48e4d7108205f990a2163b6 --- qcom/parrot.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/qcom/parrot.dtsi b/qcom/parrot.dtsi index f1699f31..6bfa620a 100644 --- a/qcom/parrot.dtsi +++ b/qcom/parrot.dtsi @@ -923,6 +923,15 @@ qcom,mem-buf-msgq { compatible = "qcom,mem-buf-msgq"; }; + + qcom,chd { + compatible = "qcom,core-hang-detect"; + label = "core"; + qcom,threshold-arr = <0x17800058 0x17810058 0x17820058 0x17830058 + 0x17840058 0x17850058 0x17860058 0x17870058>; + qcom,config-arr = <0x17800060 0x17810060 0x17820060 0x17830060 + 0x17840060 0x17850060 0x17860060 0x17870060>; + }; }; #include "diwali-gdsc.dtsi" From 876ee1c27102927f3c55feec0e2cc26bc0207c25 Mon Sep 17 00:00:00 2001 From: Rohit Agarwal Date: Tue, 21 Dec 2021 11:34:39 +0530 Subject: [PATCH 3/3] ARM: dts: msm: Add cpu-pmu node for Parrot platform Add the CPU Perfomance Monitor device-tree node for the Parrot platform. Change-Id: I3884f20cd77b16474976f5f1a7978ce3f585cc5f --- qcom/parrot.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/qcom/parrot.dtsi b/qcom/parrot.dtsi index 6bfa620a..0627fe62 100644 --- a/qcom/parrot.dtsi +++ b/qcom/parrot.dtsi @@ -932,6 +932,11 @@ qcom,config-arr = <0x17800060 0x17810060 0x17820060 0x17830060 0x17840060 0x17850060 0x17860060 0x17870060>; }; + + cpu_pmu: cpu-pmu { + compatible = "arm,armv8-pmuv3"; + interrupts = ; + }; }; #include "diwali-gdsc.dtsi"