From patchwork Wed Nov 16 10:23:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 625211 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0D9A1C433FE for ; Wed, 16 Nov 2022 10:26:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237647AbiKPK0M (ORCPT ); Wed, 16 Nov 2022 05:26:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60718 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233819AbiKPKZn (ORCPT ); Wed, 16 Nov 2022 05:25:43 -0500 Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0A2D6F2D for ; Wed, 16 Nov 2022 02:23:29 -0800 (PST) Received: by mail-wr1-x42b.google.com with SMTP id v1so29098140wrt.11 for ; Wed, 16 Nov 2022 02:23:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=cvE5SovEDJCGF/rawmWEv+LBNoAcghIphpP6V/P6V0A=; b=fltpn0kAZk73fsa6sh+pSvQk1/yfT+g4cRlZgJncX7GlU7W1j178/oQzUHZjST8sC2 YC3Bya1IBgqvQ7frC5sYX3gKFxyb291EssE6REMN9KGKaHsM0+rp8V1m3ndZS0+UVZ8a LJ5aDTtuBLJt8SNDCCbiNgpgAzP08yWrUL3Qtm7ecFyi/IP9cE+Ap2cnsEW/jL0eU0fw aZJhbZk2Fry6VpXaWCge6fS6J9TAGUR5mSbiGBcHiq8HPda76b/RRztBctyA/wFiTKWp NyQ7RxX9RiHMj6hDa8werbvZxNDBzZNKgnjUhfSSk7wF3bqbFCh2oKJ3AWMe/858m42b bYXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=cvE5SovEDJCGF/rawmWEv+LBNoAcghIphpP6V/P6V0A=; b=sHwRy5E5MAhVLZCLFC38XD1HAzzBLT2hDWDFctTQGCrQm5tqYhE5gFCRspKCR4TX32 LRS9Y5NvUbLO84Lax09lsm2aGBdqEwcGtn0cCFEndjWuW72ppXwolAzKjCgURCVaN0rS eBxR60E2/HDDMZQPl32DoViIJojr7FUu+EYWjLCMQZGPK/eK58hxwITD4iQzAgPtWubW 24ih2PrkcrHs+Nwzz+n+M7KKh25gsDGXWCCns0pqc2JXTeMRUpaEIRJHpJ1WsrnS1jMO lFMni6ECp0i943o6U4H98DEBEYBD8i9YwUWnZFEO7TfUcSnBQ5A2tEz8Y3LTGZ3CXsUe mYrw== X-Gm-Message-State: ANoB5pkA8n+e8qsd3Naq1EcdTDuL34LC0L/Dl8SwMegN8KqBsPTHJ2dL fIHzIN3Ty4e6FcsigOGbcqc2SQ== X-Google-Smtp-Source: AA0mqf5v4bQjBjkLpiFWrtD7U4f1kmffpiBLeWwKJC8c5qO7nx54jMdrGd+eCWZfA45L4eymlZiL0A== X-Received: by 2002:a5d:514b:0:b0:236:7921:e10e with SMTP id u11-20020a5d514b000000b002367921e10emr13159994wrt.61.1668594190881; Wed, 16 Nov 2022 02:23:10 -0800 (PST) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:8261:5fff:fe11:bdda]) by smtp.gmail.com with ESMTPSA id i9-20020adfefc9000000b00228dbf15072sm14927047wrp.62.2022.11.16.02.23.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Nov 2022 02:23:10 -0800 (PST) From: Neil Armstrong Date: Wed, 16 Nov 2022 11:23:08 +0100 Subject: [PATCH 1/4] dt-bindings: dma: qcom,bam-dma: Add 'interconnects' and 'interconnect-names' MIME-Version: 1.0 Message-Id: <20221114-narmstrong-sm8550-upstream-qce-v1-1-31b489d5690a@linaro.org> References: <20221114-narmstrong-sm8550-upstream-qce-v1-0-31b489d5690a@linaro.org> In-Reply-To: <20221114-narmstrong-sm8550-upstream-qce-v1-0-31b489d5690a@linaro.org> To: Vinod Koul , Andy Gross , "David S. Miller" , Bjorn Andersson , Thara Gopinath , Rob Herring , Krzysztof Kozlowski , Herbert Xu , Bhupesh Sharma , Konrad Dybcio Cc: linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, dmaengine@vger.kernel.org, Neil Armstrong , Abel Vesa , linux-arm-msm@vger.kernel.org X-Mailer: b4 0.10.1 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Abel Vesa Add 'interconnects' and 'interconnect-names' as optional properties to the device-tree binding documentation for BAM DMA IP. These properties describe the interconnect path between BAM and main memory and the interconnect type respectively. Signed-off-by: Abel Vesa Signed-off-by: Neil Armstrong --- Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml b/Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml index 003098caf709..ce8bbb2de4c5 100644 --- a/Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml +++ b/Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml @@ -36,6 +36,14 @@ properties: interrupts: maxItems: 1 + interconnects: + maxItems: 1 + description: + Interconnect path between bam and main memory. + + interconnect-names: + const: memory + iommus: minItems: 1 maxItems: 4 From patchwork Wed Nov 16 10:20:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 625218 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D6582C4167B for ; Wed, 16 Nov 2022 10:20:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233272AbiKPKUO (ORCPT ); Wed, 16 Nov 2022 05:20:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55994 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233421AbiKPKUK (ORCPT ); Wed, 16 Nov 2022 05:20:10 -0500 Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 67809220EF for ; Wed, 16 Nov 2022 02:20:09 -0800 (PST) Received: by mail-wr1-x436.google.com with SMTP id d9so24399964wrm.13 for ; Wed, 16 Nov 2022 02:20:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=pcm4FzP5Zqll4vx+qLC4Zs+d3QrWbatabIiC6u6r60g=; b=kxws/zHmdiQFoJ0eF54UCY9nbuWQ9mbC4IGNSA5IcisVZ6M5MY0eJjRgoKDOYUZGym iIzr9SUaDi695Pbvz8Xy1rfbUY1tVLVTefUErWMIspw50cwFD4WhuhFcsaARZcEcI2Xd 98iyUzINb+keCA5Tbb/0AIL55TNLylh/2WX9HlzpXZ9vZaQZnnfMSoGHHIVzRQw+hdU4 Su5B1NdY+FtUfKFRqZ5VhPNPd+o1roQm5b5kIwarQ6/CwDbDp8iOUuwF8VW+F+SWWxso yUKgjQVt9IDuI0qW2Akh36oX87ER3t2Yv+wy6WD/C1y4+Mjmh4hJ0tvCV/DfHI04Mqcz am+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=pcm4FzP5Zqll4vx+qLC4Zs+d3QrWbatabIiC6u6r60g=; b=oPm1/y+T5AsVcDn8UJUYCvx+hKQ9aVmu1SaNQ16iYG5xb5RgycplICuLOe0CQdm6Hm jtQE/I8urVvKSNx2WwDyBo3xWxI1X/4/PlzGynVNb1LBnbvO2uEeBifOnnrax9zPCwmF ruC9fi3rwwv1u/pJminxAiK8kn5VADx6zctTkynYu2BCxcsVZriF67759uYTFi646L3M GjJN1N/5yNC2kGRhwY0X3KGKNMeHb0lyJys654qnzqX7wQtr10UiicIC224qu7pKUWrM cV5M5QBjJle+w1h2xzOAWq5+HgkI6HKEvR7Q1gda59N/S7FNI1nvI0GHjPqTI9tty4FJ g4Hw== X-Gm-Message-State: ANoB5pkmXcBC6vSJihOtN0P8EQJja1z23VIWcuDmQ3bITgSsFswYKEKx XLu5AtzpOB90ilvi8hpDup37Lg== X-Google-Smtp-Source: AA0mqf7OyflAEmqc6dCA8VV2BTVg5hL8XYlI7G/+OCSqOxDy+T3BLdadJXZXgwOKDU/Y47R45OBB4A== X-Received: by 2002:adf:fbcd:0:b0:22e:304b:cf66 with SMTP id d13-20020adffbcd000000b0022e304bcf66mr13304375wrs.308.1668594007976; Wed, 16 Nov 2022 02:20:07 -0800 (PST) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:52eb:f6ff:feb3:451a]) by smtp.gmail.com with ESMTPSA id l18-20020a05600c4f1200b003c6f3f6675bsm1709900wmq.26.2022.11.16.02.20.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Nov 2022 02:20:07 -0800 (PST) From: Neil Armstrong Date: Wed, 16 Nov 2022 11:20:05 +0100 Subject: [PATCH 2/4] dt-bindings: misc: qcom, fastrpc: increase allowed iommus entries MIME-Version: 1.0 Message-Id: <20221114-narmstrong-sm8550-upstream-remoteproc-v1-2-104c34cb3b91@linaro.org> References: <20221114-narmstrong-sm8550-upstream-remoteproc-v1-0-104c34cb3b91@linaro.org> In-Reply-To: <20221114-narmstrong-sm8550-upstream-remoteproc-v1-0-104c34cb3b91@linaro.org> To: Krzysztof Kozlowski , Bjorn Andersson , Konrad Dybcio , Andy Gross , Manivannan Sadhasivam , Amol Maheshwari , Srinivas Kandagatla , Rob Herring , Mathieu Poirier Cc: devicetree@vger.kernel.org, Abel Vesa , linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, Neil Armstrong X-Mailer: b4 0.10.1 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Abel Vesa The fastrpc components on the SM8550 SoC can require up to 3 IOMMU entries, this bumps the maxItems to 3 for this purpose. Signed-off-by: Abel Vesa Signed-off-by: Neil Armstrong --- Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml b/Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml index d7576f8ac94b..1ab9588cdd89 100644 --- a/Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml +++ b/Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml @@ -79,7 +79,7 @@ patternProperties: iommus: minItems: 1 - maxItems: 2 + maxItems: 3 qcom,nsessions: $ref: /schemas/types.yaml#/definitions/uint32 From patchwork Wed Nov 16 10:23:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 625210 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 26986C433FE for ; Wed, 16 Nov 2022 10:27:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233683AbiKPK04 (ORCPT ); Wed, 16 Nov 2022 05:26:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33298 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233100AbiKPK0A (ORCPT ); Wed, 16 Nov 2022 05:26:00 -0500 Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 030395589 for ; Wed, 16 Nov 2022 02:23:35 -0800 (PST) Received: by mail-wr1-x42e.google.com with SMTP id z14so28969432wrn.7 for ; Wed, 16 Nov 2022 02:23:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=abB2Tf530H//bUhqVyc/iAo07/dh8OakivCuKDN/7YM=; b=TCTylYO7TwCOJevFShDQWN3S8vJ4vVKPYy3ZkbYDV3nLG51A0Fj6i7O56liH3PbYsX 6vaYGc9yPjMY2bspqLy9MGpLXGQvI4uBC1XgcTAoqRKhdD7TTsQm684uh3Yq3IkbCohx binjMcNPZit36b53EJf6+0wuHo1G3lpP1i2/X9m+zpdSU3whSKc7tRL2PkWmby3qg8t+ 6maV8hLoitZmMpKn+AkMcVz3lxafA/EuW31toat4A/Ut7WHRibRLj06dOVGd+iBZhJqP mYasNuybF8zFYduoiOdh4bE9d6M8h/95goWFR5DeS7NaUJ5if1kZ0vspjrgBeTvPfOFw LKwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=abB2Tf530H//bUhqVyc/iAo07/dh8OakivCuKDN/7YM=; b=iiOMOeeTRJRmL/5FMz9l+eJc7g/4Z41oPWscHxR/e1MVPqpEjtrhTxSolPcIqHPjcw zP//Hm85WSiDZCudRN29D+Z4jRVnjYLbmegjZ2noDJa9o8S8pM7dlCw5xRefddpKtSF3 +mXWA8gSMykWbwlis6HkOkNijiihpf8/J2wpitc7BMVDXQTEYreFun4ifDQYJF3E+l8g eNIE/3jKQuTPIMMKyiV95yV5rlYweayHUkt7kjOthq0f63u061QsJM6aByecaR6Fx5P0 MpD4k369i6zKC7KgPyt1V2Ejcv+fjyZUsFGz/9wh+ZyGUuw+R1k5Px+h85Eo1fkZg3mJ 2Cpg== X-Gm-Message-State: ANoB5pnxsJMdcev2M9o1Rw6U9fIGUwwgF+Mmdzd+qF5rstZbqmvjHwPg t+uUU9R9BtYdBx9FxTI7J3c1TA== X-Google-Smtp-Source: AA0mqf7O4xuJgmNks4wBYBU8i02T4+NNp3T0jvYeUDpMRUp6IljLUlrwFMFjC2zgkSuvQ0zsqprbBA== X-Received: by 2002:a5d:4346:0:b0:22e:2e3b:7ecf with SMTP id u6-20020a5d4346000000b0022e2e3b7ecfmr13322295wrr.304.1668594192958; Wed, 16 Nov 2022 02:23:12 -0800 (PST) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:8261:5fff:fe11:bdda]) by smtp.gmail.com with ESMTPSA id i9-20020adfefc9000000b00228dbf15072sm14927047wrp.62.2022.11.16.02.23.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Nov 2022 02:23:12 -0800 (PST) From: Neil Armstrong Date: Wed, 16 Nov 2022 11:23:10 +0100 Subject: [PATCH 3/4] dt-bindings: qcom-qce: document sm8550 compatible MIME-Version: 1.0 Message-Id: <20221114-narmstrong-sm8550-upstream-qce-v1-3-31b489d5690a@linaro.org> References: <20221114-narmstrong-sm8550-upstream-qce-v1-0-31b489d5690a@linaro.org> In-Reply-To: <20221114-narmstrong-sm8550-upstream-qce-v1-0-31b489d5690a@linaro.org> To: Vinod Koul , Andy Gross , "David S. Miller" , Bjorn Andersson , Thara Gopinath , Rob Herring , Krzysztof Kozlowski , Herbert Xu , Bhupesh Sharma , Konrad Dybcio Cc: linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, dmaengine@vger.kernel.org, Neil Armstrong , Abel Vesa , linux-arm-msm@vger.kernel.org X-Mailer: b4 0.10.1 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org This documents the compatible used for QCE on SM8550. Signed-off-by: Neil Armstrong --- Documentation/devicetree/bindings/crypto/qcom-qce.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/crypto/qcom-qce.yaml b/Documentation/devicetree/bindings/crypto/qcom-qce.yaml index f25089bf9a2b..544ff67202a1 100644 --- a/Documentation/devicetree/bindings/crypto/qcom-qce.yaml +++ b/Documentation/devicetree/bindings/crypto/qcom-qce.yaml @@ -24,6 +24,7 @@ properties: - qcom,sm8150-qce - qcom,sm8250-qce - qcom,sm8350-qce + - qcom,sm8550-qce reg: maxItems: 1 From patchwork Wed Nov 16 10:20:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 625217 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EA215C4167D for ; Wed, 16 Nov 2022 10:20:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237640AbiKPKUi (ORCPT ); Wed, 16 Nov 2022 05:20:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56706 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236080AbiKPKUe (ORCPT ); Wed, 16 Nov 2022 05:20:34 -0500 Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 911BA21829 for ; Wed, 16 Nov 2022 02:20:11 -0800 (PST) Received: by mail-wm1-x335.google.com with SMTP id m7-20020a05600c090700b003cf8a105d9eso1100938wmp.5 for ; Wed, 16 Nov 2022 02:20:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=ibv+5YEHVAYxDSspsvnfANXTqnasTlWYJgau3UGpbZg=; b=oqwKO0I4oUXU/WX3HEjhUkL3jbBmIiKg/61u7OXDVcOxweWRas/AE/BwkSrn/jpxdg UI5PEwwWlHkBh6grH+IYllAJBT51uRmLx68VUqiKXVjezJEfvOf/EZbzmKPxgIDnRiRs 4ZJQSBLkDX3p5VjaDbR1HM9eT/jAgRQSt8Tg5rJvTFNDRcCAdKjMkGzoSQNjdBrkPHs7 8UB24gSxoLXdgy/StL/IWW8R43CeOe61zvZy0hC06POFhZjYhKkKZBGUYJTdt+EuXEn5 yXoGZWRKL7bed5AbgsnSGCQ36nf6WBV72EcnlIFyiU3u3rGrc3+n7asKEtQwWik6IxeU uARA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=ibv+5YEHVAYxDSspsvnfANXTqnasTlWYJgau3UGpbZg=; b=5YKshQzzSd6cFSxPQuldyFosFzIevlr9cKj7NK6hz6jGx4CqLbDM8aDZm8Mhvhv4Zy HNQu2BJ1MQVGJmKJzqa5zjWbESWCkn9isagHJyl3l1QLvWF71J8OHGlHhEZoUCQ8CIjg QEk4fj0nlAFG//Zbw0Mej0O4ltnp/CzI6c5IiswVQSq3o2PqmzOcjBgHPZvA1d74HER9 pgDPG+q77ahfqQGthif1nTRyIsaTYePPAfhXgk4cb6sw/1G5yosvxIN3fMrS9GKAwBxx DKYO/16Ke+wB2fC2qO1jR/fbacdcclu7GxACAqviNHyGNsznFXlaj4eOZ6GmDJEymfjj /VTQ== X-Gm-Message-State: ANoB5pkhTQNf73193HBiC5L7VXOpZWs3I7kI7VmX//W3Xo4DnhRnTKpK odyot1Tv46aHbbe3naFILqivxg== X-Google-Smtp-Source: AA0mqf6fM7ZsDPtfpP7ah663PmKAcCanlgICfSh207kSCgxvqhSn88+AGeuSSxUDdN2XSjFioPrWRw== X-Received: by 2002:a7b:c04d:0:b0:3cf:a8a5:63ab with SMTP id u13-20020a7bc04d000000b003cfa8a563abmr1608489wmc.101.1668594010071; Wed, 16 Nov 2022 02:20:10 -0800 (PST) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:52eb:f6ff:feb3:451a]) by smtp.gmail.com with ESMTPSA id l18-20020a05600c4f1200b003c6f3f6675bsm1709900wmq.26.2022.11.16.02.20.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Nov 2022 02:20:09 -0800 (PST) From: Neil Armstrong Date: Wed, 16 Nov 2022 11:20:07 +0100 Subject: [PATCH 4/4] remoteproc: qcom_q6v5_pas: add sm8550 adsp, cdsp & mpss compatible & data MIME-Version: 1.0 Message-Id: <20221114-narmstrong-sm8550-upstream-remoteproc-v1-4-104c34cb3b91@linaro.org> References: <20221114-narmstrong-sm8550-upstream-remoteproc-v1-0-104c34cb3b91@linaro.org> In-Reply-To: <20221114-narmstrong-sm8550-upstream-remoteproc-v1-0-104c34cb3b91@linaro.org> To: Krzysztof Kozlowski , Bjorn Andersson , Konrad Dybcio , Andy Gross , Manivannan Sadhasivam , Amol Maheshwari , Srinivas Kandagatla , Rob Herring , Mathieu Poirier Cc: devicetree@vger.kernel.org, Abel Vesa , linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, Neil Armstrong X-Mailer: b4 0.10.1 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org This adds the compatible & data for the aDSP, cDSP and MPSS found in the SM8550 SoC. This platform requires the "Devicetree" firmware to be loaded along the main firmware. Signed-off-by: Neil Armstrong --- drivers/remoteproc/qcom_q6v5_pas.c | 65 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) diff --git a/drivers/remoteproc/qcom_q6v5_pas.c b/drivers/remoteproc/qcom_q6v5_pas.c index e79a5fcbc986..15e740815da0 100644 --- a/drivers/remoteproc/qcom_q6v5_pas.c +++ b/drivers/remoteproc/qcom_q6v5_pas.c @@ -1054,6 +1054,68 @@ static const struct adsp_data sm8450_mpss_resource = { .ssctl_id = 0x12, }; +static const struct adsp_data sm8550_adsp_resource = { + .crash_reason_smem = 423, + .firmware_name = "adsp.mdt", + .dtb_firmware_name = "adsp_dtb.mdt", + .pas_id = 1, + .dtb_pas_id = 0x24, + .minidump_id = 5, + .has_aggre2_clk = false, + .auto_boot = false, + .proxy_pd_names = (char*[]){ + "lcx", + "lmx", + NULL + }, + .load_state = "adsp", + .ssr_name = "lpass", + .sysmon_name = "adsp", + .ssctl_id = 0x14, +}; + +static const struct adsp_data sm8550_cdsp_resource = { + .crash_reason_smem = 601, + .firmware_name = "cdsp.mdt", + .dtb_firmware_name = "cdsp_dtb.mdt", + .pas_id = 18, + .dtb_pas_id = 0x25, + .minidump_id = 7, + .has_aggre2_clk = false, + .auto_boot = false, + .proxy_pd_names = (char*[]){ + "cx", + "mxc", + "nsp", + NULL + }, + .load_state = "cdsp", + .ssr_name = "cdsp", + .sysmon_name = "cdsp", + .ssctl_id = 0x17, +}; + +static const struct adsp_data sm8550_mpss_resource = { + .crash_reason_smem = 421, + .firmware_name = "modem.mdt", + .dtb_firmware_name = "modem_dtb.mdt", + .pas_id = 4, + .dtb_pas_id = 0x26, + .minidump_id = 3, + .has_aggre2_clk = false, + .auto_boot = false, + .decrypt_shutdown = true, + .proxy_pd_names = (char*[]){ + "cx", + "mss", + NULL + }, + .load_state = "modem", + .ssr_name = "mpss", + .sysmon_name = "modem", + .ssctl_id = 0x12, +}; + static const struct of_device_id adsp_of_match[] = { { .compatible = "qcom,msm8226-adsp-pil", .data = &adsp_resource_init}, { .compatible = "qcom,msm8974-adsp-pil", .data = &adsp_resource_init}, @@ -1094,6 +1156,9 @@ static const struct of_device_id adsp_of_match[] = { { .compatible = "qcom,sm8450-cdsp-pas", .data = &sm8350_cdsp_resource}, { .compatible = "qcom,sm8450-slpi-pas", .data = &sm8350_slpi_resource}, { .compatible = "qcom,sm8450-mpss-pas", .data = &sm8450_mpss_resource}, + { .compatible = "qcom,sm8550-adsp-pas", .data = &sm8550_adsp_resource}, + { .compatible = "qcom,sm8550-cdsp-pas", .data = &sm8550_cdsp_resource}, + { .compatible = "qcom,sm8550-mpss-pas", .data = &sm8550_mpss_resource}, { }, }; MODULE_DEVICE_TABLE(of, adsp_of_match);