From patchwork Wed Aug 21 12:50:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 171949 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp924844ily; Wed, 21 Aug 2019 05:50:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqwCTnATs77fuxvEaytvsoLTRTVlUNgznC1m89O5WJJ4ibrv3ByhvnMneeTJ5Y79vO5Yen5U X-Received: by 2002:a17:902:54d:: with SMTP id 71mr32798524plf.140.1566391844688; Wed, 21 Aug 2019 05:50:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566391844; cv=none; d=google.com; s=arc-20160816; b=F4BDP1vy473N2BB8xZWeMNVuCOy8tl8bK7V5TFaCJzwRctTyRuc8vYFVFamgnGYFE6 WyWInyHHMttf+hWrGloZNaSl1af4PLgw3ytvPqrc9eSGiiMbN/k9O6/rzZuuwFDfjZ5h wHDQ4wFM64r/LZALb+ORJKw7+93J5X+QN4CHS1TgislUFq0wVCS9tMYaV4Hv/giho3ek kXosCkwxv7lK3zCBbryFH7MJwd6Gikf0aI9lUrS3sqBni9Wd9/eVNPc7xsso8NEOOH4t U027Ubl2sCDjxqgLaTG3PBO3XxMTzC39fj4IGxrSABTJ7dW/YXnuGMrQf7gTTiG7LgLX oLhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=R1ZeBH6k7hXHTFCxcBeavggaz5+YUTkL68fy29AXhgQ=; b=PiONpQfSjMxU5GpES6nYCJ99DfFDoRd1DflIGT3rgtxxv+rp3JBizEdOBNbEd6Owi9 ctKOb/4vhqb3O5IIKHoSVc7kWcAWajI7Vrrsjo+Z3EAFx9eC4b5g+tuzwQ2YP50GP6KD Nbimk/xlfwXlohefvB9BmcRLZiWyxdbdMdKSPmP9NWrFsOk9jiuKeGZqS5OvKTignMp2 ZKr3ZB5MYK5TCkfise4rutRrkP4dEm0x3jYZuxCK2+a8THdzW8MxR5Mx8xOl+/Qp2Jk6 EC7wGsa0/a3ZYukrta0VPnw2rzrfai49c595O/tXC3qKXgeGtIHodp0k8rQmxjQdzcyn Cf5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sMojcc0W; 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 q145si15878498pfc.31.2019.08.21.05.50.44; Wed, 21 Aug 2019 05:50:44 -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=sMojcc0W; 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 S1728295AbfHUMun (ORCPT + 16 others); Wed, 21 Aug 2019 08:50:43 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:55619 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727910AbfHUMun (ORCPT ); Wed, 21 Aug 2019 08:50:43 -0400 Received: by mail-wm1-f65.google.com with SMTP id f72so1991390wmf.5 for ; Wed, 21 Aug 2019 05:50:41 -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:mime-version :content-transfer-encoding; bh=R1ZeBH6k7hXHTFCxcBeavggaz5+YUTkL68fy29AXhgQ=; b=sMojcc0WLz/UbOqVUepBFozrnGHOb2W4rwo0PDyUz4x/IGrtIQFqEBmuSNCwq47KOr y1/moqXT8NaOlWk1R6Vp1yEmOjmbf2X+eB93pV+7bL50mHBOCxT/4+8ubYLz/zE4iAXR 3l8zAFhwXp8eDj5BzNi3bUsM7ztUfdqhC50uDBb6/rKBtXELxx8WOtOWRDNFxITGcnjH y0KaAA89zGlSGZMAAZK29rGGA6Jaz39g0UslMxBW3PhSmpOgzwXU4IdcGc7gjsDp7B1p x/VbCOri4Vcqi36+tTuRB+jCrKIAnwEYanNqodio3Cm+A/yy78OPr0HmJkXRwwt4XFQq czlQ== 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:mime-version :content-transfer-encoding; bh=R1ZeBH6k7hXHTFCxcBeavggaz5+YUTkL68fy29AXhgQ=; b=X2y3/aJGPPaGdHjdzcFY/T26mMINq842D0pFcvz9NzUTdqtivyjEbKHzcNRYKIIw1E mCt7M4BSem7u/sHPYxUbAJ2d4U6bg+ZxxZEA/UYo5VNIJKcMQh3pxatoV5pG24SZ9WdT Y5ga1MAEGjRCbrU5kGwbRVWDcSUKwRhk8x6ClEbTuR63JRYs+uvFu62iONUyDCtt2l5j ksHoK6j1kzmZnJ3GuYonLn0QJMWVh6vC4nKNzqcDKubYLHkfZgXR283A3r02uitWHpfn yme00DaGumD49KF4gVLlnDSzwn0iWZRXzY6FkPck5YHiIb27dY3J0yB4yVu/lZi6Nsgg ridA== X-Gm-Message-State: APjAAAXjoph5V0Jx3pNIE7FnoW3IkTI8SbLoHh3Bpd3SJlCNJlFEDxs8 6CA1a8juQut7B8ptph0tNe702Q== X-Received: by 2002:a05:600c:114e:: with SMTP id z14mr5741330wmz.161.1566391841270; Wed, 21 Aug 2019 05:50:41 -0700 (PDT) Received: from srini-hackbox.lan (cpc89974-aztw32-2-0-cust43.18-1.cable.virginm.net. [86.30.250.44]) by smtp.gmail.com with ESMTPSA id x20sm48439471wrg.10.2019.08.21.05.50.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Aug 2019 05:50:40 -0700 (PDT) From: Srinivas Kandagatla To: agross@kernel.org Cc: bjorn.andersson@linaro.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Srinivas Kandagatla Subject: [PATCH] arm64: sdm845: add adsp and cdsp fastrpc nodes Date: Wed, 21 Aug 2019 13:50:35 +0100 Message-Id: <20190821125035.7616-1-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add fastrpc compute context bank nodes to both cdsp and adsp. Signed-off-by: Srinivas Kandagatla --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 74 ++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) -- 2.21.0 Tested-by: Julien Massot Reviewed-by: Julien Massot diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index 9be6acb0650e..9476e5f6e65f 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -483,6 +483,25 @@ label = "lpass"; qcom,remote-pid = <2>; mboxes = <&apss_shared 8>; + fastrpc { + compatible = "qcom,fastrpc"; + qcom,glink-channels = "fastrpcglink-apps-dsp"; + label = "adsp"; + #address-cells = <1>; + #size-cells = <0>; + + compute-cb@3 { + compatible = "qcom,fastrpc-compute-cb"; + reg = <3>; + iommus = <&apps_smmu 0x1823 0x0>; + }; + + compute-cb@4 { + compatible = "qcom,fastrpc-compute-cb"; + reg = <4>; + iommus = <&apps_smmu 0x1824 0x0>; + }; + }; }; }; @@ -512,6 +531,61 @@ label = "turing"; qcom,remote-pid = <5>; mboxes = <&apss_shared 4>; + fastrpc { + compatible = "qcom,fastrpc"; + qcom,glink-channels = "fastrpcglink-apps-dsp"; + label = "cdsp"; + #address-cells = <1>; + #size-cells = <0>; + + compute-cb@1 { + compatible = "qcom,fastrpc-compute-cb"; + reg = <1>; + iommus = <&apps_smmu 0x1401 0x30>; + }; + + compute-cb@2 { + compatible = "qcom,fastrpc-compute-cb"; + reg = <2>; + iommus = <&apps_smmu 0x1402 0x30>; + }; + + compute-cb@3 { + compatible = "qcom,fastrpc-compute-cb"; + reg = <3>; + iommus = <&apps_smmu 0x1403 0x30>; + }; + + compute-cb@4 { + compatible = "qcom,fastrpc-compute-cb"; + reg = <4>; + iommus = <&apps_smmu 0x1404 0x30>; + }; + + compute-cb@5 { + compatible = "qcom,fastrpc-compute-cb"; + reg = <5>; + iommus = <&apps_smmu 0x1405 0x30>; + }; + + compute-cb@6 { + compatible = "qcom,fastrpc-compute-cb"; + reg = <6>; + iommus = <&apps_smmu 0x1406 0x30>; + }; + + compute-cb@7 { + compatible = "qcom,fastrpc-compute-cb"; + reg = <7>; + iommus = <&apps_smmu 0x1407 0x30>; + }; + + compute-cb@8 { + compatible = "qcom,fastrpc-compute-cb"; + reg = <8>; + iommus = <&apps_smmu 0x1408 0x30>; + }; + }; }; };