From 113a2a89b3a62c446d54a3b8aadda872fc317904 Mon Sep 17 00:00:00 2001 From: Prakruthi Deepak Heragu Date: Tue, 9 Jul 2019 16:44:31 -0700 Subject: [PATCH 1/2] ARM: dts: msm: Add IPCC node for Lahaina Add IPCC node with compatible of qcom,ipcc, to enable the IPCC driver on Lahaina. Change-Id: Id4f8972f7c019bd4c651af2a5efe8454aaffed8f --- qcom/lahaina.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/qcom/lahaina.dtsi b/qcom/lahaina.dtsi index a5288ccf4e0f..8a88fdd63e63 100644 --- a/qcom/lahaina.dtsi +++ b/qcom/lahaina.dtsi @@ -7,6 +7,7 @@ #include #include #include +#include #include "lahaina-regulators.dtsi" @@ -401,6 +402,15 @@ }; }; + ipcc_mproc: qcom,ipcc@408000 { + compatible = "qcom,ipcc"; + reg = <0x408000 0x1000>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <3>; + #mbox-cells = <2>; + }; + clocks { xo_board: xo-board { compatible = "fixed-clock"; From 066900d396afedfebbed0e0783d5fbf78fe2d43a Mon Sep 17 00:00:00 2001 From: Prakruthi Deepak Heragu Date: Wed, 10 Jul 2019 17:43:45 -0700 Subject: [PATCH 2/2] ARM: dts: msm: Add IPCC test nodes for end to end verification Add ping test nodes for APSS inorder to test the IPCC infrastructure. Change-Id: I8445b4d31ef4b210c1dc24b87a04b16091bbc0db --- qcom/ipcc-test.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 qcom/ipcc-test.dtsi diff --git a/qcom/ipcc-test.dtsi b/qcom/ipcc-test.dtsi new file mode 100644 index 000000000000..d1dd8598ae74 --- /dev/null +++ b/qcom/ipcc-test.dtsi @@ -0,0 +1,10 @@ +#include + +&soc { + ipcc_self_ping_apss: ipcc-self-ping-apss { + compatible = "qcom,ipcc-self-ping"; + interrupts-extended = <&ipcc_mproc IPCC_CLIENT_APSS + IPCC_MPROC_SIGNAL_SMP2P IRQ_TYPE_LEVEL_HIGH>; + mboxes = <&ipcc_mproc IPCC_CLIENT_APSS IPCC_MPROC_SIGNAL_SMP2P>; + }; +};