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: 11106631 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 793E0112C for ; Wed, 21 Aug 2019 12:50:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5699E2089E for ; Wed, 21 Aug 2019 12:50:44 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="sMojcc0W" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728295AbfHUMun (ORCPT ); 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-Google-Smtp-Source: APXvYqzbpniP6/hX5IuqfoWXg2mDNQNg9FKJhXLse3/XokYGAy4A992gHe2IUNjAEDot+PyYABhIvQ== 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 Tested-by: Julien Massot Reviewed-by: Julien Massot --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 74 ++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) 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>; + }; + }; }; };