From patchwork Fri Jan 20 16:10:36 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Dwivedi, Avaneesh Kumar (avani)" X-Patchwork-Id: 9528905 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 4178D601AE for ; Fri, 20 Jan 2017 16:10:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 31F15286AE for ; Fri, 20 Jan 2017 16:10:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 26A2A286B0; Fri, 20 Jan 2017 16:10:58 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CD1DC28687 for ; Fri, 20 Jan 2017 16:10:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752741AbdATQK5 (ORCPT ); Fri, 20 Jan 2017 11:10:57 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:45586 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752373AbdATQK4 (ORCPT ); Fri, 20 Jan 2017 11:10:56 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 14517609FE; Fri, 20 Jan 2017 16:10:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1484928656; bh=AP/KniYAlC5adeaAJOj4Fk3OEi8ZbVG5I08PpajZ29M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VTZHUfDIHL/BgKWscC0l0kXjFnNu8ZxLip3ZwkKrnYl6XVm/hBNg/LvIKdHn79iMP ZEjaFUnkCZpxSChh4LQlfEJ9S0J+ggGohQivvZjl9Ye3anVn33HlT2Vz/I605u/Tow RCvo3sojKpDs3TelAca//DL4Lca/aZ9xLE2GeWr4= Received: from akdwived-linux.qualcomm.com (unknown [202.46.23.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: akdwived@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 103DB6089D; Fri, 20 Jan 2017 16:10:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1484928655; bh=AP/KniYAlC5adeaAJOj4Fk3OEi8ZbVG5I08PpajZ29M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gU76vSCAkT4Ql6ZeozLw5vinKzucxEVbgBiDHshyshHIzqO1SgaJnSPaSfWUKLlda SYhmhlhxIMv9g7GOP/PHwEIyN+krGAKo0q9GjwQySPAMHSxXuv5KwaZ2qEQryI85+8 QDTV21EAxGpwNvNTg3YSI9ksc/JHzqoun2aLrC38= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 103DB6089D Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=akdwived@codeaurora.org From: Avaneesh Kumar Dwivedi To: bjorn.andersson@linaro.org Cc: sboyd@codeaurora.org, agross@codeaurora.org, linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, Avaneesh Kumar Dwivedi Subject: [RFC PATCH v2 3/3] arm64: dts: msm8996: Add SLPI SMP2P dt node. Date: Fri, 20 Jan 2017 21:40:36 +0530 Message-Id: <1484928636-27351-4-git-send-email-akdwived@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1484928636-27351-1-git-send-email-akdwived@codeaurora.org> References: <1484928636-27351-1-git-send-email-akdwived@codeaurora.org> Sender: linux-remoteproc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-remoteproc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add smp2p support to communicate with slpi processor. Signed-off-by: Avaneesh Kumar Dwivedi Reviewed-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 9d1d7ad..c60472b 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -541,5 +541,29 @@ #interrupt-cells = <2>; }; }; + + smp2p-slpi { + compatible = "qcom,smp2p"; + qcom,smem = <481>, <430>; + + interrupts = ; + + qcom,ipc = <&apcs 16 26>; + + qcom,local-pid = <0>; + qcom,remote-pid = <3>; + + slpi_smp2p_in: slave-kernel { + qcom,entry-name = "slave-kernel"; + interrupt-controller; + #interrupt-cells = <2>; + }; + + slpi_smp2p_out: master-kernel { + qcom,entry-name = "master-kernel"; + #qcom,state-cells = <1>; + }; + }; + }; #include "msm8996-pins.dtsi"