From patchwork Mon Nov 5 15:45:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 150199 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp2758946ljp; Mon, 5 Nov 2018 07:46:31 -0800 (PST) X-Google-Smtp-Source: AJdET5coE61yFR54niBySTHATqBhphaXKmrloLJvvFncQV/I7pdYkV4V1ysA+7oBRt8T73qJWYCi X-Received: by 2002:a62:1a55:: with SMTP id a82-v6mr15785962pfa.133.1541432791274; Mon, 05 Nov 2018 07:46:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541432791; cv=none; d=google.com; s=arc-20160816; b=WvDA7itv70KxFDX7WmTHmT47hX5l+riyRMULfajRbmt4l3sieKFGzQGlES5M32/YYh 3tU2ku3XVMcFmrOpx4j7ReZqRMFiF05JUhcFrJ1nvS2e/hi5CKp2j/uQbxnd4jMANQW1 FH+7VHA5LJ56+Cwx9wUEOJKaFLwb0NxMx9Ue0YxxqG0OdMaX/bXy9G8S/pjXiIu+zaLW vmEeZDqpVdJw6fPpYaMPxhI1zfWmCP7V5g16cBMTM8uPBZB4W2KAc/WSOlcWpCfuoR+5 pLCVf/EXycCd2IRrHn8ew6yE0qrauTCn3VVRwpdKxH1FTWHpan4PT37dcACaG25uee7V 3zVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=AsqJMqcDXH7z9W35dsFhp10JVf+uYrnbyyDdG3ebH3M=; b=rfXSGGQ1RtG1z57CBG4bzfNVPanMf9wfdgT6hUyHYZ2/LQK2UAoVzOf0uDW20MKjj1 6obX5bUSilo4Eg2Uu+Qq9Y6v6KSXlUofkXyfyYwfYwVqH6HrGDyTzlQckBPgVTqTYN9K 7QjprzOVbcYdXVPpxRHBLXCll3rUyKxn6lrM3/pMFVzAaNA2tZpEgKLp4hyB42ciD0ca QTwSPGocg4irQM2GPXbffGeZ096m04H8Qen++0Q8CltO52WIqRiIV2VPXUIxTaQZOmHK oPBqoKEPqudm2eaH3ae7/Qsgrkf2pQojp7mIegwgAHSWp9JbeZlbM+rsX0HS1FrbWzgd emrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=QI8RJlGH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r2-v6si18332006pgj.139.2018.11.05.07.46.30; Mon, 05 Nov 2018 07:46:31 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=QI8RJlGH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387528AbeKFBGq (ORCPT + 32 others); Mon, 5 Nov 2018 20:06:46 -0500 Received: from mail.kernel.org ([198.145.29.99]:52170 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387467AbeKFBGq (ORCPT ); Mon, 5 Nov 2018 20:06:46 -0500 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 2F9242085A; Mon, 5 Nov 2018 15:46:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541432787; bh=ek3dDACFv7O3avqSDIO0Ivj0QgUZzEstPN+dDEaTbBI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QI8RJlGHLCHt/IoGYFxWGsvCphYWfEd7IqzfXsVz+gm2wJCWO6l25HDfIoSQi+K6p KaxWd1ehMSzCBaU5yyfkUcJEQO/mU4ABjhoZVykbi1DCB8PfT52YSo1GWVvHriJfZr chjH7OuF3C4RXemov09yFntcpUjpEX0GhTUEWJ+E= From: Vinod Koul To: Andy Gross , David Brown Cc: Rob Herring , Mark Rutland , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Vinod Koul Subject: [PATCH v2 05/17] arm64: dts: qcom: qcs404: add smp2p nodes Date: Mon, 5 Nov 2018 21:15:17 +0530 Message-Id: <20181105154529.7614-6-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181105154529.7614-1-vkoul@kernel.org> References: <20181105154529.7614-1-vkoul@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the smp2p-adsp, smp2p-cdsp and smp2p-wcss nodes found in QCS404. Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 60 ++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) -- 2.14.4 diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi index c749c61225b4..c87b0440584a 100644 --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi @@ -257,4 +257,64 @@ #mbox-cells = <1>; }; }; + + 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>; + }; + }; };