From patchwork Thu Oct 20 18:56:05 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sarangdhar Joshi X-Patchwork-Id: 9387461 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 C11AE60762 for ; Thu, 20 Oct 2016 18:58:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B707629C37 for ; Thu, 20 Oct 2016 18:58:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ABD4A29C40; Thu, 20 Oct 2016 18:58:33 +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=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 6A05D29C37 for ; Thu, 20 Oct 2016 18:58:33 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bxIWR-0002fi-Bs; Thu, 20 Oct 2016 18:56:59 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bxIW8-00028q-6x for linux-arm-kernel@lists.infradead.org; Thu, 20 Oct 2016 18:56:41 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 6105261ADA; Thu, 20 Oct 2016 18:56:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1476989782; bh=g9IbiuyYYi/3ULkQm5JdWKMzIcwJTSOlGy48fLESVkA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pO6smJUooCaHkNK7nC4Tcruz91Y+XZT+Wof2+Gze+VNZrYMUWT1MacI3PqJ6HEcnM Zaictu5vu54nywRMexsQWHG2LSM04Hyhf/6wgaLziE2C9y9ljk4s6Y21Dc1EKnbwni +iWZTAq2uqtndNQbPbS43CyzAfl4KEzH+3DpkGuQ= Received: from spjoshi-linux.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: spjoshi@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 502E161A87; Thu, 20 Oct 2016 18:56:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1476989781; bh=g9IbiuyYYi/3ULkQm5JdWKMzIcwJTSOlGy48fLESVkA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PNnr6TXfEwjxXGP+C+zDBnZH3p2LFLF98StFJGk6o/dPrkHtNM+8FsgWWPtqi8DA9 gqgElZTAXM8bZcRCws14hl2h22UblExoSP9OzQY/gnha04ogdsMZeHuz9EnNt+ctzj IYlwep8GQmbqP30XuCu+dnyVtjOhAsSu9Zp66fLE= DMARC-Filter: OpenDMARC Filter v1.3.1 smtp.codeaurora.org 502E161A87 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=pass smtp.mailfrom=spjoshi@codeaurora.org From: Sarangdhar Joshi To: Andy Gross , David Brown , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , Bjorn Andersson Subject: [PATCH 4/4] arm64: dts: msm8996: Add SMP2P and APCS nodes Date: Thu, 20 Oct 2016 11:56:05 -0700 Message-Id: <1476989765-7524-4-git-send-email-spjoshi@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1476989765-7524-1-git-send-email-spjoshi@codeaurora.org> References: <1476989765-7524-1-git-send-email-spjoshi@codeaurora.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161020_115640_462473_20B3EB1F X-CRM114-Status: GOOD ( 11.10 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Trilok Soni , devicetree@vger.kernel.org, Sarangdhar Joshi , linux-arm-msm@vger.kernel.org, Stephen Boyd , linux-kernel@vger.kernel.org, linux-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add SMP2P and APCS DT nodes required for Qualcomm ADSP Peripheral Image Loader. Signed-off-by: Sarangdhar Joshi Acked-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 0a810f5..3edb56b 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -169,6 +169,31 @@ method = "smc"; }; + smp2p-adsp { + compatible = "qcom,smp2p"; + qcom,smem = <443>, <429>; + + interrupt-parent = <&intc>; + interrupts = <0 158 IRQ_TYPE_EDGE_RISING>; + + qcom,ipc = <&apcs 16 10>; + + qcom,local-pid = <0>; + qcom,remote-pid = <2>; + + adsp_smp2p_out: master-kernel { + qcom,entry-name = "master-kernel"; + #qcom,state-cells = <1>; + }; + + adsp_smp2p_in: slave-kernel { + qcom,entry-name = "slave-kernel"; + + interrupt-controller; + #interrupt-cells = <2>; + }; + }; + smem { compatible = "qcom,smem"; @@ -205,6 +230,11 @@ interrupts = ; }; + apcs: syscon@9820000 { + compatible = "syscon"; + reg = <0x9820000 0x1000>; + }; + gcc: clock-controller@300000 { compatible = "qcom,gcc-msm8996"; #clock-cells = <1>;