From patchwork Tue Oct 30 10:10:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 149718 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp5248872ljp; Tue, 30 Oct 2018 03:11:47 -0700 (PDT) X-Google-Smtp-Source: AJdET5eMW/5D6fwj6gX8ENMuXyuCYYz/mc1eQzu1790YfpWEBxxW4lUxsWXx2N6nJFEV6OGMktti X-Received: by 2002:a63:a16:: with SMTP id 22mr17172525pgk.318.1540894306938; Tue, 30 Oct 2018 03:11:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540894306; cv=none; d=google.com; s=arc-20160816; b=h97MQd6VgZkvOyUNkqr8rBAJH8QDiALIQtvCcnk0jP9IsHBsI6NGglPH1Hgjkjz4dq yUZokc8qzpjK/qz9eprCEFQeYAtPiKH1j/i0pL/KoucrqcLDaOSLLtnrjfiRRl1r0kDe UyOHqsb8/dMFX/gVmjgNO0zCHnST3Wq0HDJXrZVvQyoBcySlo6CnFN/pZCFb5cLe/g0a hQUF9Cz0bsuzsytHmVxyHd5WIxqwScRZb6BEI7jHu6tT9LHEdsKKSZPjK/+zD+mfQAFh gZzjv4ySxSNirhC/HNWcWmSLRXBvlsOurCtjXrS0evQX72l1wk12J+leEQX5WEu3N3dk 58qg== 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=JfRboE3J8y4/T3Sty29EqHTzuDHHuqlEgkxYYEtpuKY=; b=w+uR4zc2YYAI8R0f4q29/3K0mYfgyantgeuCBJGuKtThCrE2HA8std/VVi/V/Cmnoj nUedo1kvjBrSQRV9uDMEvJZX2TaH+J4jyOfqwtM4HWf6ul/YiWAQBHgvO3hdGT3ddR6R dqqmdbWOOOCblGsm0Ks3zHqcuMV4gA9ON5zEjkGsrgcKrPl1EGSAyB2ia5CHGdJ4lrCa nWipZPM2QuzLJnIb5cbVQhTkdNseh/hnl61t+5KuYkrWpFVlO5yWwrxPt8YFxp0ZvIwN qE1U+qrkzCFS2FWDp6HvMjbNzxyQaxN/ifWjixNomrqXlZLEe1dH51/Nwcdgedt9HIYu Yh3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=KqqGWYY1; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 f12-v6si7079116plo.246.2018.10.30.03.11.46; Tue, 30 Oct 2018 03:11:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-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=KqqGWYY1; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 S1727558AbeJ3TEe (ORCPT + 6 others); Tue, 30 Oct 2018 15:04:34 -0400 Received: from mail.kernel.org ([198.145.29.99]:42822 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726451AbeJ3TEe (ORCPT ); Tue, 30 Oct 2018 15:04:34 -0400 Received: from localhost.localdomain (unknown [171.61.91.108]) (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 BC61620831; Tue, 30 Oct 2018 10:11:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1540894304; bh=WXjJQAHYgQYXV2tukLDedsec21Nmpj3BVJV/BCmtyVQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KqqGWYY1/N/ay5ND5X5BIsxsZRdPrbjiiRlV8gKdzjbQLtdu+Lj7x1qH6H24xguav PfcbCT8pSpB2FXKSIAl+ugnqFcnFQAzbmkEWkOYA8ZB5VwzB3i6KvjWK/qkflZ3SL+ jcE4hlLzJsyrf749KL+6lw3r07vDg8TLZEUYtzL4= 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 05/17] arm64: dts: qcom: qcs404: add smp2p nodes Date: Tue, 30 Oct 2018 15:40:56 +0530 Message-Id: <20181030101108.11041-6-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181030101108.11041-1-vkoul@kernel.org> References: <20181030101108.11041-1-vkoul@kernel.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@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 403d7f2b94f1..b94fc0c355b5 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>; + }; + }; };