From patchwork Thu Nov 8 17:50:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 150546 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1131434ljp; Thu, 8 Nov 2018 09:52:09 -0800 (PST) X-Google-Smtp-Source: AJdET5cnmhsNuAVo1QWUL/MezsunHGUHz5JasncKmkBkJBwrYYEDxpZGf2BnGiH5tOa9dsHvhCK3 X-Received: by 2002:a17:902:4025:: with SMTP id b34-v6mr5517069pld.318.1541699529583; Thu, 08 Nov 2018 09:52:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541699529; cv=none; d=google.com; s=arc-20160816; b=G5bHGMUP9Jc+v4o1E2TVzOXKqp8UDBXl4Wh7JxxxSgvFWLrgHsj/LHJB+eaWky7WFl BJ3aG6fvV621KnA2Mnl52NywK7LniTP0RSUeh5/FCED1wDc/O2t1QXIljmlshd4xvV09 8DjC6PfNbYhLidULNHGm4tq+xY4vDSmhaeM+xXNCyJ5pJtSOlgi0GqxbT8QyfXmMvxL3 Fja/ROHZs0m9xuzBDAuRP4uwCQfzQgFz1nPzyx+YUSxqM9O8+ZxaH+7W+TOxl2M5gwvK FrozuKEHkXFJv3KsbNB0kRGZJ5qFX/i2MPlUyHOEKzYwSzL9mdKtmumpT1qpA6x+dZjf unnw== 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=Yn5WRJhp/il9B25QmUZxp26tn9gGWo8qWTp+DCOBOyA=; b=GiIWOhtNA0t1HqiWL4gOJwoSNjYHdWKqRX8nkLMU2uU+kyKlrs5dVX7vYynyN2rB1B MpBdLsOrOf+lBwJS168hT0x69X2g0oUiYJz+/Bt5RPhzi8tYiEegkRVlHe0Qh0ukGGn4 w1nIlqeYJrucMWDrPI7DGzEJCvGQl2c4ULwYa4pwz122jNBB9UnnbyLGf/U+zfB3t0ZP MXnyj9eXhToZyVo43oeSxzeK5eRSuj5oUPLdOdROYZ+q3Ru81/0S8mDRzpiWO6A+jRyW gzg2ABJl7mxc3JkblR1WcnqVs8ejUasX0GYB+1J9al8w0AhGN5zwWW3Ifw/dU5Uiw0ME rSjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=tEBZdGtg; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 s123-v6si4950402pfb.178.2018.11.08.09.52.09; Thu, 08 Nov 2018 09:52:09 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-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=tEBZdGtg; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S1727316AbeKID2m (ORCPT + 14 others); Thu, 8 Nov 2018 22:28:42 -0500 Received: from mail.kernel.org ([198.145.29.99]:40522 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726672AbeKID2m (ORCPT ); Thu, 8 Nov 2018 22:28:42 -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 549BB20840; Thu, 8 Nov 2018 17:52:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541699526; bh=zZpXSbmNbp/b/hkBQO15rUMRnsw6ga9X7VfhMkxt3Y8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tEBZdGtga7mil3B0DoRbPvjTEf6aBS2krx6YYgiPsIrP/yhBItpEJYCfxmGXgdNrL il+f91CqnaDpcMWKinkPlrCUCdaUjER8zNUlXJpxDmginy/7TzKtOmY7z0Czq39Xzx hv16rQESgl6RO8sqGkv/x3bOXqo68jJeyNXKLkMQ= 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 v3 06/18] arm64: dts: qcom: qcs404: add smp2p nodes Date: Thu, 8 Nov 2018 23:20:37 +0530 Message-Id: <20181108175049.7090-7-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181108175049.7090-1-vkoul@kernel.org> References: <20181108175049.7090-1-vkoul@kernel.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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 e21b4a549e75..cc4dd3186ae9 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>; + }; + }; };