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: 150621 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1923148ljp; Fri, 9 Nov 2018 01:45:12 -0800 (PST) X-Google-Smtp-Source: AJdET5dbXq0nzZvE5CenoQopowWEkPOKnifXfvwQP1+3DIWVIBsEl5oGkr4N60Vfog5/vROlvUOT X-Received: by 2002:a62:1e83:: with SMTP id e125-v6mr8175292pfe.231.1541756712540; Fri, 09 Nov 2018 01:45:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541756712; cv=none; d=google.com; s=arc-20160816; b=co1iWyMzx1qQUatdW/NE3PG6dz8h4uI4qcGZI1DqEx4CfuDulOeqRT6/B2H0Ko47nL YQV9yfgzoFUCa8Bk5yrMPUP5p/2SQHHVTJ1gM3Ub/eIWS+hZQlQJrN8LTNCfQXQaXbER CeBb7gTMCxx4XzEHqNsjjSTgF9ILYtdVnX1Yo+Ycq4hO48fKffsY6GS1iKU24RFQ01FT 5hro5z8xRV7I5HzhSbt6K4i9Tl8MjfW6H13IVol8xULbt/fORmHNHSqNzbnYpOAn+EK5 EsQCZ7C3CSqbHEXt+hQ/ZY+3IHZjp8nz6HtK0vtHuibN2FkqtyHxiGEaKscLXuFVGMCz W/bg== 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=P2Lnx/rcCJlYIXti1H9G0W1KSidfODqOZ+373/lwEKI=; b=Hv+RNA0TV/UbB5M5VHvwYRle/F/kp+Wk3xe0fCNPzLoev4di8lJoLHtMxGlMB4idRi nln/v54BZCNSwFVz9fHA6CAyGA+ODyaglFPlkR8uJqbNxFKlTOv2pVJVUrweRu04teFj V43RDaM950u0o6bMNaVZ3AWRIVhh6nx4KgCpgOhzpl7xZoCdqSiOUh32+vrp7yhu4xnK 4j7uBicBdqCuyGkNFoDQPYrYEEN+vajenfrZ7yVE9h8v0GDceTTzFhj0kNYqXwUOt2kI dauULhQqZxdyT1fHkjqtJHA/fY1dL9d9wzjw0kSE3vQC/SdOKxhFa1xw+GgZ7CZGIKpP HPWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=wrbMgar+; 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 a5-v6si5686419pgw.352.2018.11.09.01.45.12; Fri, 09 Nov 2018 01:45:12 -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=wrbMgar+; 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 S1728126AbeKITY4 (ORCPT + 32 others); Fri, 9 Nov 2018 14:24:56 -0500 Received: from mail.kernel.org ([198.145.29.99]:53502 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727560AbeKITYz (ORCPT ); Fri, 9 Nov 2018 14:24:55 -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 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 Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Vinod Koul 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> 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. Reviewed-by: Bjorn Andersson 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 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>; + }; + }; };