Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp1103420lqz; Sun, 31 Mar 2024 14:11:32 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXEwBo8JV5LrLjfkfRwQjDT3EAsm5d9mYK7qpHuj2eKWflG+p5woUhkqoND7x9UnuAukoq1vacih5XW2ZKPyB/CzAEdmIerRwmRUCxjng== X-Google-Smtp-Source: AGHT+IEMKPOsgVqDlJ7RE1eqa8yqHDYxQXeN5W3sQwab1prrS4lvnkyqbHuu+3G8fBnMnmsN/tQ7 X-Received: by 2002:a05:6a20:734b:b0:1a7:175:2cac with SMTP id v11-20020a056a20734b00b001a701752cacmr5358581pzc.13.1711919492327; Sun, 31 Mar 2024 14:11:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711919492; cv=pass; d=google.com; s=arc-20160816; b=sljuX9C2lYRBe9Z810yQtvFdypa6tdVx00I0C7JNuwlyA1NjDdtHWisrNXg2tpeJ3R b2dxo/xS+yLLAMYa5L/CSecWJ3e4mGme3uaYSqm84cm99LaN6hXFGK9MnstC0r+R3+So 3DOmrqCnIE0wYHdCsPxfsMDzufdsALyFOSdB/QaBFWtR+E0An8qlXsav6bzX7c7GgsXJ Eb2WIFcsAotefcLZrw+Q1usxMzlFJkMKQ+ivaQjjBBOpfeDvmJxmp+IUWY5bV8FpdnGA L6BYtXzjEaV1New1plomRpas9dqwfxXkTB8I3gzqcE+SSaptFLbAkshV9aqhLIdJxOTP LJNw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=tv40XznBi1vAVfYC8yDgaimDwP+pONYwDVmAMHNv9eo=; fh=5jQAamVYLC0I2kqSzZiYYJwArK+Zk34YgDaxP7Jeg+w=; b=dU9ELyeDtKq/nPGGMJtfjbJI3RksgvmoPv/R+6ZG2g1o9SDpksmwOJC7OAqX2zM2LI cI5I3wW9wsM8KH2x/IDlyZaw8fGIbD1p4pue6jV7TKfDnOUdcaYOG7RA0rQKBcM6OQB1 zeeNXm/PlcF/Lb6mqLfRo8ljxsnrtsYIxcDc09QxPGCHsgDpkz1WWbxBfwUsMQ8atfFx zkNrghBXYi+PhxnOlGBpZrtP4QmaSMINoK2IRmtb6ayD9mC3IA77+NhZ+osQDeGq1PQf ug0HGCp8RL/w+v+EPD3QlfgYTEt54dtPPkRRKPnUuT6/0Z6ETbRFQvIog7avtjXhG6nL EHmA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kpkz7zYt; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-126376-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-126376-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id i7-20020a17090ad34700b002a20de06221si6759126pjx.154.2024.03.31.14.11.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 31 Mar 2024 14:11:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-126376-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kpkz7zYt; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-126376-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-126376-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 15FF5B20A8D for ; Sun, 31 Mar 2024 21:11:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 59E78148FE8; Sun, 31 Mar 2024 21:10:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="kpkz7zYt" Received: from mail-lf1-f50.google.com (mail-lf1-f50.google.com [209.85.167.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4643E148823 for ; Sun, 31 Mar 2024 21:10:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711919449; cv=none; b=o412OthLbCORpW5IGnTwhGKbW/GKY0ueNT7ZI00b7KmMRpfVz43G6jSasJKOcbpIuHafAM8TP9NV3OUKB2mrBTep+3KfVFFxVE77UHUAkd/OkP2fo+/OwVPX+ROPzQvSR5zn3ExHTcM5BqEpPgEH6IsLCfgQeCJCU9nJ3reqyso= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711919449; c=relaxed/simple; bh=dcd535qx8Msn/2joEysg6oy8R8v/M5uKoR2/EcmwORs=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=IQd/kWSERNZZbOnEumnlqmXKOQcRJQF5pZJe30ecd+lBvbyTyyGWc1QgF7X5SRsy1eDT6BkPb65Kdr9mQhde3bQY7nXSOwQhbMBKpjMqjFIRaOFfjKLusUMO2IwNp88OdQQKFKS3K0ibtMMQLkwRsdMBX3w58jRPQAnFW7GHNNc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=kpkz7zYt; arc=none smtp.client-ip=209.85.167.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-lf1-f50.google.com with SMTP id 2adb3069b0e04-51381021af1so4484041e87.0 for ; Sun, 31 Mar 2024 14:10:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711919445; x=1712524245; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=tv40XznBi1vAVfYC8yDgaimDwP+pONYwDVmAMHNv9eo=; b=kpkz7zYtjDFDkH0gtwG16IIjfMOSkbx2FH1GyShJfd8jWCaPqpX99WxRKoszBS9AII Heebvuzz6QbUYN2TOwZdhAhmb2HCQWQWtA9cmA9QzHVNPgqeF91+bJ1c6KdEdcPFG6RO GZBfHDj3VYxMYd8NY1Vo7nm8kozjkHvOafNCjP45Vz9RtLOmkk+8g1cmqWLbEiaTqwH2 6Ae0irQGSFrswmd53GBGVN2OsTPXou3/sJaTUPzEhAKrT3WRN6CMP8Ijhb8I/h2okWAY ebEoN6CLDNp/EjNoiz5CMx9gUves68AtmvoQz/zIFi9+a0NBVHG7EuXpupx0FcZFw9g5 Te7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711919445; x=1712524245; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=tv40XznBi1vAVfYC8yDgaimDwP+pONYwDVmAMHNv9eo=; b=ogXA3rkxpto0G01Wq9xgehiB/5igHKNoiYQiTSn15n/DO+PDeI8dxHgSC+B0HeoztR vbYBiE4Rcca0i1Cfw+WkL2RXC+ODttECLHffTTfacwyNyDW2P1cGPWC7EII4flXOexIt S2mH/C/KeDz9WPHyVUVqLWksG7vX+53jlh/zRbvG0CqDM3yoXVkpbGPfzYBOXgm25akT VhCNLoxQ8zc8VBIMKIx4XwR7OB8EX1V6+qpP+4Qse45F3z9D1F8aCP37K8CUiznFjwpi jJjmNod58SDsh6bIIFmsbx+o3ETgOTiwTVQC48p79BFn4/cOFQ4kqXf2GcCftcZAF2SM wO2A== X-Forwarded-Encrypted: i=1; AJvYcCVDoxy40odCwMkJRU6dSxbGjEtdOgMCSa9aea3lxRE33vvfS42Slp/B2CAqda6GS0aC2yUaFSLDJLZ76ns/0pU9788kyAbI+5k/23r/ X-Gm-Message-State: AOJu0Yzl/DuysBGiCq8WLGoqykLSfH5OfdoasaUAUJMeDRlo7eiOpUg1 c6UFBLG4v8arNFHCQTO9y1v0seqv8H9TKKClqP7unUuNbEeRi9MfJFYE0PY3HFQ= X-Received: by 2002:ac2:4579:0:b0:515:a665:94ba with SMTP id k25-20020ac24579000000b00515a66594bamr6365939lfm.19.1711919445254; Sun, 31 Mar 2024 14:10:45 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id i1-20020a0565123e0100b00515cd1d5c99sm1033553lfv.85.2024.03.31.14.10.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 31 Mar 2024 14:10:44 -0700 (PDT) From: Dmitry Baryshkov Date: Mon, 01 Apr 2024 00:10:44 +0300 Subject: [PATCH 3/3] arm64: dts: msm8996: add fastrpc nodes Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240401-msm8996-remoteproc-v1-3-f02ab47fc728@linaro.org> References: <20240401-msm8996-remoteproc-v1-0-f02ab47fc728@linaro.org> In-Reply-To: <20240401-msm8996-remoteproc-v1-0-f02ab47fc728@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Mathieu Poirier , Sibi Sankar Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, Srinivas Kandagatla X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1962; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=R83XHWqBdDfp1V5QidoEvj366WRCJE4TWSgKYBFj4mM=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBmCdFSEpANkDeJuHAzZi0bHTkDFQFhz6m7XPlqp MbDtLV7cG2JATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZgnRUgAKCRCLPIo+Aiko 1UMhB/wNkIWNf90ULFC2acFs7yEMVOGV9Svch/GGuBeq7iQ0n1d7babLHSycAhEHoa9Tk8vIRtE 2Jj02nsc2UsLQF4tkHFyn889T6jmJeWQ2QUCPBlxLYT4ApkOVE2Kr6a2enFNVEl90s29PghkDpZ NuMTZv0RZk2WCMfueAxfBrsNC+R7uYjx7vx2DvE/4qh5dJjrUuVImvE/wR0blLbJHZyoHaOITpo ol4Hz1CxKQxQKpBer3KS77gwkT4U5cRPugmxSrPyNsUmgc1VxuVr/HQqGzvodXNBNlUepntLcut ae0TqG9K9c5NFIdpclWru0xHcEEqz9nXBNZYS3CvvZ6yx4B+ X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A From: Srinivas Kandagatla The ADSP provides fastrpc/compute capabilities. Enable support for the fastrpc on this DSP. Signed-off-by: Srinivas Kandagatla Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 57 +++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 7ae499fa7d91..cf7ab01f3af6 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -3545,6 +3545,63 @@ q6routing: routing { }; }; }; + + fastrpc { + compatible = "qcom,fastrpc"; + qcom,smd-channels = "fastrpcsmd-apps-dsp"; + label = "adsp"; + qcom,non-secure-domain; + #address-cells = <1>; + #size-cells = <0>; + + cb@8 { + compatible = "qcom,fastrpc-compute-cb"; + reg = <8>; + iommus = <&lpass_q6_smmu 8>; + }; + + cb@9 { + compatible = "qcom,fastrpc-compute-cb"; + reg = <9>; + iommus = <&lpass_q6_smmu 9>; + }; + + cb@10 { + compatible = "qcom,fastrpc-compute-cb"; + reg = <10>; + iommus = <&lpass_q6_smmu 10>; + }; + + cb@11 { + compatible = "qcom,fastrpc-compute-cb"; + reg = <11>; + iommus = <&lpass_q6_smmu 11>; + }; + + cb@12 { + compatible = "qcom,fastrpc-compute-cb"; + reg = <12>; + iommus = <&lpass_q6_smmu 12>; + }; + + cb@5 { + compatible = "qcom,fastrpc-compute-cb"; + reg = <5>; + iommus = <&lpass_q6_smmu 5>; + }; + + cb@6 { + compatible = "qcom,fastrpc-compute-cb"; + reg = <6>; + iommus = <&lpass_q6_smmu 6>; + }; + + cb@7 { + compatible = "qcom,fastrpc-compute-cb"; + reg = <7>; + iommus = <&lpass_q6_smmu 7>; + }; + }; }; }; -- 2.39.2