Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp800657ybl; Wed, 21 Aug 2019 05:52:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqwnBls7Mz0gf8sHF9I3veAMr9LZ5xxofgOTQQH9tR6s42SrwqdENNE263KsNtH+H2f8nifY X-Received: by 2002:aa7:8c03:: with SMTP id c3mr35040778pfd.139.1566391939985; Wed, 21 Aug 2019 05:52:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566391939; cv=none; d=google.com; s=arc-20160816; b=UQ06BmGrzy7qwbt+Fs/Zzt6UWotRZ/I0xvVGc3aqruob4GU9pyKD1FiY3EZEyPgdTL p+byvS+L9t36fPYV8QecmBjdsXzqZGPvUf/EkhXKeG2GhUIcEMak9UEGB0SZRWdH2sij qk6Kj85h4Qgx35BS+EBQf3CdVeXbZEOGTNQzHVKxoPFG99Jk/czwfSAESOzoL83ytIDa gRcBpvDXbXIn2HnLSyyThwjwd6Ls8PV3w7XWKj3a8N6Adk9uMawIEp9Ack1wKptfc89c IY+hb7e+IAKJq7CfOtAGGpnzCN6VYHbSiezm81m7uYYumc0mfi4SEOPvsRSnyASosXwZ +VUQ== 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=c7QtHo9Q+lQLoo3jGhPdSUvKqhnBAq5e41W3eynbdcBlCLBvdqvh+nqqs3mYh05NDj 30Jjie794d69AFvc34w6aN55A2DCBDD1HOq6+AfMbDPYL9HBjLLklP5CSBXStDGihdFO ZX1NwRbODnUt3IJ/ZTWyQe15AQczXB62LqXM0nxve549M2Yvsh4sZIw6+Kwql7JmaIfT 86HIvhn8nCyf2cLmu/jr3H7qlCzVEXJ95XiBsAnvXD6jjSn2zyNya/ZfyxkWl/Wwb97H 3eYNBgNhzHGUlgWMl9SZrcImH8T7nZmdbvh5aD2kyYaT7Qr+vQ5zZMTQp/blG7i1RhVG qaNA== 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-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 w3si10904159plb.51.2019.08.21.05.52.05; Wed, 21 Aug 2019 05:52:19 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 S1728470AbfHUMun (ORCPT + 99 others); Wed, 21 Aug 2019 08:50:43 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:39412 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728278AbfHUMun (ORCPT ); Wed, 21 Aug 2019 08:50:43 -0400 Received: by mail-wm1-f65.google.com with SMTP id i63so2019246wmg.4 for ; Wed, 21 Aug 2019 05:50:42 -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=nbla9lQ0SRYxw+J4nd4AXTEGWWoWs5wM2e7IKnFzi/GgHpY1L3uWZeIVetZCDHYoxk 7uwMQMyW51FQq+Fj1qcLSqFtivOSFhZcff8oscVLosUN+i/8jPAI+kos5p4qPbB9cnhb aov5FHJIwEODOQFNyH9p/pGTDh4raMkrYOzxsdMDCsOypGgIcUwo/RdGGZo1+/P7xc0L jH4Q1K+97Hdd2TumghV+iffYx4q/HGRr4fvihqnBX103ilQsVPKDiPw7GzmrimETV80y sP1aICMiPUq/9RB/11KYtAtPi+cRzMpRSGZ/9CvrAVLN2qAvUDfMPcyjqJFXDpS+fI/e zfTg== X-Gm-Message-State: APjAAAXcnr73VecscR89y2RVs25Ccscsv470hiHXWMNCCYzbWp0weWfH LlWZTVWQq2gCVZcAlBjT1evIBQ== 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 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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(+) 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>; + }; + }; }; }; -- 2.21.0