From patchwork Sat Sep 1 22:27:21 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 145719 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp953747ljw; Sat, 1 Sep 2018 15:25:37 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdb8m4I/16Wv5YBAjNDmhP+A4bvAxMg1lOe7QdDuQ/4GhyTTKo++RIJLjLvOhmeIhugVDOCv X-Received: by 2002:a17:902:3a2:: with SMTP id d31-v6mr21436449pld.287.1535840737658; Sat, 01 Sep 2018 15:25:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535840737; cv=none; d=google.com; s=arc-20160816; b=LRt7EM7miP4YOtqugXaz3KkZ2AAuxE8OFowNSvpwgWRPtx+uqh1071mrPrEgPiKCmY 2hMEZfmsTC4h+id8u3bOxzTeJG/q6KRfft3vHP2dXSOMwJsxrifhg41zzFgGnnTLTgJD bbw+l/C2TtWPMkoIOdnBa95cUS86y42zeXR++orfnJyB+Qm4cClZ9dvaE4SmLqbiFwOp DPuyrb+t57pNMVr9/z2iauuORoUaJF7Q7uzH3ehK4E289UMJ94f7jK9lKpZkkQAFKb7S FOf9JG9KMH8+D+osRcpSMtUfSlUtBoWt+z5KAL7UVlDxF5Gnav5qpgcSgIyUcA8H1w+s qfeQ== 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=lURYql7MA2gfxmOpm8kifVlXh1WBUhVi7oHkI8NABxg=; b=GpRACdeIdKYDzEh7EC2tE9XkaDoCv9y0U1AruZw0mlIHmyzgYrjy/Z/hlAenkvAHiK nu8Jl6LM5eyieE2DwHvp+JjL5iS1A/k7nJyxrvFh6ssdWXEjvwzc5ZwqMDUFRJFxJ8mO eWS6BLAduvKtmaCI9/jZY/cdnmtx82NboeGDtPKbc8wvMNCwj+UMAej3QCkzsVc//re9 gRhAGM6iIATcgf71+NVcl+/tusVzv0bBuPHtk9+Gr+zb2C1rfbMXK5nCXo/2n8ikspYl VKKOU8lc4cclr0NWUZ920hPBuemYj2ukeutlc8PN2PYR2oJhz/YLQMXHjYnHtudF8I9F 200g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=enVR9tSw; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o5-v6si14141799plk.95.2018.09.01.15.25.37; Sat, 01 Sep 2018 15:25:37 -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=@linaro.org header.s=google header.b=enVR9tSw; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727049AbeIBCjB (ORCPT + 6 others); Sat, 1 Sep 2018 22:39:01 -0400 Received: from mail-pl1-f195.google.com ([209.85.214.195]:36949 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726986AbeIBCjB (ORCPT ); Sat, 1 Sep 2018 22:39:01 -0400 Received: by mail-pl1-f195.google.com with SMTP id f1-v6so232265plt.4 for ; Sat, 01 Sep 2018 15:25:36 -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=lURYql7MA2gfxmOpm8kifVlXh1WBUhVi7oHkI8NABxg=; b=enVR9tSwdcpVuZUuR7biz0Z7cFZIfA1ZN7B1N+8X27epayvUhl04ZGY5nKvKr5+BJe w2zYj6Gps+WAuZkpLEVMLm+IU4RQqalQ1diem+C+HNWWRLYIn154A4CaBnmnzEXCP4Pg pVBx6sQJjy4EmcEQ9XHTZmtXYE+3uafs5Kff4= 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=lURYql7MA2gfxmOpm8kifVlXh1WBUhVi7oHkI8NABxg=; b=dVcSGPQrkiBNvvCnLr3/2pObYnt6orwd9P5DVwPjOXQB3FmzlkzThpZXxvwGfIa0fv PoLIn2j3Ihf/TaxdfU7gb6IKSTMJzeq1czbjKreFJRkcDy3bFtZPB1FbVnuolvuEi6rv gMTmtk4vsMDz3Qnlna5gVpAxaHCV5+NbRVY4q3mGZnNGbnyB71evbfDMkI/LqEWE/aeb E6EvOxUGBgUYQLNoCYrY7Iqq3V8+n3o1etaYLoEWb7aAG2BG8qR4M97F/tLeoHdeVrtA lWYWP8DfiuzWEnsSFwkVL0LTVQj0DUMLkABLlj/X+Ofx6w5KXk4nCFJYVF4AA1P8KXJ9 Fpag== X-Gm-Message-State: APzg51A23UEt/JGQrP3x7xN1Gy2aKMyAkncUyQYpi9i+UB2pCAnZn3w4 MGbf9YnCayO+Z19UA7e6LF7MEw== X-Received: by 2002:a17:902:6907:: with SMTP id j7-v6mr21707662plk.323.1535840735864; Sat, 01 Sep 2018 15:25:35 -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 a16-v6sm15431025pgv.29.2018.09.01.15.25.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 01 Sep 2018 15:25:35 -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 adsp, cdsp and slpi smp2p Date: Sat, 1 Sep 2018 15:27:21 -0700 Message-Id: <20180901222721.21929-1-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.18.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add the SMP2P nodes for the remoteproc states for adsp, cdsp 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";