From 97e7d2c747a3315bac526ba62d6093a1d3d7ae04 Mon Sep 17 00:00:00 2001 From: Ananda Kishore Date: Wed, 29 Jul 2020 16:05:49 +0530 Subject: [PATCH] ARM: dts: msm: Add smp2p sleepstate node for Shima Add device node for the smp2p sleepstate entry and the device node for the smp2p sleep driver to notify dsps of apps power state changes. Change-Id: Ia59d73a1aba7430a2bb97ce178b076d2dcbbdb86 --- qcom/shima.dtsi | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/qcom/shima.dtsi b/qcom/shima.dtsi index 9f55f95df385..f5b3dc2ff1b0 100644 --- a/qcom/shima.dtsi +++ b/qcom/shima.dtsi @@ -840,7 +840,24 @@ #interrupt-cells = <2>; }; + sleepstate_smp2p_out: sleepstate-out { + qcom,entry-name = "sleepstate"; + #qcom,smem-state-cells = <1>; + }; + sleepstate_smp2p_in: qcom,sleepstate-in { + qcom,entry-name = "sleepstate_see"; + interrupt-controller; + #interrupt-cells = <2>; + }; + }; + + qcom,smp2p_sleepstate { + compatible = "qcom,smp2p-sleepstate"; + qcom,smem-states = <&sleepstate_smp2p_out 0>; + interrupt-parent = <&sleepstate_smp2p_in>; + interrupts = <0 0>; + interrupt-names = "smp2p-sleepstate-in"; }; qcom,smp2p-nsp {