From patchwork Thu Apr 18 06:44:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13634218 Received: from mail-lj1-f175.google.com (mail-lj1-f175.google.com [209.85.208.175]) (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 6ADDD2CCC2 for ; Thu, 18 Apr 2024 06:44:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.175 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713422669; cv=none; b=tRDh04FKzQeMHzAwnsDK+cggDPFndlmFEpTgIFKiP8qiGEeiLix/4cY0t0MApxkueITB0fv5Eg63gsDZ2iTaLmOQ8F61VyXO47ylXEzTOJJ2cWkxxGhoJl6PwKGT6hY48ZPGFCvyWSM+NpH31svt8P4We7T7mdcNqwUd/UHGr70= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713422669; c=relaxed/simple; bh=r8vctPywC1RRJmAROhjpIk4v3tiP0vu7hQUd52hivdc=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=S/xxo4NqdYOG/UZECB8I5PWWWuhmcxO4cT0WUt6KSakeFFxIJLzXWtguyKEyIkkXXjOf6ymylbf/w59RXlEP4u7ohL3SYB+okF4Zh1C1HytSgKipTomzVGCrAgWOFSu/+J3AyUpYEESgurR/A7mffa8ozyk1a46aZuVUgpVwXPE= 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=Yn6qPEkC; arc=none smtp.client-ip=209.85.208.175 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Yn6qPEkC" Received: by mail-lj1-f175.google.com with SMTP id 38308e7fff4ca-2da888330b1so7975571fa.1 for ; Wed, 17 Apr 2024 23:44:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713422665; x=1714027465; 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=uPKZ8QFhMImI1wA5rRFXaLeujd6fvl8+1/Yti/zr/2U=; b=Yn6qPEkCL0n+JR/QKj/Fws+/qcHZTETVCJFvct7aHKUN/GREsrHX492sr5fFSK3pu4 vDllmCxMr5Esd/4PutnQMq+2bXnElYA5685Epq7fX2CZ/QGyUUcB3LdlyUFo3EXc1NWj wj3mQ7q8EUFnnIQN/u8hq7+XwKvnXKtXQLu+vNc62nfPVdVTuOQVlhDsrWNm7jwTciXm 4qOF0c0RysUfKCsrYpVtqxqlO1uipF8NzUOY30qu+9UO07+NytmmxJ7HOQJLCmUCgjqF vQbxCtIU3DFUPb7XB8lcvvA2GLTh9fnEjY6FUM3L/pFbIbt5jN4EClWpJjsu9AXzWHaM uGgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713422665; x=1714027465; 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=uPKZ8QFhMImI1wA5rRFXaLeujd6fvl8+1/Yti/zr/2U=; b=ec5u4rlhOPK8B0vdtrMR+cbA9VV7nZqqaoseLJbpQoiV/aRY0qodjnkWrL+daPV0r+ ka1k6v2AMpcDkZ65CoBCA0sA/o6DLCU4i9Yj0H+Kk4Lo0CUHBQYOxHYUXy/Yf6mmZoP6 MYry//yYhO46AJxG9P1U4vrw22gPjUhwDCTSFypuBwPKS9zjrzbhxmJHwHcPF9k/9QfK C+hwmXiTNQ9+7lVGbAWdutEEOm4TYj85jBW0mwH/8Jc7+6VdkiLkFB2Kiden8Io/zaPX FTyupre3tjpjIP6kuw0+oa5dTHfEkCqRN4fDeYcJPJ65740FN/kv/CnAH3Hrl+NvI9Df avAw== X-Forwarded-Encrypted: i=1; AJvYcCUPMf17+/W6rE31sNQ5imjz0r/an4eHgcRyqhHfxAOWGwKdfo2MK4WNkCDdmZuSDuu1Pv+2FU9KNsSzF35xGEormBnvCDNSJl5ugQepKPvGoA== X-Gm-Message-State: AOJu0Yx+mnJatzFYGQQ9dYLkE+fWb2EPiVRihEpsD7hpiwCsVbQY4u5N T4ze7cK6BZyUw2nLoA+4t2+6BxEd4GIfozafTz0+XzHo6RaYbaIcwrOXBZHOoBZR16OcwsZJZRG l X-Google-Smtp-Source: AGHT+IEnK8YkU1ecg1o+dm7jL6v0xr4B8aLJtBG+JY83K6r0i9OXopsiOKioEk5iCJu7L7rkckqELw== X-Received: by 2002:ac2:532c:0:b0:516:d47d:34b9 with SMTP id f12-20020ac2532c000000b00516d47d34b9mr735096lfh.22.1713422665597; Wed, 17 Apr 2024 23:44:25 -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.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Apr 2024 23:44:25 -0700 (PDT) From: Dmitry Baryshkov Date: Thu, 18 Apr 2024 09:44:20 +0300 Subject: [PATCH v2 1/3] dt-bindings: remoteproc: qcom,msm8996-mss-pil: allow glink-edge on msm8996 Precedence: bulk X-Mailing-List: linux-remoteproc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240418-msm8996-remoteproc-v2-1-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 X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=884; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=r8vctPywC1RRJmAROhjpIk4v3tiP0vu7hQUd52hivdc=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBmIMFHOeh8LlJA/puCaIkycWfl0p1SAytWtnOqf RH9qDDgaPmJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZiDBRwAKCRCLPIo+Aiko 1U1WB/46AaP97EKEBNJsFDTV8BfBF5yZ3TnTjKNlSIZ3aoRZUxV2CeXMKWgbpNnN2jZaslQq5cq pl9NGk6JlONs6wu1RWjbSJkXOSxw1l8xptZD89jWbgGD68wMWiDlURxusEKec+T9BnyQUM39URC w6uFNK+VR4SIOhkl57ojxqLxoQ3quCIAefjcabU8Y6iJ+5syG9KK5nFm0BXjyNDGBNU22e2BKWW e+3SSI3iON2I5ij1plb3eIE0kdk/eHEWQDCWZvWPwtPUNef+whAkDqUDFBbq1t80dJlGxXPFi+M gzp2c6Dj6rSg3EuwrVPcmB8DtgGrMQUGeKOxlL8mTCG6tnFQ X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A MSM8996 has limited glink support, allow glink-edge node on MSM8996 platform. Acked-by: Rob Herring Signed-off-by: Dmitry Baryshkov --- Documentation/devicetree/bindings/remoteproc/qcom,msm8996-mss-pil.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,msm8996-mss-pil.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,msm8996-mss-pil.yaml index 971734085d51..4d2055f283ac 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,msm8996-mss-pil.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,msm8996-mss-pil.yaml @@ -231,7 +231,6 @@ allOf: - const: snoc_axi - const: mnoc_axi - const: qdss - glink-edge: false required: - pll-supply - smd-edge From patchwork Thu Apr 18 06:44:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13634220 Received: from mail-lf1-f52.google.com (mail-lf1-f52.google.com [209.85.167.52]) (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 118BD2E403 for ; Thu, 18 Apr 2024 06:44:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713422670; cv=none; b=oe+/OLNNyLHCTE7NKWDSRYX0FKYYEw7btZE515ucYhrAKlI47o/XZtevx3I4JNSUUB9jN+UIZ6EGJJL9TXHE0xP/WhkzOC4N3AvZp8lzarulnFUHS5/2eYQErvnU0TArZkS38ILq1J0AqlxVaNujzgMIvg++H0FLr0tbUBQPA6Y= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713422670; c=relaxed/simple; bh=70pmiyDT7BQXXFJR+o3WuyoVAvuck37NZMstmDFqk+Q=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=FJ9kZCAWaowGYMjhavieNJGw4MeSLQ1jCxc3SBAslZIRVGZDgmTtlQzlmDDvGmi/Qrxyw2Xkcrqo1ghil08HbO9qCepLZvvLZ1Koy1yMIm/iVSioPgOmi3gkToYo8IyGqS48vjK3BT9rvKMV77/T3H3GQgQqFHDWtSiJPTtgy2M= 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=s1NcfIKl; arc=none smtp.client-ip=209.85.167.52 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="s1NcfIKl" Received: by mail-lf1-f52.google.com with SMTP id 2adb3069b0e04-519661ebd59so540819e87.1 for ; Wed, 17 Apr 2024 23:44:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713422666; x=1714027466; 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=VjXAvADX9JoZN7Qlhb8cp4sVDIR5f7n51dedJ+CYLug=; b=s1NcfIKlMU5iuRYd3hE1lDjynkvNUhUHDHEiyoCceZPPvZUg8/fPN5O0Rs/EXTDNMa 7ubHnHGgtmmXZoEGkbQXTs8vzHZtYnsd3aY/HG1QxxO6Hm1oWoMCsRXIz9RjviAyoexa aCi6uMoBhSpj3FPSJ+SHO1jBmXwXTqbeLc9W/ehgXGOAZogLLFz9p2BC1UD7z4bSTUO7 TiURa6EIM6ucT7aJTLp5Sua/gxDv6y4YK94OqrtLYgIgbxVRRw4YhSCSmjKTraydJh+z rUEZ0a0Bqo7CQ/gokjKVT2hfJo9Ue3rbufQBIaDKL1iZZSW+BBzWgKMGJtcLkB93Z4wS fzzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713422666; x=1714027466; 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=VjXAvADX9JoZN7Qlhb8cp4sVDIR5f7n51dedJ+CYLug=; b=ijikBQLijCN7zyws+tp8FRfwx2uTkfM33ZeW7lqqOoA1X4zR2CG1Bh0t+P0z8vkbNn CENYu2lfFQKBEaC0tYTeVfkrzC/yLH70w76oeCrwoKX0egMB6z00r6BHVRR4D9DAz+LQ IAB9uY9f1P0Hgc4B++hcFZylL6Km529pnYtdQpRKAAO03baO7M0GlWGRaGP9clV451Ly zlBHzLOXKg6rH8Sao5YFVxwcIV2OZsvTzTtiT5TrRRM521N49zaTPVOhbigxCDjFG+S+ xbfOOpc0SHoisdYgqjdbnn1siTgUL67b+bf0FSO6EbCbVLoBTMHrlsH9dI7TYfsv28Pg kKdA== X-Forwarded-Encrypted: i=1; AJvYcCUPZirvD+Ho9H/wcLrB6zhfoY6sLjwQ6k5E4XT9aIzNx7Ff5UHbDWASKNZV+MmknUs+A1jYQuUL33fy+VKJ+pgufG/A0NN7JBNRQAGHMqPC2w== X-Gm-Message-State: AOJu0Yw3VOMsR8hPCpuGNg4ClqU8AsAbNzKAVUWYqHSq0NJioYy5iil8 0SMbJ9sT+X+AndsF9arfBcCNhiInjRyoESI181sny8LQi7rdeHovRtpj5xkLXY0= X-Google-Smtp-Source: AGHT+IHpsFHaN9K3fNOfHySMF8H+EB0hRMiMnuU8ffnmLIJMj1OMq56Fw4KmeMVFVdoNqTMHKxrCHQ== X-Received: by 2002:a19:7716:0:b0:518:a315:26c8 with SMTP id s22-20020a197716000000b00518a31526c8mr324766lfc.11.1713422666337; 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.25 (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:21 +0300 Subject: [PATCH v2 2/3] arm64: dts: qcom: msm8996: add glink-edge nodes Precedence: bulk X-Mailing-List: linux-remoteproc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240418-msm8996-remoteproc-v2-2-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 X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1911; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=70pmiyDT7BQXXFJR+o3WuyoVAvuck37NZMstmDFqk+Q=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBmIMFIWv09H+1I7VKKUR/kqm1pmuT+GAUq0Ay1Q yd7pkjh4rOJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZiDBSAAKCRCLPIo+Aiko 1ZHkCACCa4m/C2IKHd3a/G+i9SuOx6ebGFdaXDqWLCrYUuBrsIvoGHFHcmOMlsjRy+Q6pIaUDLO XjoZR3+Kx1W/a2Y0KpN8KQkuPHy2GQ19zUB/xv/F0uj8tsAXFAXEX4VvIoBWDYXZviYj4XPK5CC 3XeQon6IQX8i/9qMnd7B2emXEWQ2aigGNrCAo++QZ+ZNkAD13ytGSwWinoQyNd8rLeAkufexb2v CUswFAlSJ2883SROQPgy23dZIjUMNsaQy8hSsUtZp1KLaNAPdixbN+ZsDXNTe5EoBoOLAJ5yq66 2J5SwTZPVjFo9byobDjhMUXRvToIdDjSmwBJNizakRgs80Hy X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A MSM8996 provides limited glink support, so add corresponding device tree nodes. For example the following interfaces are provided on db820c: modem: 2080000.remoteproc:glink-edge.LOOPBACK_CTL_MPSS.-1.-1 2080000.remoteproc:glink-edge.glink_ssr.-1.-1 2080000.remoteproc:glink-edge.rpmsg_chrdev.0.0 adsp: 9300000.remoteproc:glink-edge.LOOPBACK_CTL_LPASS.-1.-1 9300000.remoteproc:glink-edge.glink_ssr.-1.-1 9300000.remoteproc:glink-edge.rpmsg_chrdev.0.0 Reviewed-by: Konrad Dybcio Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 1601e46549e7..7ae499fa7d91 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -2453,6 +2453,13 @@ slpi_pil: remoteproc@1c00000 { status = "disabled"; + glink-edge { + interrupts = ; + label = "dsps"; + qcom,remote-pid = <3>; + mboxes = <&apcs_glb 27>; + }; + smd-edge { interrupts = ; @@ -2522,6 +2529,13 @@ metadata { memory-region = <&mdata_mem>; }; + glink-edge { + interrupts = ; + label = "modem"; + qcom,remote-pid = <1>; + mboxes = <&apcs_glb 15>; + }; + smd-edge { interrupts = ; @@ -3467,6 +3481,14 @@ adsp_pil: remoteproc@9300000 { status = "disabled"; + glink-edge { + interrupts = ; + label = "lpass"; + qcom,remote-pid = <2>; + mboxes = <&apcs_glb 9>; + }; + + smd-edge { interrupts = ; From patchwork Thu Apr 18 06:44:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13634219 Received: from mail-lf1-f54.google.com (mail-lf1-f54.google.com [209.85.167.54]) (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 0BDD62C86A for ; Thu, 18 Apr 2024 06:44:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713422670; cv=none; b=g1qpOAjsyWDXB7JFYf8kLerYHbVagQubCHysD6GOYjUlVWYgiT5Dcgtj6q1bRno1Y/xOzfy83D4zikx1W355zuh1RRKJR49BWe5CXZnI8u8JnwTYpOVDxW2TyJ0N5dPI4QXl6EVRD/vBCY9+1DKbmkEbavMl2GKt9AcSJagBRxU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713422670; c=relaxed/simple; bh=g9rM3ZF+8VtJg8dKONO4NS9lpO/x8djJ531mbN85ySA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=rpyadP12EjzUsPBfiSbil1Jv9YLyaR/GOqzRk2SWjKHscSIFILTiPAfen95lQEGuS3woX2o9QZE7vCfIO5x7QeJS3RN+pvnLpBXzt5IWNW5LjblKc7tiDNhxTtvxlGKyXBwEmrY3FZeVxsAJY3YiBIqedf5WV2IW5vCTPYD3wyk= 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.54 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="P0rqyeR+" Received: by mail-lf1-f54.google.com with SMTP id 2adb3069b0e04-516d2b9cd69so469367e87.2 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=VnwPWbg0QPnxaFp6ahF2K4pNLx+k2b3Zp3Q/a3yx/maNvzNLZtkWsgO2az7XKe1Drh hSf8AjoGYNvqUgBSwbZc7Szdb/78uTTKtEOSW/etKEB0uZ0p4FBFIBOzO6auRjAFkOBK ywvfaEaaUp25SDuqKtrSTxYKg6Cpl7BdhwWD/I6QTQ4td/yh+2+hpwiXHvn5JH5eYfbe a2CmEbO5vTysjhJkpepZw0LEEa/c22MwYBLeVi+RF/TRbPhbx8v6hro+1ndjcKJfW0+l LRP0MlWu22AV8NDZPSX9uDrvdBpNCqaruMy9JfPsXI+BhUxszxg5ek31+iFAzaq0X1/u Td4A== X-Forwarded-Encrypted: i=1; AJvYcCUOkP0V28qolQP+sQCd4p9gCDlb16bzcnEUUBD4GHP1ApEm38f9XkJQaQsiz5m0zj3KcmX8YZrs1vB8iiwntO+nHpX6Ll1E19/nBfUeVTCNkQ== X-Gm-Message-State: AOJu0YxrN1q7z4+VKJNI257oKghm6FtJYGibsIerbRnnqle8E0egQyvV /ryDSJO+/kYiNPtEP8tujNExltgCzon2MuiSGZ855b2IOi3LuNSUonIwfa2r6Ug= X-Google-Smtp-Source: AGHT+IG1Rtb5h1yYm2OYDh5lOwXnlBzUf0Gc6XVMdXdop/D1kJySdAcMgnw3i8ue+TVEw/vN8ZBNJw== 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-remoteproc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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 Reviewed-by: Konrad Dybcio --- 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>; + }; + }; }; };