Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp1113226lqb; Wed, 17 Apr 2024 23:45:27 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWCmQ830lZcqvWV7+aJym4G6nbzQwZcO0qgJC/WKkyWIfpHxkCQrQq1X0XqfYHDjz2cUjnxoC3V65tvItDRFt2pgbIs5X9cZKEDGJtxKA== X-Google-Smtp-Source: AGHT+IGUiYLEaqeZrXTxqkqlveI/h6my4QulvxYORt1Bju04YALxBYryze9KF1VeV7kUr7u8dcKz X-Received: by 2002:a17:906:2c5b:b0:a55:38e2:75a3 with SMTP id f27-20020a1709062c5b00b00a5538e275a3mr923887ejh.16.1713422727008; Wed, 17 Apr 2024 23:45:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713422726; cv=pass; d=google.com; s=arc-20160816; b=0j+diqN5vpB+itro5yEQT3O9BpnQ5s7VikLMGhHAfYNE8C8UrfKcuOlyTeFv6gFF4p AwVGj+RebLUQwqvhKSoI8/1LBF3ue8XjFsXrSBv71seK75ecWo+HDq9XFhcQTKTlS525 ItaCP/fq7fe8MQ00CFbgL0zeaDFuFHkoIJ4vv7RmyxmWfOgZagv3ho9wG69coWOL3jb/ 452XDesAgVV+CkeMdOm9dib3O+M5XuKtrlZAK98bOIAPSH8nRhOo1r35n9pYpk0h8pCj AT+0I2h43HuRvxzAz6vPUzBoBtIfRoHng01N/D2YVEXodFGOUqw8Kacv6iZjBL9NiZWv TRYQ== 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=5OcNt0nkZqzPu7J6lCmROXjwjldW7YY4lOONULn+wtY=; fh=yPo5nnUfQUNfGPskRTG4t9+uZrswEUcA5kxRrWJAIgQ=; b=t18CAt1ReGIUV5QvzCkAa1LowB/Wvwmt8+F6jEcN2DrnYoTfzD/V9FhyYvqobG7a3M 84fpjhpd27lil4t7nZ5ppjPF50jxrjzri1KKA7NBu+86Au/tWxPTHeg+wVL1Auvb6aEJ PiGvP2q0uoyXshdmj2AiNjWU8MqDKHTejA+QFLqBd4QhHYRq6qmeeNTSMlwUWvfJzJtp E1XieWu3RrBSBkjSfq0ADqyGjPEuHKsxhMIw14ypZKNmanmz/JmkL/HtpB2Zn+gQmGfo dEnsxv5xqhlkci9t/R2fMgvUCz5n/SXdR1npS+sODKsS/DHNiRAoXx24K+mEsehkVXOg XfsQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=P0rqyeR+; 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-149607-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-149607-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id ay5-20020a170906d28500b00a5543e5ad38si485202ejb.613.2024.04.17.23.45.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Apr 2024 23:45:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-149607-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=P0rqyeR+; 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-149607-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-149607-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 94DD11F21DFC for ; Thu, 18 Apr 2024 06:45:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B3C137605D; Thu, 18 Apr 2024 06:44:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="P0rqyeR+" Received: from mail-lf1-f48.google.com (mail-lf1-f48.google.com [209.85.167.48]) (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 01B8D38DD9 for ; Thu, 18 Apr 2024 06:44:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713422671; cv=none; b=us+5QPYs4Kg6p4e/7Ch4deJPnmewFD/cxsO/l7Ar3Pf9aM8pgeqd837C7QH10fR692B72M/zODN2OuPDC3UCVcYBkTn8VQngLe7k5Ni6J8urxTPPLzZDZH0Dgvf15jQKbu8YZxGNACit/6wfnGc/9A7SjE5kRoBAPcHZNO1wDB8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713422671; c=relaxed/simple; bh=g9rM3ZF+8VtJg8dKONO4NS9lpO/x8djJ531mbN85ySA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=J9T/eRnocYol16Sf6DEjjnAyMtBDx2SMQES733KLoWAiADdhiEW+e7E7kRf2/7De9tgKdUJV889xGvKmrLKmj70R3+JZDa3D0Zzl+15AHa1QTy1ILsGGQKrbMshoM39rwNGJwKP0HzunCOa6xa63ZANtwvwRLg/GtVvgvYshLrU= 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=P0rqyeR+; arc=none smtp.client-ip=209.85.167.48 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-f48.google.com with SMTP id 2adb3069b0e04-5194a2cf7c2so456434e87.0 for ; Wed, 17 Apr 2024 23:44:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713422667; x=1714027467; 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=5OcNt0nkZqzPu7J6lCmROXjwjldW7YY4lOONULn+wtY=; b=P0rqyeR+cgpWKkTiwTV50f5bu91D5GyuVZjt/Ls7MAJwjLAVyz6gnBqdPOOkJMJGDs FUE/XqsfjYKsbzPMxu+RszwBybXcHQsSVZ7FNbn2jSUh7tAxxKsZAJOaHWpMYQUaQixo Hejlvft+oJoT/vJnyVZuK8Kr15/aUIcYJ7nUQhqREVEwpME3GKpbS8hoNDITokCyfm1B 6WOQTpnnzLB7wV2l6idkhxDn/WX2G5+foaM9usRiKPnwEMiBt0nX276aexQ8s613nTVQ tI+o7KM+6+wldoyEYRJOeJ4sNRQHpZwX4VRmze5XE/VNSNvXvLVIYIan9X037gUj/lcX D+fg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713422667; x=1714027467; 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=5OcNt0nkZqzPu7J6lCmROXjwjldW7YY4lOONULn+wtY=; b=nzu8Am/pKWmH3YRh+pyB0aY0ut+81TcSMFkRI3Uu/TSpKNzv6bVpqT1oFfyaTg6wDN pzD0tcfNFEEAMazHy3HefvZHNs+GH53c/nGlOxqDc0IujjPuTp8x188iWKACu9GvF4vJ FDlUsheuwNW0UH4JxA7aJXgfMEVokDGH/nRFmBA79Zcvc3xYBxupjuaPd6EECmQg0dze 2Tn2K/y6mQn1XsOXiQCeE+4zNKLiknwVlabrOFDVYHSv4u9Vzg0CeO32IEjjSzWpxqXa hPps2syeV/+dXiKURcdhN1f9iuLQyiXYt6Pzs/VYYz3wjpxWP+YoVxAlXA+xIFdkJFTH lBcw== X-Forwarded-Encrypted: i=1; AJvYcCU+SQFOOu8HE0beH1J0pcylja5PIyfUsHaYLFq33Fq9WKh1MUvgN/Ql5pOir/d0BMI06n+6oMm7cal0YOBNqifpkikAGr3EUuh4CzUo X-Gm-Message-State: AOJu0Yy4iHmCibZ8HrKMqO45EnpFLE6v3NOznsU4sKGtrBpQuoJCA4cE HKzDGVGyYSu0C6Qj0Y47F8DWb2HfbPKatqTW3MzjJA/S8KlF9saByGRI+yKe87E= X-Received: by 2002:ac2:491d:0:b0:519:27e5:83b7 with SMTP id n29-20020ac2491d000000b0051927e583b7mr811254lfi.27.1713422666991; Wed, 17 Apr 2024 23:44:26 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id b9-20020a0565120b8900b0051898448680sm122122lfv.261.2024.04.17.23.44.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Apr 2024 23:44:26 -0700 (PDT) From: Dmitry Baryshkov Date: Thu, 18 Apr 2024 09:44:22 +0300 Subject: [PATCH v2 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: <20240418-msm8996-remoteproc-v2-3-b9ae852bf6bc@linaro.org> References: <20240418-msm8996-remoteproc-v2-0-b9ae852bf6bc@linaro.org> In-Reply-To: <20240418-msm8996-remoteproc-v2-0-b9ae852bf6bc@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, Dmitry Baryshkov , 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=MEtHWaQG/4hA5mXZ79sLhC/nj3oaNW43ubhJtRJT56g=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBmIMFI1MFTDPk/FQHJ9i5zXl6jZ6eVcWoMsApuC QnbdWy7+7iJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZiDBSAAKCRCLPIo+Aiko 1ea8CACpiIkjydc48EPErNkVYj7B5XMF678G8QDd02VTbSw2IuP7EpvGjwP2IZn65IJP5XfRBRP 2cnsXF8f5vQz5AAIk5XwtcYihYZlRFcxI2VMYxcfG3MtvjnKFg8askw30oyEyuBaQBMIIe8kkDc qUvE2wE9DpC9Hx8FZwdoEkWD82PhKT/xivxy3TzkmWR4ca/g6MigW0mvQNvo7Xc3e+fq8CR3XIL +py3wadGDMZyI/nhKDcjytJlswrs28F3cvTSP8NzH/1YK7fWdf5l83AZ07GLEAvANzJJzbqswcS U6gQaUMFYPcBBXrrcpbMe0z9f5IjDG4yWun6/18RjvY5qfZB 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..f9bbb191661b 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@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>; + }; + + 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>; + }; + }; }; }; -- 2.39.2