From 5d91e5305c21f0ad4aad9882a13547b28ce6a0fd Mon Sep 17 00:00:00 2001 From: Gokul krishna Krishnakumar Date: Wed, 10 Jul 2024 10:51:56 -0700 Subject: [PATCH 1/3] Revert "ARM: dts: qcom: Add ready ack to the list of soccp interrupts" This reverts commit d7483f4aed76ece5f725328b71dabcea2cae9d68. Change-Id: Id54ae640c8ff967255ff9db68ccb509813fbcea4 Signed-off-by: Gokul krishna Krishnakumar --- qcom/sun.dtsi | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/qcom/sun.dtsi b/qcom/sun.dtsi index d39a5083..705699a3 100644 --- a/qcom/sun.dtsi +++ b/qcom/sun.dtsi @@ -3594,16 +3594,14 @@ <&soccp_smp2p_in 1 0>, <&soccp_smp2p_in 3 0>, <&soccp_smp2p_in 2 0>, - <&soccp_smp2p_in 9 0>, - <&soccp_smp2p_in 10 0>; + <&soccp_smp2p_in 9 0>; interrupt-names = "wdog", "fatal", "ready", "stop-ack", "handover", - "pong", - "wake-ack"; + "pong"; /* Outputs to soccp */ qcom,smem-states = <&soccp_smp2p_out 0>, <&soccp_smp2p_out 10>, <&soccp_smp2p_out 9>; From f7f2a9a731d783a6574888f606889fced039976c Mon Sep 17 00:00:00 2001 From: Gokul krishna Krishnakumar Date: Fri, 12 Jul 2024 14:00:37 -0700 Subject: [PATCH 2/3] ARM: dts: msm: sun: Add SOCCP_SOCCP_SPARE_REG0 to check SOCCP status SOCCP_SOCCP_SPARE_REG0 is used to check D0 status of SOCCP. TCSR_SOCCP_SLEEP_STATUS is used to check D3 status of SOCCP. Change-Id: Icee37cddb0b7ef303962cab0d9a8f37a211a05da Signed-off-by: Gokul krishna Krishnakumar --- qcom/sun.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qcom/sun.dtsi b/qcom/sun.dtsi index 705699a3..2275a15d 100644 --- a/qcom/sun.dtsi +++ b/qcom/sun.dtsi @@ -3586,7 +3586,8 @@ clock-names = "xo"; memory-region = <&soccp_mem 0>; - soccp-config = <&tcsr 0x1a000>; + soccp-tcsr = <&tcsr 0x1a000>; + soccp-spare = <0xda0024>; /* Inputs from SOCCP */ interrupts-extended = <&intc GIC_SPI 167 IRQ_TYPE_EDGE_RISING>, From 8791d1c35529f441ddcdc59f4cb76f3b75a0c191 Mon Sep 17 00:00:00 2001 From: Gokul krishna Krishnakumar Date: Mon, 5 Aug 2024 14:47:12 -0700 Subject: [PATCH 3/3] ARM: dts: msm: sun: add interconnects for soccp rproc APPS needs to place proxy votes to ddr and cnoc when the SOCCP is in D0. Change-Id: Idfa93910b51c6df033ea010480c1a8adeacd4af5 Signed-off-by: Gokul krishna Krishnakumar --- qcom/sun.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/qcom/sun.dtsi b/qcom/sun.dtsi index 2275a15d..7f9800d9 100644 --- a/qcom/sun.dtsi +++ b/qcom/sun.dtsi @@ -3585,6 +3585,10 @@ clocks = <&rpmhcc RPMH_CXO_CLK>; clock-names = "xo"; + interconnects = <&aggre2_noc MASTER_SOCCP_AGGR_NOC &mc_virt SLAVE_EBI1>, + <&cnoc_main MASTER_CNOC_CFG &mc_virt SLAVE_EBI1>; + interconnect-names = "rproc_ddr", "rproc_cnoc"; + memory-region = <&soccp_mem 0>; soccp-tcsr = <&tcsr 0x1a000>; soccp-spare = <0xda0024>;