From patchwork Tue Aug 28 07:12:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 145298 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp848099ljw; Tue, 28 Aug 2018 00:10:30 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZOGOd7L+28AMmnHW2A9kjs5yGpmSd67B6KYGJWKmuz41gIwOZDTAsKqstQ11+g/j5EZ35o X-Received: by 2002:a62:3ac8:: with SMTP id v69-v6mr228555pfj.164.1535440230057; Tue, 28 Aug 2018 00:10:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535440230; cv=none; d=google.com; s=arc-20160816; b=UHrty2IS9giX3pjW3IS3OhnRMUF3YhLMLsyzrEbMz093azH29Im4sYU2/Y42BdSnDO OR7X/en3uoqu3q7VvSfHW90i/JiPhli5jKtuCybFWfaUlgrgaPCY9hByATe6vTVhB8Fd sXpObnNOqDSP3BLbFVz/P4/n9Q9I9DEodgzwREBJwq2bZKp+Wek6HasUhpA6xWBo2TW9 95ctafdzSvdshq5nGBRfSU4xV+v9knn+U34jh6fZW+dl29lEnDmR04hqHS8tLJwD9O39 QePw62KWg0rPw+T4pqiu907JPrDx+BYfgk9SvyzxZzph1aibd9DLm6+E8mpSOFN36roh sNwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=K7exVKA4QNpGL0btmMcAj+pwUY0QkummeTllnnzD48w=; b=iFzmLX4qAx8Tc4TrdhhVpaePgjIS/xtdlDQdW2amzB3gI8xlX9TfFUjFMeIBns+HjE CffHE/vtj7GULyS2p3d4XioqjQlg4OAApoMT+c7EeEkdhiVPG9xDgpONOmHvWV1qpove BbcBxrMTu/8B3t5TqDC/q9ouEsnObVRq9eiwE8CYBsvcGS9zxbB0rX41UqRgpxI39bEG zKVvycBKiHUtsKaPizC5LyixMXlovH4tQHMsbD66z+CMnX3J6kw1SIddbbq72cTvEIKx DhmFBESVnJ887ortLNANl+MisA4iG3xw+FkWacAgVoRR5/VO0YmDB5JIhg0QQEeqokqs Eofg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ol7wCxF8; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r7-v6si305411pgn.663.2018.08.28.00.10.29; Tue, 28 Aug 2018 00:10:30 -0700 (PDT) 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=@linaro.org header.s=google header.b=Ol7wCxF8; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727050AbeH1LAn (ORCPT + 13 others); Tue, 28 Aug 2018 07:00:43 -0400 Received: from mail-pg1-f194.google.com ([209.85.215.194]:41964 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726807AbeH1LAm (ORCPT ); Tue, 28 Aug 2018 07:00:42 -0400 Received: by mail-pg1-f194.google.com with SMTP id s15-v6so336004pgv.8 for ; Tue, 28 Aug 2018 00:10:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=K7exVKA4QNpGL0btmMcAj+pwUY0QkummeTllnnzD48w=; b=Ol7wCxF86qVAXxHEVLRR0c8iHipnAd260dIFfNfOTl2hp447Mw4ebC/vxJk1zHsX00 1kWETDobqBVcUxuhSMpzK8ZU/xD1iGK3OsDdd+d5z3ZiFJkn9O7IJNQW011dPvjID0uN i9Ydw7kr06dsprLdqr1TfQFfseh4v7t2ALBeE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=K7exVKA4QNpGL0btmMcAj+pwUY0QkummeTllnnzD48w=; b=PXh0mEsoGwqiK5XqT/A7HGKwOKW5fUmCrivSG2/SLhzPi214irlqiWKVIcqKHTmjUE 3byvhIylyVO8FNxXduQLwksjvNYPRt6WNYh84pI097+UGylzC/IOGFS3oO/R982mSKiS 8aO/AGUAwA05sA0Omc/ZUhX9ZSomvdjjDq0qfEdmnJ23S+tHmDPohAIjaSAf3TksZ4hR MSHvDMqr4YjZxZSSG3wJlJ2AmCjqCCNNcmMFt5R0XVT+W5O376Kl/DvRlogcGBk2RcyB rn+EPKU0K9wnImShnvlcJ83RjrVbd+TUtXBF7TfqNavPPSQRkHf4MrSruP0tmTlz67qF hXLw== X-Gm-Message-State: APzg51DS+73N3N89Fid6iVmaEc3zoZoVvt+wYEEIayf7RWyk1B23m3oc EYd4ZER39xdCRddXt3mhgJLR5w== X-Received: by 2002:a63:27c1:: with SMTP id n184-v6mr291126pgn.298.1535440227464; Tue, 28 Aug 2018 00:10:27 -0700 (PDT) Received: from localhost.localdomain (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id j15-v6sm577547pfn.52.2018.08.28.00.10.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Aug 2018 00:10:26 -0700 (PDT) From: Bjorn Andersson 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 Subject: [PATCH] arm64: dts: qcom: sdm845: Add smp2p nodes Date: Tue, 28 Aug 2018 00:12:03 -0700 Message-Id: <20180828071203.26740-1-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.18.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add the SMP2P nodes for the remoteproc states for adsp, cdsp, mpss and slpi. Signed-off-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 88 ++++++++++++++++++++++++++++ 1 file changed, 88 insertions(+) -- 2.18.0 diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index 0c9a2aa6a1b5..d977117acac4 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -230,6 +230,94 @@ hwlocks = <&tcsr_mutex 3>; }; + smp2p-cdsp { + compatible = "qcom,smp2p"; + qcom,smem = <94>, <432>; + + interrupts = ; + + mboxes = <&apss_shared 6>; + + 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-lpass { + compatible = "qcom,smp2p"; + qcom,smem = <443>, <429>; + + interrupts = ; + + mboxes = <&apss_shared 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-mpss { + compatible = "qcom,smp2p"; + qcom,smem = <435>, <428>; + interrupts = ; + mboxes = <&apss_shared 14>; + qcom,local-pid = <0>; + qcom,remote-pid = <1>; + + modem_smp2p_out: master-kernel { + qcom,entry-name = "master-kernel"; + #qcom,smem-state-cells = <1>; + }; + + modem_smp2p_in: slave-kernel { + qcom,entry-name = "slave-kernel"; + interrupt-controller; + #interrupt-cells = <2>; + }; + }; + + smp2p-slpi { + compatible = "qcom,smp2p"; + qcom,smem = <481>, <430>; + interrupts = ; + mboxes = <&apss_shared 26>; + qcom,local-pid = <0>; + qcom,remote-pid = <3>; + + slpi_smp2p_out: master-kernel { + qcom,entry-name = "master-kernel"; + #qcom,smem-state-cells = <1>; + }; + + slpi_smp2p_in: slave-kernel { + qcom,entry-name = "slave-kernel"; + interrupt-controller; + #interrupt-cells = <2>; + }; + }; + psci { compatible = "arm,psci-1.0"; method = "smc";