From patchwork Fri Nov 9 09:44:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 10675625 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 44B701709 for ; Fri, 9 Nov 2018 09:47:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 31D252DEBA for ; Fri, 9 Nov 2018 09:47:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 24ACD2E556; Fri, 9 Nov 2018 09:47:11 +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=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id AA6F12DEBA for ; Fri, 9 Nov 2018 09:47:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=zoBuQW/ppWx0UhjEBHDUS8DemxHR396qz33o609hZm0=; b=RMeONli2eesuUwsv0ztz7+zG8S SEUqrJD0eJ7pMeS8nLIo1n3O1ZQrZnrSMdgkkd+mK5MfEbfuKvd5aIU7g3IMpdNt84shT7HzTVo+u TXsgqA9XT/UDYi7wpExj/tcyK0d9Y5F40s8lJPqUQf3LWhEiyyPe4ikxMkUYHp31J2AglQm62f7UT ZwOXeX0qgbJ+o6M8TPiOo7njSlI8DXnrplbfiWNs0VYa3SCR+tZguxqu24Nozc8E+ZRPsr4+4FZVs kSTiIr8ON0yzpYJpwbN7RuiFPz2/a53FE1kxGeynY3qCRPKL0NUTSjILkZmcT7F4ovXritdJMuHcY FGHcoeGw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gL3NP-0005Mz-Lf; Fri, 09 Nov 2018 09:46:55 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gL3Lq-0003q6-8w for linux-arm-kernel@bombadil.infradead.org; Fri, 09 Nov 2018 09:45:18 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=P2Lnx/rcCJlYIXti1H9G0W1KSidfODqOZ+373/lwEKI=; b=18EKyeAnUiwIjwA9hSzLFmXS7 ayKT6gW1/7WRqMTy5gZRat44x5FLpA+LBxGkpW6+KEHnZGhXHdp0QPtNVwjsk6zM/uKJiT4r2U9RA 3bCYC/YVGaaor9NnLOP3+Bmz3crgJ/gtSNwBWGJCzmWMSZNQYgM3T44UwNExNtjCAW4bWk1ThhBXi Kp4j9doepLc6A8BgtNA/Tw9nYuRfPrnYdQsHWrD967CW+8edmWbiLMftHDAPU8JAzE7J5tBj2hS1y jdV0EHZNncFABnnsQbI4ykgMx6TZnkg0zrZ5U9sh7rCQ1po+XHLSc4uBMWnc/9vj9pfHdGLWGTU+l eugi+KMGg==; Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gL3Lh-0002Pr-Uo for linux-arm-kernel@lists.infradead.org; Fri, 09 Nov 2018 09:45:16 +0000 Received: from localhost.localdomain (unknown [171.76.98.79]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C82CC20989; Fri, 9 Nov 2018 09:45:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541756709; bh=FqCbnvJHjgXfqW1LqfoPQxMzsRMRKP1dXnfw9ZALzlQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=wrbMgar+vV7oVJeLRyXoFCtYuEHSpjSrzQ2rpRpQMVJQ0J6WeVPY9IVL9vBGeVOKD LmMhUDmZOHMm74xEhit6SpqkjcGrI0Q6em608vz4NiSk2XXxG1BPmF0gI57p38h/tP Pw7O5sU3LtnD2XWwVrOEu5a2ny7nSFkTqmgFM3sg= From: Vinod Koul To: Andy Gross Subject: [PATCH v5 06/18] arm64: dts: qcom: qcs404: add smp2p nodes Date: Fri, 9 Nov 2018 15:14:05 +0530 Message-Id: <20181109094417.12109-7-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181109094417.12109-1-vkoul@kernel.org> References: <20181109094417.12109-1-vkoul@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181109_044510_158110_C6122DE4 X-CRM114-Status: GOOD ( 10.12 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-msm@vger.kernel.org, Vinod Koul , linux-kernel@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 the smp2p-adsp, smp2p-cdsp and smp2p-wcss nodes found in QCS404. Reviewed-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 60 ++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi index 6bc0925acda9..133bcd36f926 100644 --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi @@ -257,4 +257,64 @@ , ; }; + + smp2p-adsp { + compatible = "qcom,smp2p"; + qcom,smem = <443>, <429>; + interrupts = ; + mboxes = <&apcs_glb 10>; + qcom,local-pid = <0>; + qcom,remote-pid = <2>; + + adsp_smp2p_out: master-kernel { + qcom,entry-name = "master-kernel"; + #qcom,smem-state-cells = <1>; + }; + + adsp_smp2p_in: slave-kernel { + qcom,entry-name = "slave-kernel"; + interrupt-controller; + #interrupt-cells = <2>; + }; + }; + + smp2p-cdsp { + compatible = "qcom,smp2p"; + qcom,smem = <94>, <432>; + interrupts = ; + mboxes = <&apcs_glb 14>; + qcom,local-pid = <0>; + qcom,remote-pid = <5>; + + cdsp_smp2p_out: master-kernel { + qcom,entry-name = "master-kernel"; + #qcom,smem-state-cells = <1>; + }; + + cdsp_smp2p_in: slave-kernel { + qcom,entry-name = "slave-kernel"; + interrupt-controller; + #interrupt-cells = <2>; + }; + }; + + smp2p-wcss { + compatible = "qcom,smp2p"; + qcom,smem = <435>, <428>; + interrupts = ; + mboxes = <&apcs_glb 18>; + qcom,local-pid = <0>; + qcom,remote-pid = <1>; + + wcss_smp2p_out: master-kernel { + qcom,entry-name = "master-kernel"; + #qcom,smem-state-cells = <1>; + }; + + wcss_smp2p_in: slave-kernel { + qcom,entry-name = "slave-kernel"; + interrupt-controller; + #interrupt-cells = <2>; + }; + }; };