From patchwork Wed Apr 5 07:28:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 670519 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 C388BC76188 for ; Wed, 5 Apr 2023 07:31:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237117AbjDEHbN (ORCPT ); Wed, 5 Apr 2023 03:31:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43810 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237007AbjDEHbD (ORCPT ); Wed, 5 Apr 2023 03:31:03 -0400 Received: from mail-pl1-x635.google.com (mail-pl1-x635.google.com [IPv6:2607:f8b0:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 738CB46B4 for ; Wed, 5 Apr 2023 00:31:00 -0700 (PDT) Received: by mail-pl1-x635.google.com with SMTP id iw3so33650084plb.6 for ; Wed, 05 Apr 2023 00:31:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680679860; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Wgd39WnlXQz4tbC4i1NLP3F+sroosdBDzPGDIcLrLlo=; b=c+K/1+I+HXNSCA+LfMD5CMiAizpy7/+k/uIoMuC0C64a0F9DISCIQMHQO5y0+xkGtQ 1uyEmMvwMQuEZvegvvGNiGVVC/AKHF7l7FoNmYmk1bWPbMFU4hSCkb9hkk5GfeCYESH8 QJijlyfA9be1obqzhMYszoL78c+/zxKEFbYvG/DlUEcFLD+bc4Dl8RA9nrzcAXvvsULs pyH6tyq/HiKR4IKXS2XhKjlUwNY3oclfps4Df3rM/l33od7rPMA5G22V8HimencOLYYz sM+vXe913MQpsbXK/J7yUfV0Qeq4xRv3Cb9I3AYZvDYycyMCW2mPKZeDAFUiaJLdHXFh tCkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680679860; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Wgd39WnlXQz4tbC4i1NLP3F+sroosdBDzPGDIcLrLlo=; b=2ZvrNxud2GgX7g8QdacNtrX0pw12mA73NADkedm2BORgazOYYFPwauenY0sq/0chNm IR6Y/qT5ZJ+n4YlhHUEdiuOXypiEWKRwVrcKFgLZ0zql3q49qxd8BwmUSTQgi0mTgLUY waJ+zpmg+uvF0RkaBGdZhbyWatMqsTMlaUmkJ4lHYKCDzO8PXHpIkQJTiiq1zyXbpCC4 i3VVRYcpxPfWU+TYUXlqaHqJ2k34czjWN7UL6sgv1E5RNnmnxc3jdWTFSckoLq4fzEtC LmCn3Dn0QANHAni0wrzBdxV3LZJdlitaG3QMGQrgDZi5QRDYVnZrLS3ZiW0ZLB7bL/dE 3hrA== X-Gm-Message-State: AAQBX9c8FIyZMEVzUs0QhYhVKX+bLCFWKay6OsfWv6DRhWk41tMfg9Wa YsPeQg8PFbZ9+GKpGhxgm5NK4A== X-Google-Smtp-Source: AKy350ZeQM8mCNtvwzU2cxCF1iY0OeNfPnYG4fOJ1QjHI8BKr3pmLDSpqHbdIHkojl358gPdvXgdLQ== X-Received: by 2002:a05:6a20:4fa7:b0:da:bace:b06a with SMTP id gh39-20020a056a204fa700b000dabaceb06amr4335745pzb.50.1680679859776; Wed, 05 Apr 2023 00:30:59 -0700 (PDT) Received: from localhost.localdomain ([223.233.67.41]) by smtp.gmail.com with ESMTPSA id l7-20020a635b47000000b004facdf070d6sm8781507pgm.39.2023.04.05.00.30.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Apr 2023 00:30:59 -0700 (PDT) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Cc: agross@kernel.org, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, andersson@kernel.org, bhupesh.sharma@linaro.org, bhupesh.linux@gmail.com, krzysztof.kozlowski@linaro.org, robh+dt@kernel.org, konrad.dybcio@linaro.org, vladimir.zapolskiy@linaro.org, rfoss@kernel.org, neil.armstrong@linaro.org, djakov@kernel.org Subject: [PATCH v6 02/11] dt-bindings: dma: Increase iommu maxItems for BAM DMA Date: Wed, 5 Apr 2023 12:58:27 +0530 Message-Id: <20230405072836.1690248-3-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230405072836.1690248-1-bhupesh.sharma@linaro.org> References: <20230405072836.1690248-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Since SM8450 BAM DMA engine supports five iommu entries, increase the maxItems in the iommu property section, without which 'dtbs_check' reports the following error: arch/arm64/boot/dts/qcom/sm8450-sony-xperia-nagara-pdx224.dtb: dma-controller@1dc4000: iommus: is too long Acked-by: Krzysztof Kozlowski Signed-off-by: Bhupesh Sharma --- Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml b/Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml index c663b6102f50..5636d38f712a 100644 --- a/Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml +++ b/Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml @@ -44,7 +44,7 @@ properties: iommus: minItems: 1 - maxItems: 4 + maxItems: 5 num-channels: $ref: /schemas/types.yaml#/definitions/uint32 From patchwork Wed Apr 5 07:28:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 670518 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 0CC1AC7619A for ; Wed, 5 Apr 2023 07:31:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237160AbjDEHbi (ORCPT ); Wed, 5 Apr 2023 03:31:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44800 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237093AbjDEHbS (ORCPT ); Wed, 5 Apr 2023 03:31:18 -0400 Received: from mail-pl1-x636.google.com (mail-pl1-x636.google.com [IPv6:2607:f8b0:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6D8F64EE5 for ; Wed, 5 Apr 2023 00:31:10 -0700 (PDT) Received: by mail-pl1-x636.google.com with SMTP id f22so29531952plr.0 for ; Wed, 05 Apr 2023 00:31:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680679869; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=6lP0xe1rpfhrIkLyhMnO9naLS5LLel1l/TortX66fNI=; b=JaMs1axwgRzopOcNZli/yegR4fCkEtluCFhn7aQTV0CAyfEHR2p+08/j0RBRU3isL3 V6xdTP2duLMfvSUdj8Fg2ukiyClbh2rwnVVDQqJ3ErHtAYnaQpVaZEY89n5S0/m4FQJQ XaLLY+U7mfIZmq5F+YU1+Mh2k+LjhZ8HQ/hXPneyv47FGxPfSBNMf7MDCOPYSAAH34wG AKiupOUELltb/jtgakeaobvQzpVrMbSb4NV7hmxeSaKB4lLr+u22LIdBniUNGwHWpAua soPtBzPK/K32psjpLb+SfVeq1m/T8ICbvCewNr7KIhxxHL/SomwUeEIBSGOjPQNMg6SJ 0Eug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680679869; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=6lP0xe1rpfhrIkLyhMnO9naLS5LLel1l/TortX66fNI=; b=PfrC7eFXWQV54BWGdKgMfkCMc0JJEqMa6mR+sRw+4CcoXwgqVCr3HUyZnsLrZxolv/ hZEYugs/OPQ7HUHKxR1uyV9Ko9EYrwWg0zyflfaWgtOS7DLqTBsw4bABVAsQY1pCJz3z yfsj5nuKjvDrb4UBVCt0K+7t4alKNFwSlS+0l7XBPJfIpYt3la56QDy2Bj/G4UrYXMwA m6aTUtShiKs8PZrpTMyHCohXYu1lXYkVGxrna+KdvzU3gb6hOd0xFsGOdMUdY86Vn6T+ GzUKZt8NH5F1N6wr70NNfzBSKZQZQPAi1rWpTAH5EFdMhDh77QirK4Tr5d1YxHcdN0ZC CzaA== X-Gm-Message-State: AAQBX9dPYpBfGnZt3DYBDbWGZWn1KhrmYo2CYVGRnJ/UFJ+t7vEePt8q i9r7zUIg9Fss8/s142JYR1I99w== X-Google-Smtp-Source: AKy350YwQopALW/nSXnNj4j+Q8AncsUlQ8WIHCM0GGMBCgeyuh3Rja+To4Pj1goHjZKKp1ELj9wi7Q== X-Received: by 2002:a17:90a:1a13:b0:23d:e0e8:f453 with SMTP id 19-20020a17090a1a1300b0023de0e8f453mr5407502pjk.38.1680679869411; Wed, 05 Apr 2023 00:31:09 -0700 (PDT) Received: from localhost.localdomain ([223.233.67.41]) by smtp.gmail.com with ESMTPSA id l7-20020a635b47000000b004facdf070d6sm8781507pgm.39.2023.04.05.00.31.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Apr 2023 00:31:09 -0700 (PDT) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Cc: agross@kernel.org, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, andersson@kernel.org, bhupesh.sharma@linaro.org, bhupesh.linux@gmail.com, krzysztof.kozlowski@linaro.org, robh+dt@kernel.org, konrad.dybcio@linaro.org, vladimir.zapolskiy@linaro.org, rfoss@kernel.org, neil.armstrong@linaro.org, djakov@kernel.org Subject: [PATCH v6 04/11] arm64: dts: qcom: sdm845: Fix the slimbam DMA engine compatible string Date: Wed, 5 Apr 2023 12:58:29 +0530 Message-Id: <20230405072836.1690248-5-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230405072836.1690248-1-bhupesh.sharma@linaro.org> References: <20230405072836.1690248-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org As per documentation, Qualcomm SDM845 SoC supports SLIMBAM DMA engine v1.7.4, so use the correct compatible strings. Reviewed-by: Konrad Dybcio Signed-off-by: Bhupesh Sharma --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index 2f32179c7d1b..17a29184884c 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -5152,7 +5152,7 @@ msi-controller@17a40000 { }; slimbam: dma-controller@17184000 { - compatible = "qcom,bam-v1.7.0"; + compatible = "qcom,bam-v1.7.4", "qcom,bam-v1.7.0"; qcom,controlled-remotely; reg = <0 0x17184000 0 0x2a000>; num-channels = <31>; From patchwork Wed Apr 5 07:28:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 670517 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 B012DC76188 for ; Wed, 5 Apr 2023 07:32:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237116AbjDEHcB (ORCPT ); Wed, 5 Apr 2023 03:32:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45540 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237062AbjDEHbd (ORCPT ); Wed, 5 Apr 2023 03:31:33 -0400 Received: from mail-pl1-x631.google.com (mail-pl1-x631.google.com [IPv6:2607:f8b0:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CF66855B4 for ; Wed, 5 Apr 2023 00:31:19 -0700 (PDT) Received: by mail-pl1-x631.google.com with SMTP id le6so33628640plb.12 for ; Wed, 05 Apr 2023 00:31:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680679879; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ScrPtwLifF81mLBCSzco8cbRfT+aGGc+R4ZbxOTPL28=; b=yo1E1yoKY/0EEUjn6/jguZggtiYUWH+mD44H2FkHddBMrSJuWJcHQWSDVCQNmY7FVp pe7VOZp36hWx40gL8Hx+cajf8mhR4hBMjx+v01GEVAnuLfHqUciud4cO/f7L3sCJl4Ar h2xTHNgkIpUBTnn18SlCyJfZJUHJ97Pbxw+IvYkfWQIfOe1RPcHv90jxjwXoR/gGm5E0 RnPT3LEGLzwKRTR+apQ0yPjazPOn+oBj54pk/+tRYh7dQd7eTtowELjwnIQqmnz9l59t jdbR4BGjUerkQ55UFu260XundYpLzhisMh39RVzT/QZc1S0702FRuBVw7gZ8WiodnHMS NCFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680679879; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ScrPtwLifF81mLBCSzco8cbRfT+aGGc+R4ZbxOTPL28=; b=wAq2xYN1O7qA17zY/5uvhn9PTuCop1KuRXOzGPPMxki5ZgrYcUYOtEb2433+fgH+/c i7htga89DfGEQHb5ojdXAJ68yecowcRvro6MLP1dlNpaO77md+N6vwkM27YGL7hj0ljU I1JLDBS7T4Js3YCxqCfny8wczXz4jxxVtomylr7MKMOZYrOgwlHWyiyCyHg/bPyl/cMP Jz5gXLVfwc/WZfw3/wqJXSEmm0mtpCkJ6CN2dJyp9YsMhBUwO4Um8HU2478NMVC6te6x ZrFdsYNKJBhB9vuv1BJOR5KY9mlhAbuuKA0REZg4+5p1hOba8Y8+xqOtQGZfKphyOxvA RVSg== X-Gm-Message-State: AAQBX9f9XDqtI5fCIyz9N8GcmZQoLMRh3/ss23oSati/BahXMl0Mleyi 5owT/TBmr1UfgRoErUNV20qaiQ== X-Google-Smtp-Source: AKy350aMaZhBNcxFxbE9JlpaBqLSlaYmaAs4/UkCgsP7H00LbSh2jLBO3P8aHiryTuypoxgD89Adyg== X-Received: by 2002:a05:6a20:bf1e:b0:d9:3937:43a7 with SMTP id gc30-20020a056a20bf1e00b000d9393743a7mr4416074pzb.55.1680679879122; Wed, 05 Apr 2023 00:31:19 -0700 (PDT) Received: from localhost.localdomain ([223.233.67.41]) by smtp.gmail.com with ESMTPSA id l7-20020a635b47000000b004facdf070d6sm8781507pgm.39.2023.04.05.00.31.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Apr 2023 00:31:18 -0700 (PDT) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Cc: agross@kernel.org, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, andersson@kernel.org, bhupesh.sharma@linaro.org, bhupesh.linux@gmail.com, krzysztof.kozlowski@linaro.org, robh+dt@kernel.org, konrad.dybcio@linaro.org, vladimir.zapolskiy@linaro.org, rfoss@kernel.org, neil.armstrong@linaro.org, djakov@kernel.org Subject: [PATCH v6 06/11] dt-bindings: qcom-qce: Add compatibles for SM6115 and QCM2290 Date: Wed, 5 Apr 2023 12:58:31 +0530 Message-Id: <20230405072836.1690248-7-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230405072836.1690248-1-bhupesh.sharma@linaro.org> References: <20230405072836.1690248-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Crypto Engine block on Qualcomm SoCs SM6115 and QCM2290 do not require clocks strictly, so add compatibles for these SoCs, indicating that they are similar to the flavour found on SM8150. Acked-by: Krzysztof Kozlowski Signed-off-by: Bhupesh Sharma --- Documentation/devicetree/bindings/crypto/qcom-qce.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/crypto/qcom-qce.yaml b/Documentation/devicetree/bindings/crypto/qcom-qce.yaml index 90ddf98a6df9..82ea97568008 100644 --- a/Documentation/devicetree/bindings/crypto/qcom-qce.yaml +++ b/Documentation/devicetree/bindings/crypto/qcom-qce.yaml @@ -41,6 +41,8 @@ properties: - items: - enum: + - qcom,qcm2290-qce + - qcom,sm6115-qce - qcom,sm8250-qce - qcom,sm8350-qce - qcom,sm8450-qce From patchwork Wed Apr 5 07:28:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 670516 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 78E16C7619A for ; Wed, 5 Apr 2023 07:32:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237194AbjDEHc1 (ORCPT ); Wed, 5 Apr 2023 03:32:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43794 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237196AbjDEHcA (ORCPT ); Wed, 5 Apr 2023 03:32:00 -0400 Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com [IPv6:2607:f8b0:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 276BE5B8F for ; Wed, 5 Apr 2023 00:31:31 -0700 (PDT) Received: by mail-pl1-x632.google.com with SMTP id ix20so33667565plb.3 for ; Wed, 05 Apr 2023 00:31:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680679889; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=3MVums2xGimULwLAksXbnkYaopPwvTqx5iwZKEFGpjA=; b=zGOdeyUuHbssOQ7Z1mPYifIrImzF0vUnQh4Iw+uFJy5hY8QkDtGxFIGiG3kQuaTxhm u56fsLmTn4sJoiDloYF0AozECkkKzxU4bafTT7eZ39jiA8sOR1uJLdIRWyBBb8K3inQG U6WBpxN3cYIoOt3D8JP6Be5owOmPe147i0mbAtgAph5yWGWSUS4W7KFToxkkbixIceV7 E7ksTM/lHtxEIRW2e7aeep3WgvtpLn6ituYfGV4kuUNPSEXITCTdqivik/x6DJ1UMdXe SnJDBCcNMRVTjDXLGEniSeo8qelBz7zYsciLArvf/ii48/h7WcXJTOmyVW/riM56MsGU Ib0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680679889; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=3MVums2xGimULwLAksXbnkYaopPwvTqx5iwZKEFGpjA=; b=zDE7ehOvFw2zceoie+BC4fKeda2pn50PJYDU9lnp89BQj2OCkplpimHJiGWxq6pC0O ThtIjnwUFVonwf3a1hJpeN1DQi5ODM/W9vrY8jpQ3pO18+3zeiGFvsxrZXISdUM2n520 JfZ/crZQdbbUKvTVcCOOiCkMahxvm57FCmuGzoHoNECLGXkT86JrkF6B+wFwkExT9yDQ pT5lZUoeeK5Y+AShOs9fH9r6phyzKgUz+pbsd+o9Gno0q3hpAKjJXGY226J+OlghF9Ss ZDIde2YvQ/9dbhpWMeQCj4jhhh9M9LjfVnX12MpckqzaYnCxQTQUqBG2jYdHxVwUmPUw f/mg== X-Gm-Message-State: AAQBX9ecJeOHq/5MpPvEX187Hic/hRGjdXBaNaLKnFLG5z/79hXVDBd1 Op/t0sXbbQ706rKv3eGFyoSUEA== X-Google-Smtp-Source: AKy350ZHbDWY+SUIF0C/sKiPkQp05MMrfJ/2mBdXbCQmwonFN3luVkhQwf72PaKWsmD0OlCGFkcygg== X-Received: by 2002:a05:6a20:4b16:b0:d9:162d:98e4 with SMTP id fp22-20020a056a204b1600b000d9162d98e4mr4000483pzb.54.1680679888795; Wed, 05 Apr 2023 00:31:28 -0700 (PDT) Received: from localhost.localdomain ([223.233.67.41]) by smtp.gmail.com with ESMTPSA id l7-20020a635b47000000b004facdf070d6sm8781507pgm.39.2023.04.05.00.31.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Apr 2023 00:31:28 -0700 (PDT) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Cc: agross@kernel.org, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, andersson@kernel.org, bhupesh.sharma@linaro.org, bhupesh.linux@gmail.com, krzysztof.kozlowski@linaro.org, robh+dt@kernel.org, konrad.dybcio@linaro.org, vladimir.zapolskiy@linaro.org, rfoss@kernel.org, neil.armstrong@linaro.org, djakov@kernel.org Subject: [PATCH v6 08/11] arm64: dts: qcom: sm8150: Add Crypto Engine support Date: Wed, 5 Apr 2023 12:58:33 +0530 Message-Id: <20230405072836.1690248-9-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230405072836.1690248-1-bhupesh.sharma@linaro.org> References: <20230405072836.1690248-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Add crypto engine (CE) and CE BAM related nodes and definitions to 'sm8150.dtsi'. Signed-off-by: Bhupesh Sharma --- arch/arm64/boot/dts/qcom/sm8150.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi index 9491be4a6bf0..c104d0b12dc6 100644 --- a/arch/arm64/boot/dts/qcom/sm8150.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi @@ -2081,6 +2081,28 @@ ufs_mem_phy_lanes: phy@1d87400 { }; }; + cryptobam: dma-controller@1dc4000 { + compatible = "qcom,bam-v1.7.4", "qcom,bam-v1.7.0"; + reg = <0 0x01dc4000 0 0x24000>; + interrupts = ; + #dma-cells = <1>; + qcom,ee = <0>; + qcom,controlled-remotely; + iommus = <&apps_smmu 0x514 0x0011>, + <&apps_smmu 0x516 0x0011>; + }; + + crypto: crypto@1dfa000 { + compatible = "qcom,sm8150-qce", "qcom,qce"; + reg = <0 0x01dfa000 0 0x6000>; + dmas = <&cryptobam 4>, <&cryptobam 5>; + dma-names = "rx", "tx"; + iommus = <&apps_smmu 0x514 0x0011>, + <&apps_smmu 0x516 0x0011>; + interconnects = <&aggre2_noc MASTER_CRYPTO_CORE_0 &mc_virt SLAVE_EBI_CH0>; + interconnect-names = "memory"; + }; + tcsr_mutex: hwlock@1f40000 { compatible = "qcom,tcsr-mutex"; reg = <0x0 0x01f40000 0x0 0x20000>; From patchwork Wed Apr 5 07:28:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 670515 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 B2DBCC761AF for ; Wed, 5 Apr 2023 07:32:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237220AbjDEHco (ORCPT ); Wed, 5 Apr 2023 03:32:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44512 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229943AbjDEHcW (ORCPT ); Wed, 5 Apr 2023 03:32:22 -0400 Received: from mail-pj1-x102b.google.com (mail-pj1-x102b.google.com [IPv6:2607:f8b0:4864:20::102b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 66E025B80 for ; Wed, 5 Apr 2023 00:31:41 -0700 (PDT) Received: by mail-pj1-x102b.google.com with SMTP id lr16-20020a17090b4b9000b0023f187954acso36428529pjb.2 for ; Wed, 05 Apr 2023 00:31:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680679898; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=f/RYbIoQQSZn/Ts++Mp2c4kDKlRAoOOYD0ApgKEdtIA=; b=lyhGsVY1vQFoMeLY+50TIZRwxNd5jChMWgIvDu3C/FldFAKe1fJ3ClrarWz8z9nWwj rL5UqjtZBxxCcSYz+YpSv8XfckdvfPGuqxxv5Dnd3uFT0Uq5WdtOkCo1GrFWzXItJteh yd8ms6/Kj0pwZ+bBaHWS4ip19Zv8Kalz7cmZy6y4cmhqV8VNnV6/VDJL1L94ki/j/Geg fzRmn83aQt/RV70zDlHcdmybcbFmMw4bikjMzjXqvnsdyZDPj4O00ZyFNEnHCT5itJ0l JPBFV33WnRsYYVnGNa/hjn9UyT9tzr8BzVatYwFpk4M4c6Kq3IDNfOKLGctQzt2s+XoV zV7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680679898; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=f/RYbIoQQSZn/Ts++Mp2c4kDKlRAoOOYD0ApgKEdtIA=; b=NBEUGPee1bMBMy7kEQ9gi9AL/aV2PUOxcABbRnvayjP6eJtpd/+W8Ts4C8f6j278dy uSEzz00dh15K3sPH9U2+jMsiSwi6QkvwrywEnmjlK7Vi2Lesx112ymbriaGMQKQScJUk nhTy5cxHAkgsDpygRH8tIkXIT1FSFiy3u9EyB654iG6SPVmGY+p0W+1p9MpMvx+bSqkp QPl6+8pTlh2XPZVf5ZOfTH/236La1AFDoZhaXbvxkVfGIRtXmGW+05ojgGFH0KM9Sswu g3R40RCKoWWzjM1RKTHZ5NeTAmP2Qu5skbxXNDJciIAoEsQk0grMTW9IDEJgjWOY8uyy NH7w== X-Gm-Message-State: AAQBX9crfdZgNy8hUdcTJDn2+tIBU5v0o4QRwpJsZxKGbKVlt+/+SoFT tWNV9KpXK9f6ExZ37JW3OTLeYQ== X-Google-Smtp-Source: AKy350Ys6drDPHCet9DtT/cKfLm2OOTPb2BT5ByEy4pWcuzBZvtfJ89SK62yA4t77q7SN4N4aeChuw== X-Received: by 2002:a05:6a20:6690:b0:d9:3440:9a26 with SMTP id o16-20020a056a20669000b000d934409a26mr5155435pzh.20.1680679898522; Wed, 05 Apr 2023 00:31:38 -0700 (PDT) Received: from localhost.localdomain ([223.233.67.41]) by smtp.gmail.com with ESMTPSA id l7-20020a635b47000000b004facdf070d6sm8781507pgm.39.2023.04.05.00.31.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Apr 2023 00:31:38 -0700 (PDT) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Cc: agross@kernel.org, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, andersson@kernel.org, bhupesh.sharma@linaro.org, bhupesh.linux@gmail.com, krzysztof.kozlowski@linaro.org, robh+dt@kernel.org, konrad.dybcio@linaro.org, vladimir.zapolskiy@linaro.org, rfoss@kernel.org, neil.armstrong@linaro.org, djakov@kernel.org Subject: [PATCH v6 10/11] arm64: dts: qcom: sm8350: Add Crypto Engine support Date: Wed, 5 Apr 2023 12:58:35 +0530 Message-Id: <20230405072836.1690248-11-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230405072836.1690248-1-bhupesh.sharma@linaro.org> References: <20230405072836.1690248-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Add crypto engine (CE) and CE BAM related nodes and definitions to 'sm8350.dtsi'. Co-developed-by and Signed-off-by: Robert Foss [Bhupesh: Switch to '#interconnect-cells = <2>', available since commit 4f287e31ff5f] Signed-off-by: Bhupesh Sharma --- arch/arm64/boot/dts/qcom/sm8350.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8350.dtsi b/arch/arm64/boot/dts/qcom/sm8350.dtsi index 7fbc288eca58..d0677d9076a5 100644 --- a/arch/arm64/boot/dts/qcom/sm8350.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8350.dtsi @@ -1730,6 +1730,28 @@ ufs_mem_phy_lanes: phy@1d87400 { }; }; + cryptobam: dma-controller@1dc4000 { + compatible = "qcom,bam-v1.7.4", "qcom,bam-v1.7.0"; + reg = <0 0x01dc4000 0 0x24000>; + interrupts = ; + #dma-cells = <1>; + qcom,ee = <0>; + qcom,controlled-remotely; + iommus = <&apps_smmu 0x594 0x0011>, + <&apps_smmu 0x596 0x0011>; + }; + + crypto: crypto@1dfa000 { + compatible = "qcom,sm8350-qce", "qcom,sm8150-qce", "qcom,qce"; + reg = <0 0x01dfa000 0 0x6000>; + dmas = <&cryptobam 4>, <&cryptobam 5>; + dma-names = "rx", "tx"; + iommus = <&apps_smmu 0x594 0x0011>, + <&apps_smmu 0x596 0x0011>; + interconnects = <&aggre2_noc MASTER_CRYPTO 0 &mc_virt SLAVE_EBI1 0>; + interconnect-names = "memory"; + }; + ipa: ipa@1e40000 { compatible = "qcom,sm8350-ipa";