From 823d3b26d547d95d45957ea4d346e049dc49f53a Mon Sep 17 00:00:00 2001 From: Jagadeesh Kona Date: Wed, 2 Sep 2020 13:19:49 +0530 Subject: [PATCH 1/2] dt-bindings: clk: Add support for flag to send BIMC logging request Add new AOP flag "qcom,clk-stop-bimc-log" to send a BIMC logging request to AOP during kernel panic. Change-Id: Ic810a770387648e18c0718851c53fec72f173349 --- bindings/clock/qcom,aop-qmp.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bindings/clock/qcom,aop-qmp.txt b/bindings/clock/qcom,aop-qmp.txt index 231b8a36420b..38a1b6db3228 100644 --- a/bindings/clock/qcom,aop-qmp.txt +++ b/bindings/clock/qcom,aop-qmp.txt @@ -7,6 +7,8 @@ Required properties : - mboxes : list of QMP mailbox phandle and channel identifier tuples. - mbox-names: List of identifier strings for each mailbox channel. Must contain "qdss_clk". +- qcom,clk-stop-bimc-log: Presence indicates a BIMC logging request will + be sent to AOP during kernel panic. Example : clock_qdss: qcom,aopclk { From 5083fb500618f466a35d83907d21a73667e3cb95 Mon Sep 17 00:00:00 2001 From: Jagadeesh Kona Date: Wed, 2 Sep 2020 13:25:28 +0530 Subject: [PATCH 2/2] ARM: dts: msm: Add support for BIMC logging for AOPCC Add support to send a BIMC logging request to AOP during the kernel panic. Change-Id: I610e090af5e835cfd8d094056bd25256436ce8cd --- qcom/shima.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/qcom/shima.dtsi b/qcom/shima.dtsi index eb6782df00d1..57c2e7cdf68e 100644 --- a/qcom/shima.dtsi +++ b/qcom/shima.dtsi @@ -789,6 +789,7 @@ mboxes = <&qmp_aop 0>; mbox-names = "qdss_clk"; #clock-cells = <1>; + qcom,clk-stop-bimc-log; }; gcc: clock-controller@100000 {