From patchwork Fri Oct 21 23:19:19 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sarangdhar Joshi X-Patchwork-Id: 9390327 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 6AC6960780 for ; Fri, 21 Oct 2016 23:22:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 50F9B2A084 for ; Fri, 21 Oct 2016 23:22:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 45C432A1AA; Fri, 21 Oct 2016 23:22:26 +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 0A05C2A084 for ; Fri, 21 Oct 2016 23:22:25 +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 1bxj7g-00036b-2d; Fri, 21 Oct 2016 23:21:12 +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 1bxj6R-00016W-UZ for linux-arm-kernel@lists.infradead.org; Fri, 21 Oct 2016 23:19:57 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 1BD6D61B01; Fri, 21 Oct 2016 23:19:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1477091980; bh=hZ+A5v095lAovfFhzo8nHlLS3VG7uOrySqivGi5843g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FA+UDbd0urVIKCuoG0KBtlpVZi5jgiznPrCVTzGsmRWre/oGEvww2XJHQUIHgdYP/ co27aUJQAx5QaEGWOiRa/owMjRUG+jaaCZrfmb1RUO4hRCxGTnsaix3vOVMGlKrHOR jpO6ZtpWQsJ177KIQeUYnKNtH7oQl/bcMbN78rzg= 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 368FE61B01; Fri, 21 Oct 2016 23:19:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1477091978; bh=hZ+A5v095lAovfFhzo8nHlLS3VG7uOrySqivGi5843g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DqvZISPoiSXi1mSEgitQDnevjxCgCzLiiidBduMFy8fl8a9lIy5bvQ+k7nzEx1Hzc WZqNj7NTJS/l8RkGyOS2ieIJIiwMDLUGeVc0Mqigj2OUeqNUv8vwP4Se+O6Da0aqLq r/rqUxNCbUJ/FrMov/+/5sIjFZw05nWmSglaPOik= DMARC-Filter: OpenDMARC Filter v1.3.1 smtp.codeaurora.org 368FE61B01 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 v3 4/4] arm64: dts: msm8996: Add SMP2P and APCS nodes Date: Fri, 21 Oct 2016 16:19:19 -0700 Message-Id: <1477091959-19580-5-git-send-email-spjoshi@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1477091959-19580-1-git-send-email-spjoshi@codeaurora.org> References: <1477091959-19580-1-git-send-email-spjoshi@codeaurora.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161021_161956_170198_47F50777 X-CRM114-Status: GOOD ( 11.36 ) 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. Acked-by: Bjorn Andersson Signed-off-by: Sarangdhar Joshi --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 60d2d20c..9e960c1 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -175,6 +175,30 @@ method = "smc"; }; + adsp-smp2p { + compatible = "qcom,smp2p"; + qcom,smem = <443>, <429>; + + 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"; memory-region = <&smem_mem>; @@ -203,6 +227,11 @@ interrupts = ; }; + apcs: syscon@9820000 { + compatible = "syscon"; + reg = <0x9820000 0x1000>; + }; + gcc: clock-controller@300000 { compatible = "qcom,gcc-msm8996"; #clock-cells = <1>;