From patchwork Wed Apr 5 07:28:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 79472 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp116689vqo; Wed, 5 Apr 2023 00:32:07 -0700 (PDT) X-Google-Smtp-Source: AKy350Zz/zYI9IqdbODHNSKU8wbY8Qmy5W7oyp9r1Z/vna76wwPQUdAFFYmlUFZ5xM0bP7eiyOny X-Received: by 2002:a05:6a20:1610:b0:da:d4eb:9e07 with SMTP id l16-20020a056a20161000b000dad4eb9e07mr1225954pzj.30.1680679926739; Wed, 05 Apr 2023 00:32:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680679926; cv=none; d=google.com; s=arc-20160816; b=H1V6+DAz3Om44RCgyZibglvxMMAlKV5YYnLdVCY5zPUPPN8mgTDrcV3uGkorGD+xZG DqwuCp1NZyE+nA+uUYo81JjUTzbYtkOuoDVS+/XnanQB8srX5jW0XMO+1JA6lJh0CCPO x9ALSbSB9eHWPY/zWp52TgP/MulEMCfTP6d2dhnMH8f7nR/H7thm7+xSYhIVNWGwaOWz XNhSmCY3Qcx49vF3BrlCI8dU8Y8GkPbXCeIhUkB9NpIaxL6idEWoqXon16EqCyCRNEko EVslbbI9wkQ8e/g+zIX2vWWlCYlKhL92wUrkNuxHT3/yzcg0YCC2O7hJhN2we4IyyB4x VknQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=/g4kaJcKEIEGpxh3HTZ71OY8Yt6EI1bEj6s43nrskNY=; b=1CILYVgr0vj7jSL34tW5f16LLGxUEg4JcjV0nKZ9RRu7BoSD1M7MlWXj+RrzwznSkl UW+A4BQYkCPkyM4DxXaH8jOIVP6WG8zckATNXgN2/XnfYRYKCB7eJd6ZDWjVQfvL0dx2 suj6jd1hO9UQdHVNJ82idLRnjP+VAGCvfIE/oMMXJ/pZGz6S3i4lXL6GhIegdkj9ZxOj JjrEm6x1hEbdjvX16yR7x4g3qOKmXbIhO4aKJEuUQGWnekJQ0hz5kIrPT5Q5hSXHwxPB 3/hkE3NPbceHO+gQUSBUA64F4BiN58rb/1uOAfkM5bmn30Mu1ab12/sP0lcKwsiEVfth +1EA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=D364yvfy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n9-20020a63e049000000b0050be692a718si11865149pgj.530.2023.04.05.00.31.54; Wed, 05 Apr 2023 00:32:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=D364yvfy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237125AbjDEHbE (ORCPT + 99 others); Wed, 5 Apr 2023 03:31:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43680 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230031AbjDEHa4 (ORCPT ); Wed, 5 Apr 2023 03:30:56 -0400 Received: from mail-pl1-x62c.google.com (mail-pl1-x62c.google.com [IPv6:2607:f8b0:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8700F4C29 for ; Wed, 5 Apr 2023 00:30:55 -0700 (PDT) Received: by mail-pl1-x62c.google.com with SMTP id o11so33678080ple.1 for ; Wed, 05 Apr 2023 00:30:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680679855; 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=/g4kaJcKEIEGpxh3HTZ71OY8Yt6EI1bEj6s43nrskNY=; b=D364yvfyqZBI9m7sjZ2pUoOrnPu3/Wl0SDkfXycf+1ytSsKjfhFTeDY099SOcdsalQ 0WSeXZ2JJ8ofqJ7Fl1161CRMZ3+Oky/ez/UwWzIrOc/pvYZpAIj2KwGmwKAx3S2muJtO eBIWKak4YYDsCZXb5RiugbzUrh2iYm3+5NTlBI/TmZ3CiyGngd0C7h6QK7rBPhoYEOk5 3nDQZYu0IcCm3NFXXbgLe7PGFx7E2ItpSkAsp2g1BCIR/7DVKiICgIF0gXp6Vbo0Jt6o L2gnbqYiHk4Spldf1caoALNOj2mLV+jF/bDCQYG9HdeCCIYZl8POhFNO29SFuNtRGLLx auZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680679855; 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=/g4kaJcKEIEGpxh3HTZ71OY8Yt6EI1bEj6s43nrskNY=; b=PxuAWcYPi9Q8olmVDkXmZmxwwkRalCVceuobZJtbYMvrWICw8iQ8vB2nkcV7hd6z9l 9opFWqBHPQfm3bNxCIyxdv0MXVSkde336RiVqm78a3Iwf2zN27/SVFJf9feu+yJioBd3 liuUtsE4TQWqHX90OHzdai1UselAvRzH5k5pm490cgfsNJXnLejwQQMH6HueuqVm8sK/ twihB+1wmxANFtQOBrls4nSeATjHsvLUsyBz0MZcQEa70LAtoiAEM/Yq1mZqMdSnmxhA 2FJM+HNDKR/VaPCDRpYR5CMDPjnKUidBMcUGGhsfjXj14HUrjWkBphA0ZZfgKsJpGn6d 1Bpg== X-Gm-Message-State: AAQBX9dgK1O1ZlrGqOdOSswjGuG+aFvaoKlthwRy2eoHzSbtk7CqRICf mN7GyAQeW4Z7m5wBWpDQc3BaeA== X-Received: by 2002:a05:6a21:868f:b0:d4:fcb2:7966 with SMTP id ox15-20020a056a21868f00b000d4fcb27966mr1766853pzb.11.1680679854890; Wed, 05 Apr 2023 00:30:54 -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.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Apr 2023 00:30:54 -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, Rob Herring Subject: [PATCH v6 01/11] dt-bindings: dma: Add support for SM6115 and QCM2290 SoCs Date: Wed, 5 Apr 2023 12:58:26 +0530 Message-Id: <20230405072836.1690248-2-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 X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762320634684873217?= X-GMAIL-MSGID: =?utf-8?q?1762320634684873217?= Add new compatible for BAM DMA engine version v1.7.4 which is found on Qualcomm SM6115 and QCM2290 SoCs. Since its very similar to v1.7.0 used on SM8150 like SoCs, mark the comptible scheme accordingly. While at it, also update qcom,bam-dma bindings to add comments which describe the BAM DMA versions used in SM8150 and SM8250 SoCs. This provides an easy reference for identifying the actual BAM DMA version available on Qualcomm SoCs. Acked-by: Rob Herring Signed-off-by: Bhupesh Sharma --- .../devicetree/bindings/dma/qcom,bam-dma.yaml | 20 ++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml b/Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml index f1ddcf672261..c663b6102f50 100644 --- a/Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml +++ b/Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml @@ -15,13 +15,19 @@ allOf: properties: compatible: - enum: - # APQ8064, IPQ8064 and MSM8960 - - qcom,bam-v1.3.0 - # MSM8974, APQ8074 and APQ8084 - - qcom,bam-v1.4.0 - # MSM8916 and SDM845 - - qcom,bam-v1.7.0 + oneOf: + - enum: + # APQ8064, IPQ8064 and MSM8960 + - qcom,bam-v1.3.0 + # MSM8974, APQ8074 and APQ8084 + - qcom,bam-v1.4.0 + # MSM8916, SDM630 + - qcom,bam-v1.7.0 + - items: + - enum: + # SDM845, SM6115, SM8150, SM8250 and QCM2290 + - qcom,bam-v1.7.4 + - const: qcom,bam-v1.7.0 clocks: maxItems: 1 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: 79478 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp118978vqo; Wed, 5 Apr 2023 00:37:37 -0700 (PDT) X-Google-Smtp-Source: AKy350YyPIIvpRzx+NQDnLCY7nU8GKq/mFKESzH6S/+XCYwyOihBKkWg4k2DTAPjFJB9UJ9xsYG3 X-Received: by 2002:a05:6a20:78a4:b0:da:dbf4:e385 with SMTP id d36-20020a056a2078a400b000dadbf4e385mr3419366pzg.54.1680680257660; Wed, 05 Apr 2023 00:37:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680680257; cv=none; d=google.com; s=arc-20160816; b=nta90rAGLDW7np1fUJPQWVemIApqqknGs04+RaN1ymAG9ulKZyRTQdBnICvvVEL1uV LtwfJEAgXLlGj6Qq4W8zLmzZ+oTEBBQOporgr28gO3Pqw/NsHckQ4le+imTUvM/B0jBu swRYTbn5lboKg8mjzjfbO2Md2fviLrepeUtQtkZaqLoIMadI1bzRuZ5vlF5+I3ywSh96 hqgM5zH193QCR0i0WyMjy7ajJZbC5/sxvWxuATlBW/Fs2gXDPks3M2bFr7WvIYpbh+EI MRZ0fLTzr/AEea3RMoxBnrXFv31qx3IDMaQuE/AXk1FYLy17bRlIXNtmwc1LBoaWChug BqxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Wgd39WnlXQz4tbC4i1NLP3F+sroosdBDzPGDIcLrLlo=; b=iY6H9Ig6E8w7jqdP8IQe76C1cVXFEOqerRdJnyMkxAtUe9NAQLgcIyKYVsOoAsXqkz SoJSI1dSsLjZN4A5S0c8VTiKAb8bNfXr9o9/AjvJjx6evaGPZBK4ELt/+Nqt7ZDh6RMV NWaaGg/dOSUCVUUfOqSqZ9ayLPDf35dKZ+zspEGu8W5lDr6NcmWHJn+TC+PMsOb0LYvx fvZfSVbLa8+acQaCCNgur2+ArDcDKlDpHvLPeah3yJ51Z1yA3PD0/xCJ+K1fuxVbesPc JrmEAFChGRpYH8RA2+Aex7dphe9vB4qilotCtz6UX/+zj0XpKiBMRPOCKP8UmF2RURgD FCAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="c+K/1+I+"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t21-20020a6564d5000000b004fb961e0592si11496562pgv.565.2023.04.05.00.37.25; Wed, 05 Apr 2023 00:37:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="c+K/1+I+"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237129AbjDEHbP (ORCPT + 99 others); Wed, 5 Apr 2023 03:31:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44064 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237078AbjDEHbD (ORCPT ); Wed, 5 Apr 2023 03:31:03 -0400 Received: from mail-pl1-x62b.google.com (mail-pl1-x62b.google.com [IPv6:2607:f8b0:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8F7F74C13 for ; Wed, 5 Apr 2023 00:31:00 -0700 (PDT) Received: by mail-pl1-x62b.google.com with SMTP id z19so33660891plo.2 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=gunL+j+tjCWBnfdMf6BcehiYiWj/3TRNw5vk6pm/kOBv4x7eO8DjsU8x9d8se+R+1m IX3xxM4z7F8agT3AEPyXQqup3iwUmVSAujL6XXinoQk7oqcBXml6KGiPy/x/VN5SIW3+ /V9uH0/CFDBFxn4ZtNjouoHrXal8fJeZDgRP0M/hbrRKcnwiWFQhI9AD3s9h7BIg+NIJ HVYzp3X4qae9JUsxEEyA2AjEKz/0/HGu1A1ppjbnszwXvJ2PcgHcCP4Pxw3ppsUIw8uU enmsPcpTe5C9ZDMQ0opnpGGEGPqRvJMJ+JuQ2qSB+xRUsY1v68X5fAmTV7bgcOjkJTcR WxrQ== X-Gm-Message-State: AAQBX9eQSJ4y9OtkB3tQXhe+Do+ucFWTm626gv5n0pXfnvBO+ggyteLa BcUZfxrlDkKwgSmwTLPqY38IXDywhEl2jFjNRls= 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 X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762320981822639657?= X-GMAIL-MSGID: =?utf-8?q?1762320981822639657?= 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:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 79473 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp116770vqo; Wed, 5 Apr 2023 00:32:18 -0700 (PDT) X-Google-Smtp-Source: AKy350Y+ll8H8qydorZt5rXX95ijbkpyUTpCU5TJabllARC3db950mp4QdgVWHKqR4nbrl1s7KgJ X-Received: by 2002:a17:90b:1b44:b0:23f:a4da:1203 with SMTP id nv4-20020a17090b1b4400b0023fa4da1203mr5694497pjb.19.1680679938601; Wed, 05 Apr 2023 00:32:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680679938; cv=none; d=google.com; s=arc-20160816; b=uuIg5Ic6kRDxib1EUZIN/+KYbG8ImzBeIkB4DHZ/94r0gsDvr7bazDshgmNXAAljRT fKmIISsim9l6l1sBwe8RGY6sxoiV1q7LvhcfrcPfQB/TH5f59PQWlbwYdroAfeero20N VEzGtHGl92+dXaFv22mlGpWroU2zipuWeKTitmnOpmD3Z/1OPryuaVPPQQmqY9roYqPT 7UybRS7xYWwoUzUTLTlvFPeLtm5Z+lZVs/9sMNu9OaM7l+NSBNvgbw7k1VcA+MfEdl7y hozhYtLSEwyW3qpgRJhpsTnkXI3nIyDhea9lbkyXX2/ELf5Whw9ysj7Y48Zq4nj5J3Mb wBWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=USgI5KIZDkQs51mZEs919xqTD9B9rGrh5rzRG7rRJwk=; b=oQqCdd5sysVgwrB0xck8l6qQF05XB8IV/NWn3cIcXfDNarpmbXZl6mG1B3XDnwnlT4 HlDTvebLdc70JXU7FjK2Hi8cjNPlFxAO1GsNGYLLejAeLzeqeZkCvOB2ip/MpuWxfWWJ L/KxcoCemdMqjX25B3sTGt5XtKkntCQTnKbgoXNjYnEg8cMkq4n9bsT/phpybtpaqdy/ MA8SbMNw2Dp2kG6BaUjLpQb5CBc5aYKd1oDEpduN7oafa6hg49rq+Vo+9qKYttSBMT6T f4lch3LmfvTdKSTs8G9gslGFIVdHEovrCRRM2U8v6d16hy4VTmXtf05zwQYiDo+rXXz7 Xinw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="yQwrH+k/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q2-20020a170902dac200b001945ff85d7asi12304701plx.357.2023.04.05.00.32.05; Wed, 05 Apr 2023 00:32:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="yQwrH+k/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237113AbjDEHbV (ORCPT + 99 others); Wed, 5 Apr 2023 03:31:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44172 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237092AbjDEHbG (ORCPT ); Wed, 5 Apr 2023 03:31:06 -0400 Received: from mail-pl1-x62c.google.com (mail-pl1-x62c.google.com [IPv6:2607:f8b0:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC6644ED7 for ; Wed, 5 Apr 2023 00:31:04 -0700 (PDT) Received: by mail-pl1-x62c.google.com with SMTP id o11so33678436ple.1 for ; Wed, 05 Apr 2023 00:31:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680679864; 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=USgI5KIZDkQs51mZEs919xqTD9B9rGrh5rzRG7rRJwk=; b=yQwrH+k/05xG4Gj1pPI971BbmVSX/HibhPgrMTgpWTN3AlgtL7L0d+VhSv9tSexppL SOonIu+4u1iVDE40+LmukSroH3SUZAJIpWxhEPnDtlPzU4LVf96Zcwu9zb+KqBAOF58w BC9y3TLQ0Xeos0ZFKTaTEOEHD5bz3qTg9KRo81nWB5zsNjlSvYjdlIwzgfaqdEv4uJLh WPLynVcPjba+8nfFl0bNO8KjqI+zqsbT2oJPb5pkGECR2EBN/cYf7cPxHiim5MwvRkfw xrvaNQPR9+AZLcUDTSEcqQZQ9aygfH3ctFJODuR7vDve+NmZ+05iExyPrcGS1JyWFHqN AQxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680679864; 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=USgI5KIZDkQs51mZEs919xqTD9B9rGrh5rzRG7rRJwk=; b=7AHR3Hdb+LACD3TmzCpMsNZkpXdUa8vbmpDfBehvdp1kYEi0dYBbPEOhujTb31zkoL Zs0ADlsmXmA0fvSTtdiN/nELdk5lb7ZyTUXEkin4BQ3KL3Fy112fUKkBWl6ynP2w0EYV isRrUyToKmcI9wA8u8kWkjDbzakiCEst3Bfgq+Pg4A1ZrsYn8qklUsQ4fSbzcCsPIJH4 +9l6aNZe5+MqMmYvJnQHnQ03ILZJHJdmf0Ej+WvAyzzhL0Uthu/lZ/zqSUnuRaWGE2ZN 0aXEFTdq4fp4sEigAzKwoeVZGzH5sriFq0c005w3quO7cP3eB6tQ0SO8ImK5sJ9X1T0a 7bhA== X-Gm-Message-State: AAQBX9ds6oqD4cVFYU0KYyv4RHdzW0hmU+RwUBK5oANKKz8v1kukeVEG +e69FlM385c/I2/06fpgLmSRVg== X-Received: by 2002:a05:6a20:98a7:b0:da:17b4:461a with SMTP id jk39-20020a056a2098a700b000da17b4461amr4468574pzb.32.1680679864594; Wed, 05 Apr 2023 00:31:04 -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.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Apr 2023 00:31:04 -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 03/11] arm64: dts: qcom: sdm8550: Fix the BAM DMA engine compatible string Date: Wed, 5 Apr 2023 12:58:28 +0530 Message-Id: <20230405072836.1690248-4-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 X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762320647448817465?= X-GMAIL-MSGID: =?utf-8?q?1762320647448817465?= As per documentation, Qualcomm SM8550 SoC supports BAM 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/sm8550.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sm8550.dtsi b/arch/arm64/boot/dts/qcom/sm8550.dtsi index 9c24af40ee61..774e3295081c 100644 --- a/arch/arm64/boot/dts/qcom/sm8550.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8550.dtsi @@ -1841,7 +1841,7 @@ pcie1_phy: phy@1c0e000 { }; cryptobam: dma-controller@1dc4000 { - compatible = "qcom,bam-v1.7.0"; + compatible = "qcom,bam-v1.7.4", "qcom,bam-v1.7.0"; reg = <0x0 0x01dc4000 0x0 0x28000>; interrupts = ; #dma-cells = <1>; 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: 79477 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp118653vqo; Wed, 5 Apr 2023 00:36:46 -0700 (PDT) X-Google-Smtp-Source: AKy350ZIvS8JIpl/pkw6u7mGffVNmgxE4t8Sl69GA0XA1ii04lPWbVj5ck9mP/VQER045+u1GzNN X-Received: by 2002:a05:6a20:8c16:b0:da:adbf:7b96 with SMTP id j22-20020a056a208c1600b000daadbf7b96mr3950866pzh.21.1680680206283; Wed, 05 Apr 2023 00:36:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680680206; cv=none; d=google.com; s=arc-20160816; b=K76vtbU8+AtuNxFLkMg1K7ZIk5cshBdyniXyQPpR/vYUAY0CFasrq3Ac0zw3Fp1xyW 1HZHhcmCyvxB7zVFWpg4ncypiT/Ex/4s156CM1gOIU1TJjWJG7A8TZo8T90l/Ib6TYdO Ofcz/23TFqxYzY2BbDuknynGboph7qh5VSsRqsUrDA8wnYspBQgwbHY0p6Havb67KxQK KUQHqq8kfbjIB4dPKwuTvElXiok3ss/+FbTV7N7L1FU80c590WS2619lA3CXQHuK18zD IeP5w58Nmw0XfLPGcKyQQ8xwDzkAbB2yRIrYo8N0cUs30cu948q3m+WtYyHRcJWxMGxa Q6LA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=6lP0xe1rpfhrIkLyhMnO9naLS5LLel1l/TortX66fNI=; b=w0YOXPuVnwbN7m8UL/zs5gVel4KiRCHvsM0pQLJz+ngFlX6nH2ib6bC0o4edqDU+Yy RO4S22lqzFeK0LnNMGfkijp+sqZa9wI8L8dfMAJoUgPoy+QdNWdrYLFdBHZ3cnRLzRjb FIxkhg04FBeDhgrKQX8tiGb245D1UyxBPaHacTDG1DSx+9UyeyaW8sOvjGhei6LXlmU1 9pmL9wt4IB7Wnjq9uzyzkAS/wqjzXGHD/WhbZaIlUwLa29wNHWuij6l2pt1OEECBJxZs a87KdiPeskudHuuHSby2hA8KSIbNggAeJrPsSF2cae4FFST5vIonxPw4FaMiGRxWoy03 GBhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JaMs1axw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t21-20020a6564d5000000b004fb961e0592si11496562pgv.565.2023.04.05.00.36.33; Wed, 05 Apr 2023 00:36:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JaMs1axw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237154AbjDEHbf (ORCPT + 99 others); Wed, 5 Apr 2023 03:31:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43804 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237153AbjDEHbP (ORCPT ); Wed, 5 Apr 2023 03:31:15 -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 DC1BA5587 for ; Wed, 5 Apr 2023 00:31:09 -0700 (PDT) Received: by mail-pl1-x631.google.com with SMTP id le6so33628309plb.12 for ; Wed, 05 Apr 2023 00:31:09 -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=y0xzCNdKS2aFLBPprJt/X8LWtyw6w30bW+q7v9brcOGaXzgP/ir9rrL6F/+Vutz6hK pOG1qn+a67kfcHZIvZpIQxltuO/y9J5ZkLz8xulQePMnQ+PikETf1cKGO48EMtDzZSs0 wybOktJ/LjC3Fl9Spv5dK1yj4s+spg0nqyoF6+ec+KZmYzwzR5b9QXuprzJd+UHir/Th Iiy6Cob7w6ZFQz1oOmIHEIQvPVVMWyzBMZTgIIXpu4LPbRMsBff8DpzxAO/B7bxkcums WdaqlS94RjCRWlIKmoiMQSQe2TcYTrPktB8xPckBUHCNARx1rn/i+AzacOrxOr2stujZ AADg== X-Gm-Message-State: AAQBX9cl5TQlwEZ1LArdt9ugx3yP2E/8MIq/om5+S/HgdSp9tFzgB0B0 uwtvoNq9BizljLCX3dY1vKOSUw== 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 X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762320927880106062?= X-GMAIL-MSGID: =?utf-8?q?1762320927880106062?= 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:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 79480 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp122702vqo; Wed, 5 Apr 2023 00:47:31 -0700 (PDT) X-Google-Smtp-Source: AKy350ZezqJKYPVSc6sbFDxW6f95iWYQouG5g2GzQKmeBCA4HiLman/+PbJzeb51j/TVZ3jgPV41 X-Received: by 2002:a05:6a20:4e1f:b0:d4:fd7e:c8b0 with SMTP id gk31-20020a056a204e1f00b000d4fd7ec8b0mr4869189pzb.7.1680680851365; Wed, 05 Apr 2023 00:47:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680680851; cv=none; d=google.com; s=arc-20160816; b=LvmpBY8Wp6XwJrJQgXwTzUWbOdZ7Y8GnzjuiOAScRLxPtyfYu6OMVl+wfLNdqyTiUE 1VmRv8dcLTuo5DLYpoXuct25LdADKZyKEGDG9Twjx0DQTmsrBNpDqnCNnNk3Tb1Z1lOT 03f8Y1gByQ4cytHo9BCUQlh+rOZsyGoR6QB9X1FD2DymvBXYpiwPzNT/BSvNWYK8zxXZ cpAZtNtK0TFf0WD2tGWtIzQVI/RSsXnCyJaN5qcoV5J04nEcvPidfq7NtQFGZirm8vTd 58d0cfzO/jmTgFCyZe7nb0uRJwiX18JwfaPZfy0H32UJ9HT6uW8hYymjBuFfQl0EUva+ XpDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=95XsxTgkB2GAzmddgmc6dAbIYXeD7kFJ6rk9pNh2W3U=; b=Yi7Nc7nUuIInRz/HOPdVWFJA4FfPS5Qar9xgbH5xDm8/QyqSba2AvsZasZe3B+xKLI aqSZvjtJbGImna9z03r2F9uQAuNz8DVfThbqceHNuyF50D/vkzhgpRnDpQAohRt16oLG zjLwoYuPvq/k7N/Wdy5Gu9yEyH6qoBGNlS186ojzt/YyAv4+/jlUh61O0wB7Pu0y58+a P/ztjrfo+yCvVQCJr7uhZABOPKh0RwDH8EF1I5iZErRI6rVhO+RXCCuHCpblon7MFXYU iI4Rph5YkDgceD5UKiungE/IdpEDn8wh7KREoqaQ5eq0BX5u70Bp239pHAeePYcZljdU HnFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xzREHKs9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 13-20020a630f4d000000b0050fa5891fc1si11097115pgp.551.2023.04.05.00.47.18; Wed, 05 Apr 2023 00:47:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xzREHKs9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237221AbjDEHbt (ORCPT + 99 others); Wed, 5 Apr 2023 03:31:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44966 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237176AbjDEHbW (ORCPT ); Wed, 5 Apr 2023 03:31:22 -0400 Received: from mail-pj1-x102d.google.com (mail-pj1-x102d.google.com [IPv6:2607:f8b0:4864:20::102d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E04814C31 for ; Wed, 5 Apr 2023 00:31:14 -0700 (PDT) Received: by mail-pj1-x102d.google.com with SMTP id o6-20020a17090a9f8600b0023f32869993so38677246pjp.1 for ; Wed, 05 Apr 2023 00:31:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680679874; 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=95XsxTgkB2GAzmddgmc6dAbIYXeD7kFJ6rk9pNh2W3U=; b=xzREHKs9imVjD4eAgki+pYBd8JbeVuvYZRWz03MABUKHamm2KoCh++9bkm9YHhYl5X jcWsaTanK6ZPz9Y7aOu+dJTRTNxJJ6Nb+y4o1MzEqImyBbsLfQjF1ZMkkarWgJlAys66 L5hIExTOwYDxM7qMN8GF5yW+YtCzatlAIZl/fm4VGezCWwJLl24iOoBBAG0eJGwYw+oZ vw8comKMR7UD60sbJukP5Jrp4Ol2XKwWkZPdb4PU6LIO47iBTZmsh08D1ms1qqLE7xIF XLgZrQX9qfp6L2TNTTQcP9EF9VPpTjvBoWHjL/PYBjtSAs3um3jReSEfjHsz0eDHvUPo 5sgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680679874; 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=95XsxTgkB2GAzmddgmc6dAbIYXeD7kFJ6rk9pNh2W3U=; b=pQKHZT2MiHz99G/rDWqJs8Ugqz+QINdMp6BYFNsoVfI84NmkSg6gYDfY+ls4Q+4LmL AkFt8CX9XOdWuYacpLOzfd9MNpSgPsZL2Fz2JAlZWoIxIjMswuEdBnxtXSwhCFs7g5ZC O0AciorlJezWOUBbKya2ZrpVKMIaoAhkFXEky95WmAy2u1Pu6UlKZLQ+IarQ5TTzynKe Z5UUMVk0REYgts0xr1LWvmhRVRnYJgEzgyveEIS+o75+3ydFUOnRRwW8Q8+9uVdHaaNv 2AS7JWdPKDLYFdcYog0eXIGh/yjV2pkKzl7IyPuguUo9Bp/Ox+5HKN6HwuyslJg+Ue0v 5STQ== X-Gm-Message-State: AAQBX9eiSDWZQ3VIK85FhWth3l93mRqYpFNsgcDwV5irk4rRcPC7mdwk ojmdYeLMiAhGl9fMwr9DS08L9w== X-Received: by 2002:a05:6a20:3baf:b0:db:10c8:4188 with SMTP id b47-20020a056a203baf00b000db10c84188mr4249164pzh.41.1680679874257; Wed, 05 Apr 2023 00:31:14 -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.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Apr 2023 00:31:13 -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 05/11] dt-bindings: qcom-qce: Fix compatible combinations for SM8150 and IPQ4019 SoCs Date: Wed, 5 Apr 2023 12:58:30 +0530 Message-Id: <20230405072836.1690248-6-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 X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762321604374552733?= X-GMAIL-MSGID: =?utf-8?q?1762321604374552733?= Currently the compatible list available in 'qce' dt-bindings does not support SM8150 and IPQ4019 SoCs directly which may lead to potential 'dtbs_check' error(s). Fix the same. Fixes: 00f3bc2db351 ("dt-bindings: qcom-qce: Add new SoC compatible strings for Qualcomm QCE IP") Reviewed-by: Vladimir Zapolskiy Signed-off-by: Bhupesh Sharma Acked-by: Rob Herring --- Documentation/devicetree/bindings/crypto/qcom-qce.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/crypto/qcom-qce.yaml b/Documentation/devicetree/bindings/crypto/qcom-qce.yaml index e375bd981300..90ddf98a6df9 100644 --- a/Documentation/devicetree/bindings/crypto/qcom-qce.yaml +++ b/Documentation/devicetree/bindings/crypto/qcom-qce.yaml @@ -24,6 +24,12 @@ properties: deprecated: true description: Kept only for ABI backward compatibility + - items: + - enum: + - qcom,ipq4019-qce + - qcom,sm8150-qce + - const: qcom,qce + - items: - enum: - qcom,ipq6018-qce 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: 79474 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp117065vqo; Wed, 5 Apr 2023 00:32:58 -0700 (PDT) X-Google-Smtp-Source: AKy350Y+vVO8oLVuVBVJc1994GWSuGmA5tAJXtaasGoLPNXYWZBelLPGfc+iIkNTbvtGwCdkMqd+ X-Received: by 2002:aa7:96f8:0:b0:627:f756:b206 with SMTP id i24-20020aa796f8000000b00627f756b206mr4845943pfq.1.1680679978324; Wed, 05 Apr 2023 00:32:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680679978; cv=none; d=google.com; s=arc-20160816; b=D4z8RXKt/AL9yG4/t+ObQK4TEFzT+Vr5qgtYHN7yShO99SmQF8gohhGhTybOUiEvsR Sy+YytJG0bQzlZPXLFjqkJNtZESzxSwgXt0mlhHLl0KypA6m3yfG21US4OiXZm/KFM+u Gq1GhIG/JjbweOfUZVeqCXu/uVoWihXn/9dotr9Wiekq9xoVCWlt5viZAi9Cp273QDC6 SRlWKtloDO5b2x3yp2ldF4nq9Ev/ie74i0jkDCdjaaMl6rrY0EROAuTEmQwAELYFM8MD fo/FmESVs7G8cvZQe5HqEql8CEzCAwIXCu+Z20xfv/RkwufQXNF+wFbWWe6RYM9GOcaY XTUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ScrPtwLifF81mLBCSzco8cbRfT+aGGc+R4ZbxOTPL28=; b=GMzlf5S+cQnZYmwyVgiGLLBqZD2jvXfjCXv4mlEzmee9FBDD3Ck2I2J9pdkjwD7KQ0 n+MlT0G4Y+wUgntQKw27Zb+N4ZZXCLbfTCO53Q26s6N3M9xVBHXhefQ4dv4cN9qIgsN2 Hma9/ZL3Lbvr5yJIZSdYhyv9WukiEkqhFHKqLFj6a77+7halXyIkCnTCgeDy6GOCJMAu f1ETSw89YWHF5WhUXVhenoZhGxkruNNoCurF40OWQ8KdEdCJTeaMRvmOL/0+T0OoeiKv UmOloyv3+nhepEhPQKs3buqAyKCU9EcYD1YCrS8cI/GMmtrew2DzcD1k8d/E3fOW/Hr3 EOgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yo1E1yoK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x29-20020aa79add000000b005a8bf47f5d7si12312184pfp.207.2023.04.05.00.32.46; Wed, 05 Apr 2023 00:32:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yo1E1yoK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237151AbjDEHcF (ORCPT + 99 others); Wed, 5 Apr 2023 03:32:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43804 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237132AbjDEHbe (ORCPT ); Wed, 5 Apr 2023 03:31:34 -0400 Received: from mail-pj1-x102a.google.com (mail-pj1-x102a.google.com [IPv6:2607:f8b0:4864:20::102a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 298B755BE for ; Wed, 5 Apr 2023 00:31:19 -0700 (PDT) Received: by mail-pj1-x102a.google.com with SMTP id qe8-20020a17090b4f8800b0023f07253a2cso36398807pjb.3 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=STuL4fM+zePHZw72QrzvGA4xg+KmBlda4bjoaK/1qyqfwjSMdG7VSdeq0QZSYCbJ4B VFPxh2X10QlGcr3Yp8Ltg9/50WRaGOwRObB0VQNN44ddzeYIE0+SPhJYoFeFtt67UnPp DQOyI2O0Y7vVAu/BVOspnMzqDIR9NTquSr+ezz1vZ8gFFh7LYXEuCRAn0O8o/7/v0O4q Md1vj3iMkKplIqtJmP8KmYv6TOxd+2pAQSkzg9CbPCcmSUHiVBljSW9YgE/xVAP8FoXm LjQs+EhUm49MHL9HRVzrigHFShmYPTLjsQXmgB5RRsB++Sn48QV8L3xriN68tgtI31+c Sdxg== X-Gm-Message-State: AAQBX9cfSpjKXLUqk6a5fTlxG10/YEjl1RgmAHITVD9Hja/YREu+Uawj IYYmPCdeK6RckXVeZOvKEDEaIQ== 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 X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762320688709210117?= X-GMAIL-MSGID: =?utf-8?q?1762320688709210117?= 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:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 79479 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp122318vqo; Wed, 5 Apr 2023 00:46:34 -0700 (PDT) X-Google-Smtp-Source: AKy350aHi7zcHxqpGuUklxc9pFub1SCuAzuz6sjPlVjPnVr2e/00x5vdqbwxxm3bxlkojEz2P5I9 X-Received: by 2002:a17:903:294e:b0:1a2:2091:ee8b with SMTP id li14-20020a170903294e00b001a22091ee8bmr4876760plb.10.1680680794694; Wed, 05 Apr 2023 00:46:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680680794; cv=none; d=google.com; s=arc-20160816; b=iMBFW3tOX61uP++lP/lI/+vP63sL0Q+MvpbpM9kImLMbDNp50DeYSNiiKahtEESd56 IS/PwMw5Dh9Gcu+fIPhRbBFTyTRmxAnb18XYzA+oe3qPYD7Dk5+uYfCoZ7e6zucl1BuC urpAuAevaWS3vDXNZuDSR0W0NRp89agRwdeOiQjtBNrAIeU8ZlnJM9RZhxkKxCnktjT/ fWVMPAzv6EG8DuG4dTDZ0FbdZyoOdHNi8QUmijrcbVdI8AY2lagygg4v5S2Oqw9CZozC QEt011QhcLZ8wNj4aCdI3WmIv5RkTp/YKUsW1j+tP1nZFEjhSsz6i5P3k7NICYY6irwQ o/7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=PuEDYxPh1iqRLp/0Giai1ZnY3ruEMo64qCfhktsCtAU=; b=AZPzc4inPALCLbe4wxX+KMCCTGarfCPAofpAS6FqVqg6vWCf6LcNDQltYunBN4QkdC 3qT+X2sejkFiEtgUADyhNcTnpqlYvrB9jvD5DSnY/zucgbHuiKZ4/PPaRyQzgi5JLt/C XlshstDco3aKRuOBIHfN2uYLPiBq7jsJJa61fuGSdOeIKYME1VRAvj2IQGUj4ZK10X7f oAKZcDaW7mvqblqdjopsCIbxFjzjwO21bIDLmB0SIjWxMYdevakdocTY+HvjIqlCO1Nu cOuumhNoqBZq76N/kKXTxx64tJ2GzCXSmau3z6tTfJoPqGJRmzUfvQTd5EjYJHq2l31g gPCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ElPO4X4V; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p17-20020a1709028a9100b001a1abc91980si11670932plo.211.2023.04.05.00.46.20; Wed, 05 Apr 2023 00:46:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ElPO4X4V; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237166AbjDEHcO (ORCPT + 99 others); Wed, 5 Apr 2023 03:32:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44928 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237150AbjDEHbq (ORCPT ); Wed, 5 Apr 2023 03:31:46 -0400 Received: from mail-pl1-x62b.google.com (mail-pl1-x62b.google.com [IPv6:2607:f8b0:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AC98859D1 for ; Wed, 5 Apr 2023 00:31:24 -0700 (PDT) Received: by mail-pl1-x62b.google.com with SMTP id n14so17787520plc.8 for ; Wed, 05 Apr 2023 00:31:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680679884; 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=PuEDYxPh1iqRLp/0Giai1ZnY3ruEMo64qCfhktsCtAU=; b=ElPO4X4VI6hM3TLE2EKMn0hQnqxOq5LnXCJzh/eljphQ7I0O659V/gE47hUOQih6xG /0Q7tWMa2VEyuOd+Qa6NyDazjs/jrasx5a9bFXnR7BLFGayV2zn4Cwx43WxCSeQp9o9I VncHVpVDvSrXpnOHCdqlWm/dEN7lJL9bncJUBzjZ4jTwJKnTy898QFafyHM+P2U4O6FP fU+5yhJkv33XEAjfw+WgDugLQ4KbUj0aMxyH5BZG+8NetNuJmrrB+23e4ZUVoBUwPZEy MYiDOimhwl6Xawau8UjLZP0o1bojBJdSLH8CF9ycDs3DEV8NFVdjFotNENwbUYL+1U0/ 8Rpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680679884; 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=PuEDYxPh1iqRLp/0Giai1ZnY3ruEMo64qCfhktsCtAU=; b=s24qYFAajFdNNqOipaeFTuEPqbd3eFm7ur93fyAcjAZB/GMqX8LK80gznM/mS9+j1h pT5jSJJ79xv8WVSpmnAdWCAN7gjma8Zasau47lTfETqDOhfiqZxr49pW1SXMo+pU549g O9zkq7DU5wEok7hj3QcRhh5C1ch0fVLE1i+uvgJwplp2KhJB+OJ+rxskveE7kw8DRO31 uxiIsn/5ekF6LsxOpNRJB8BC5ex4Sv7A32kOEGGrlS7S46earQRS6vppAwM6A1ZKFFh8 2pGNDeAIKf+jHh25kHizMwOHygWfhaK1+MuIhhaLEvPSxm8O0SglcyTT9s9zhtj2WATs 6JnA== X-Gm-Message-State: AAQBX9djsfVGQ4pq+ve4E/PDJL+Qo+hIRIoT3qOHAJm+YFVTpdVBcao1 p306sQl5TUUnZ2RAVUVAt3k9mA== X-Received: by 2002:a05:6a20:811a:b0:d6:8c70:85ce with SMTP id g26-20020a056a20811a00b000d68c7085cemr4102017pza.54.1680679883953; Wed, 05 Apr 2023 00:31:23 -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.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Apr 2023 00:31:23 -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 07/11] arm64: dts: qcom: sm6115: Add Crypto Engine support Date: Wed, 5 Apr 2023 12:58:32 +0530 Message-Id: <20230405072836.1690248-8-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 X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762321545186889295?= X-GMAIL-MSGID: =?utf-8?q?1762321545186889295?= Add crypto engine (CE) and CE BAM related nodes and definitions to 'sm6115.dtsi'. Signed-off-by: Bhupesh Sharma Reviewed-by: Konrad Dybcio Tested-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm6115.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qcom/sm6115.dtsi index 2a51c938bbcb..ebac026b4cc7 100644 --- a/arch/arm64/boot/dts/qcom/sm6115.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6115.dtsi @@ -650,6 +650,28 @@ usb_hsphy: phy@1613000 { status = "disabled"; }; + cryptobam: dma-controller@1b04000 { + compatible = "qcom,bam-v1.7.4", "qcom,bam-v1.7.0"; + reg = <0x0 0x01b04000 0x0 0x24000>; + interrupts = ; + #dma-cells = <1>; + qcom,ee = <0>; + qcom,controlled-remotely; + num-channels = <8>; + qcom,num-ees = <2>; + iommus = <&apps_smmu 0x94 0x11>, + <&apps_smmu 0x96 0x11>; + }; + + crypto: crypto@1b3a000 { + compatible = "qcom,sm6115-qce", "qcom,sm8150-qce", "qcom,qce"; + reg = <0x0 0x01b3a000 0x0 0x6000>; + dmas = <&cryptobam 6>, <&cryptobam 7>; + dma-names = "rx", "tx"; + iommus = <&apps_smmu 0x94 0x11>, + <&apps_smmu 0x96 0x11>; + }; + qfprom@1b40000 { compatible = "qcom,sm6115-qfprom", "qcom,qfprom"; reg = <0x0 0x01b40000 0x0 0x7000>; 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: 79481 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp123622vqo; Wed, 5 Apr 2023 00:50:01 -0700 (PDT) X-Google-Smtp-Source: AKy350Y1nLgmumFgji5nCU6AtSZRGzAFhUzwJYg6cMHQerJSsXGcz3O7Ecgm9+VPB2rc4VwVvqYa X-Received: by 2002:a17:906:1741:b0:92a:77dd:f6f with SMTP id d1-20020a170906174100b0092a77dd0f6fmr1673913eje.73.1680681001444; Wed, 05 Apr 2023 00:50:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680681001; cv=none; d=google.com; s=arc-20160816; b=Ttl6VElcNEwziuKQFv+RkC3ZPD4q/h+mbV15HCmBB0qJn3nS0ZB7OiLryhj6/F+sRu pW71cXeJubKUg9AKEbnpWUM/qh7fWMSvla9pSwioTLOl1MGUvJ3ixM+ecdIe6Q/cYvCO 7gqlqGaVamK1pe28zyX9Akh6uWlYzhp4krFOj9dKi9gGMscKe+IU8UhGvuVqJLeSVYTP ynasn9TSQtS8LENCNJtAcdF5L/KWb1GJeS/odLKXCiG4BU/mammuiowmiO5xnIeLtukb kkLZsD+xefUZUnCR6+eP9Z/P01eXXnjA3X8Ug9KpvSth84HDjuLQQdjRNSlBAtboW5VT RJNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=3MVums2xGimULwLAksXbnkYaopPwvTqx5iwZKEFGpjA=; b=WNU8Q7CIbQxN0SNF6jiLlNpWatl+kdThfaxBzwX4Vsv9KP9HA7GMbUCKBHBHhW+XSe o8o2t2vve2pY8zpNAnzoMo88RBp7mMPm36GJ9yuEHnpDFrvtwGHKEcaJRffoVI/yITof GtccLFJIIWrI6+zTUslZvHNp1JvGBAMlckEN1qaD407OUIzcbFSlA6+osOmxVuUEt+y+ ZKuvDiVBzaAmW5yaDZF3cG9mZHHOcR9PyGoXY4+302xK5gg13SXx5FRxfZN9EGXEprBu YAwFE6qiojf0onok+kw9tL+/rAzdIjpuu4dilbFrgoAte+KthcHqSKFyapHjyYamCXTq S/wQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zGOdeyUu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a21-20020a1709063a5500b008b223aa7a2dsi2571810ejf.734.2023.04.05.00.49.37; Wed, 05 Apr 2023 00:50:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zGOdeyUu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237109AbjDEHc2 (ORCPT + 99 others); Wed, 5 Apr 2023 03:32:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45490 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237190AbjDEHb7 (ORCPT ); Wed, 5 Apr 2023 03:31:59 -0400 Received: from mail-pj1-x102d.google.com (mail-pj1-x102d.google.com [IPv6:2607:f8b0:4864:20::102d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3693159FF for ; Wed, 5 Apr 2023 00:31:29 -0700 (PDT) Received: by mail-pj1-x102d.google.com with SMTP id h12-20020a17090aea8c00b0023d1311fab3so36429936pjz.1 for ; Wed, 05 Apr 2023 00:31:29 -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=3BtfrUQO8v95XHb3sxzFalrB1hcBmDaqiH81PUHtpvi91LiV3EaUoPpkVRJCP7bUFZ n/lq76wUcV5JOTiDbxZoLqt/vCEu0JtOhVHZ/t7pXvSrODo+cGfK7f4w3J3iD/AcP3OO 7OkRGnXjaAsLXoUK0GbIeVjJVAVRq9sntsnGWFpFNeKmCzrva3fCBwvzhSM/9QhJv7u1 6XiaN6CcDX59J+69txmiiwMRsxofWc9otD239rseFPaZjkvl2D4dl/og560ndUprcPIS sKpzpXSSAO3rpQy2VqfkrjD9ex3rCHePrXUBYZZ5BeEl4s2ZvcisQS6sr3Pz385cXjSc mnpg== X-Gm-Message-State: AAQBX9e1EY6Vtf7YLkV0JZ+t1ImqgnpEmT2b2Vf6IMQBfIQBFjIUwYpw ZEwg/H1xKgt7i8p5hXj4HGfU1g== 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 X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762321761779349593?= X-GMAIL-MSGID: =?utf-8?q?1762321761779349593?= 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:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 79482 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp124005vqo; Wed, 5 Apr 2023 00:50:59 -0700 (PDT) X-Google-Smtp-Source: AKy350bQj5xwAOXc74Z9vwLLm3nJXEUAxfYZyFCmw6UcS5Mo1YDjQYvSK9M8dWBK1xNGIWyBfWC9 X-Received: by 2002:a17:907:210b:b0:933:816c:abb9 with SMTP id qn11-20020a170907210b00b00933816cabb9mr1367560ejb.36.1680681059301; Wed, 05 Apr 2023 00:50:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680681059; cv=none; d=google.com; s=arc-20160816; b=ntBwv2YbYkwMPkrHbEnEzsVmawoG8isJ6DVJbpOH3KxEO3Wm2WuOm088mnid5nFoj5 OYih3BIAropwbS7BpxHAhmQMqaHNACnXL5yWlMETMW7hWsVuU8cknecd35dZLNNeYdCy X4PX3hH9I8j8eYdZ3dQxGEP7R2rA2B2b5sVX003BgwPq+e9DrOjRK2g2wpE8xHjAnNNH 6eiCl06SK28scJ38fxjJ4RUbI56nFU5ywHGFd3ESFQLpK/4MfnkGdgbCS417HS8CRCST v5RhFi7mVT6WR76knSFypCM+p7/ptO0lXryjdaDKOKmD9TJkGI4eNNVYsGGDhmLwEp7d kpHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=9Gaq2pRYkVNQyPJ3XRF2sgEEJ7K2B6BxZF4eeMfjNR0=; b=zbTV9+TgnBgKmNh6NySTEjhykfo0XXKtt7hKRcENq3oLnTLPy/Mgi68474Y7EBts0A m4rBwHgU9TiLtFPBD7PsTuzMVjXzRuqqivJuKEW9zaMFz8W86IKzeKATU1a31ntlXr9t ZOIYPkGgrADgVoJ5wuqbgfCLcOuV1sHGrvlT5VN6FcQAezCIG9cSPEp5kpzMn0DSlYND FHaeSwTpsOQMKh08S2JQMg86vfEwCxQ9oDrr4gYDiv2sN7KtQvdsTXTTnjEHMmPszMKF L3VznoYm9TbjCjmvZY4OW/Q/lcYeRtVI60kVTIf2pvRmmkm+4xxrB0i5BCOR9SHUxdtQ eZ4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sP7sS68h; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lg12-20020a170907180c00b00947fbba4dbcsi2580193ejc.727.2023.04.05.00.50.35; Wed, 05 Apr 2023 00:50:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sP7sS68h; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237232AbjDEHch (ORCPT + 99 others); Wed, 5 Apr 2023 03:32:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44000 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237230AbjDEHcL (ORCPT ); Wed, 5 Apr 2023 03:32:11 -0400 Received: from mail-pj1-x102d.google.com (mail-pj1-x102d.google.com [IPv6:2607:f8b0:4864:20::102d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 641705270 for ; Wed, 5 Apr 2023 00:31:35 -0700 (PDT) Received: by mail-pj1-x102d.google.com with SMTP id fy10-20020a17090b020a00b0023b4bcf0727so36457630pjb.0 for ; Wed, 05 Apr 2023 00:31:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680679893; 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=9Gaq2pRYkVNQyPJ3XRF2sgEEJ7K2B6BxZF4eeMfjNR0=; b=sP7sS68h2FAazHX86fDCKwccRvVNAqMaPtueSGthkXm+M4INc6oWeaYuqNy5Yxj9xf 0Nqlcj206UEBHRHRy96fvpZbds+vcFHbJpIVtrXxqla62gsr964OcUGmQxzUvxV+AMIH hLpMymzQmkryiE3MhEy8xq6LzEZLvQ70j4gOL/scP0IMO9KqA+7G+/ZtjuiBugO4+BnU qEj2PaBiAIRcUevZYkHQaKigfNhi1j4c9AhQfGaGwt9Ni8fyeXRTWmYIjZp0KN1j9sVE MgawJ1N6nycm5N2BW8WnfFBkou4dm9/WGMKzudX/6b+8e6VBnBN/bk2GhcQzqs5/ya0M RP6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680679893; 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=9Gaq2pRYkVNQyPJ3XRF2sgEEJ7K2B6BxZF4eeMfjNR0=; b=LoLwwXibf8Xy+ELmQ/9KXb0Bx2YfaOp2dxDgwM5oSavO+Hd3sz1oLgtI48wci5rlNk ku9xkhLPQ3Kf+RXOe7jQ2qKFuKi3UWqJnclFY1ozfjqvxmnJ4ydbwqQOSLbnH+hhjsCR 9LV7rtDjpNR3JTINPLjJftLRpfIaEXNJYonNDy0X5r9ejVzzHXuKa/k+7lUUJn+1qRxJ JAecxHJFV6IkutT0YPhzvgcKriek07IFuMyuyMPM8j84pxtfzPWs8pq6AorZU3UHMPR2 BGdS7R3+QF2xUOkdbno4sa7hL1P1/5akDRZDpCrGlpF4lnDcTAEjD0B6FWomlZDS6Q5A fwlw== X-Gm-Message-State: AAQBX9e1ctpdrIHkgZVL/ByQ3U2eKaOWXLRxZjXBpWfJrsDmR+EHQ+hO Q+hgyDeheBL2XHoXT1w8DcHHig== X-Received: by 2002:a17:902:d2c9:b0:19d:7a4:4063 with SMTP id n9-20020a170902d2c900b0019d07a44063mr6858595plc.46.1680679893677; Wed, 05 Apr 2023 00:31:33 -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.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Apr 2023 00:31:33 -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 09/11] arm64: dts: qcom: sm8250: Add Crypto Engine support Date: Wed, 5 Apr 2023 12:58:34 +0530 Message-Id: <20230405072836.1690248-10-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 X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762321822173542896?= X-GMAIL-MSGID: =?utf-8?q?1762321822173542896?= Add crypto engine (CE) and CE BAM related nodes and definitions to 'sm8250.dtsi'. Co-developed-by and Signed-off-by: Vladimir Zapolskiy Signed-off-by: Bhupesh Sharma --- arch/arm64/boot/dts/qcom/sm8250.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi index 7b78761f2041..2f6b8d4a2d41 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -2222,6 +2222,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,sm8250-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_CORE_0 &mc_virt SLAVE_EBI_CH0>; + interconnect-names = "memory"; + }; + tcsr_mutex: hwlock@1f40000 { compatible = "qcom,tcsr-mutex"; reg = <0x0 0x01f40000 0x0 0x40000>; 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: 79476 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp117834vqo; Wed, 5 Apr 2023 00:34:41 -0700 (PDT) X-Google-Smtp-Source: AKy350aNzV/YAUhHdBTvWUQQg7DLT3IUlVfAhGNF1ALetCdJ9Gq/kJEumhV9K/WJsaOEySf2wAWJ X-Received: by 2002:a05:6a20:89a0:b0:d3:78ab:77c3 with SMTP id h32-20020a056a2089a000b000d378ab77c3mr4516593pzg.48.1680680081439; Wed, 05 Apr 2023 00:34:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680680081; cv=none; d=google.com; s=arc-20160816; b=B8jo3cY0LlQz58xjNxBbdkm3mjyILXluT4htNQYp0hyike1Wzqrls2HD7+iU6Ty5/4 rs8hdunxlmJMGeion181nsSvaDs9rW1bCTUjAXDLbzTLINNq1ueHW3yCBxdnHpUb9Vyk u7vWyIRXSnX0vKh0YVtcvoztG+hkiWUwTqozVRupi+a6Vcsj6KNmfA8zc9W7BmuwCveQ Fa4Im4O8I0dSN/cLIlTJsNoPZov6iwoN5ckrLNjUF4wk/Nzdh39aPpZsV0xzEx/0cuQw N/5sMD2P+E60Gnd413RUNX+fR2bDN+XVl1wh4kLZv4R6RuxzAzsxOUOhG/dA7mCBP69m J0WA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=f/RYbIoQQSZn/Ts++Mp2c4kDKlRAoOOYD0ApgKEdtIA=; b=OnL3EP2HQ6e2DSiMZQS/cQ1hNXBNU5W7/X9veaYbUe41y1e/XHJATICtMUnfc3IAy6 XW1mpKzLKxIj0j5e19atraF5CWOAJDyliVzaGUYbnRp8DDE6Bkp9N+13H98i4aM9iS/2 HbQUGV3So8pGW3WcoYqLvBSUj+EVafxfx4Rwln0PyX4JwDZm1VsX43aGXpsVSgKMG/9h hVJCf+USq6WDrktSfOwU+FSMxpvIX2hSE+5jyDCIaJaKHZkeB0pvu1G7woUyG7+9aoXa HDxb8UNZ5guJmYRamv04pNQpKqJvQMwjj38cL+UpIWhZEwi2UcAJF/1pyrbYEfMcNiqu Hyug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lyhGsVY1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n9-20020a63e049000000b0050be692a718si11865149pgj.530.2023.04.05.00.34.29; Wed, 05 Apr 2023 00:34:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lyhGsVY1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237239AbjDEHcm (ORCPT + 99 others); Wed, 5 Apr 2023 03:32:42 -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 S237172AbjDEHcV (ORCPT ); Wed, 5 Apr 2023 03:32:21 -0400 Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EBA755B83 for ; Wed, 5 Apr 2023 00:31:40 -0700 (PDT) Received: by mail-pj1-x1030.google.com with SMTP id e15-20020a17090ac20f00b0023d1b009f52so38680487pjt.2 for ; Wed, 05 Apr 2023 00:31:40 -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=QVU4I6lScWzDDgT3pPyPMuxdyfV7wXdvmnrJbe6JmJfeWMPVJ1hInpGt7lwPtbIM+S XO/8/tIR/tlFNRCREQsfum/rsgwtoS/AN/naqcgIimkHnh/igJaMvOMFuBMsx2beW2/k ZsAtgm60JauJQqT7XR4ItaEns5fJaycWA98ab6bqlYwR1K7UOGX6MeWw8TP/kY5MU2Pe 4ewFvCiJpUEqiUShr9/jC6/Zhk4hXXZS/53Qa16c9E7kM+DiE7/VQ/l56vgppUQevZ5/ mnOJeYW15FYWq+GBokpMq1qI6g74DeLmW9MPGLo91Yla2uIJXdwVCcBGjfYx7XxsvABE y/aA== X-Gm-Message-State: AAQBX9fcjclQUA0RUHjCDbfqk0ssgyGv6pSQlOdw6ck7zgYb2Id+vyR0 YFkHSjA1bRGlDjUrfPvLxkdBaw== 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 X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762320797576963935?= X-GMAIL-MSGID: =?utf-8?q?1762320797576963935?= 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"; From patchwork Wed Apr 5 07:28:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 79475 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp117585vqo; Wed, 5 Apr 2023 00:34:10 -0700 (PDT) X-Google-Smtp-Source: AKy350Y9Occ+83sRP+hSSwh6grAHh4wt1k3BhEWE4cYrI3oUU9E/5vaLIpkpUfc2F0jQO0UmIq7L X-Received: by 2002:a17:902:f687:b0:1a0:49eb:4cb2 with SMTP id l7-20020a170902f68700b001a049eb4cb2mr6562880plg.13.1680680049877; Wed, 05 Apr 2023 00:34:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680680049; cv=none; d=google.com; s=arc-20160816; b=wYZ5zx8uQBhq9rD/e6w6lQ1LuzJ4jdBjd/jBG7R2V3WP2ghu7ThtvrZbLnP2QAiJ2B V74IpY7tKXEKU7GISgKiCKLcAhcsZiqUgm7DQFxviWjME0kvunKJpDbCYjwBuEZPXq1Y DwKS5OIWiHIJrdDtl7svmtuylPsFUSgpZjmX6MvwlN+Y7BxDoWUm+hOqGUYLVg9FDNN5 NL6v5dANDaNLFENUEL2+s+4UpHFisJQK61cUlLE2L/IMwzEExR/m7T05Tf0uA15NWdSz GwLwlOXMQmw3Y8tLb4eJoA92+ob4lN0gtNVstZ6XxAR64zz0NQnnAQ3WBGSVnRHOqIGw Hxcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=9oFHBwDflAuoBx3nAvQZJqLFUNje4jYksqgr3MUJ8Rg=; b=npkuY+xwZCag3vabKDgGY4ydDrnsBnxJ4QYP8MpzdaFEKk3HnIfoNGIgOFd0s53hex ANeTD3pQRCK4kmc+atXClfbpqo7XoOEfPz/DPzGeK+GauGC+GrK/bgFeVdXcR3MmAbMs ftUFsWM+KhVLMPldaT8j8bJwgJ0YuQHSdxxN2ApBNidTJxaT0woI+Oh/Aj0za4S2hGEm bCvC62XY+QsQG+co2AVf+LLLAblCc4Q6lIsq+hL0GK80qCbzeQ6uctSYDiSLLfOFByGu jlWfyQ/Jl64BU8fszl0kTwMRtEKYxNxqajzAExwmPbGQiED4KJj1SNqY6CzfFjnkCb+a lCXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iXUMZHc4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k14-20020a63560e000000b0051323bc5056si12003482pgb.860.2023.04.05.00.33.57; Wed, 05 Apr 2023 00:34:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iXUMZHc4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237267AbjDEHcy (ORCPT + 99 others); Wed, 5 Apr 2023 03:32:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43984 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237096AbjDEHcZ (ORCPT ); Wed, 5 Apr 2023 03:32:25 -0400 Received: from mail-pg1-x529.google.com (mail-pg1-x529.google.com [IPv6:2607:f8b0:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B5C0059D4 for ; Wed, 5 Apr 2023 00:31:45 -0700 (PDT) Received: by mail-pg1-x529.google.com with SMTP id l184so12060353pgd.11 for ; Wed, 05 Apr 2023 00:31:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680679903; 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=9oFHBwDflAuoBx3nAvQZJqLFUNje4jYksqgr3MUJ8Rg=; b=iXUMZHc446PS3IQBnpaoYwlsVWtesXSS14qR/2raGp8D9arZ2hC9sa7ua9uL3LlVWz ODVIdaWILyr+HCGJo8szz2pHi3D19q5+yC2y3dK5Ue2H96BOwQ7Bx9GedzGCAz0TSqzQ yLnvyeBLmNEoIveXrjAFAzyx6gjpmqkCFwz0gyUerlMBPip6iTofHr3jRF5glsxqTL3Z O5oGrcm8Gr7qkVYb/sd3WePQtA5khwlR2liNu5y0GiyN/JA+z50i2VAsfp1VV2osfDBT s078Ck6ypD0yAnFyG7Kv0NmlgK94VgCD2CKuLabl3K+D4yGbBCW/HQC8L0g8o3lfeCnY baEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680679903; 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=9oFHBwDflAuoBx3nAvQZJqLFUNje4jYksqgr3MUJ8Rg=; b=rVOFmfHRUxxakn5bZzwSOeqtQuXBqOwoM9efj9yKjuChKnUbjPe8/3olf0RJkLNVnS i7kG89rNGwlfrWc89DqImjnifZDYTfqC2vda664CBysD15vJew6DogZSVzKNuTTgzu2O D+RWnCCrmN9u8Afljn448tUCgCqCCP+PGMyMJxIqB3SgdXcwtKCitFhu+qUvjAVgZ287 YMI91QCE2S9SL9Rsu6jY5nDzWdgfD8YTRXkeXDV4Ui+uLjjQw8GEjvQsArg0COn2hkP6 Xa2CC0vtQzU/uBEIv1o8L9P1xYkKqum5GL202zv5QnJohXH+lkxmUB5W7uzDCfjyr4Z+ GPxg== X-Gm-Message-State: AAQBX9e2n77IBYHEaUoSPSJu/Gp8FXLz4uVfuMna8Px9/snHyfYxRNl5 oKiycYFb6SndzwnoZjgp6VSXtA== X-Received: by 2002:aa7:93da:0:b0:62d:d748:94d2 with SMTP id y26-20020aa793da000000b0062dd74894d2mr5410013pff.28.1680679903377; Wed, 05 Apr 2023 00:31:43 -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.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Apr 2023 00:31:43 -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 11/11] arm64: dts: qcom: sm8450: add crypto nodes Date: Wed, 5 Apr 2023 12:58:36 +0530 Message-Id: <20230405072836.1690248-12-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 X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762320764051186691?= X-GMAIL-MSGID: =?utf-8?q?1762320764051186691?= From: Neil Armstrong Add crypto engine (CE) and CE BAM related nodes and definitions for the SM8450 SoC. Signed-off-by: Neil Armstrong [Bhupesh: Corrected the compatible list] Signed-off-by: Bhupesh Sharma --- arch/arm64/boot/dts/qcom/sm8450.dtsi | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8450.dtsi b/arch/arm64/boot/dts/qcom/sm8450.dtsi index 31877f18dce2..d7a28cac4f47 100644 --- a/arch/arm64/boot/dts/qcom/sm8450.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8450.dtsi @@ -4146,6 +4146,34 @@ 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 0x28000>; + interrupts = ; + #dma-cells = <1>; + qcom,ee = <0>; + qcom,controlled-remotely; + iommus = <&apps_smmu 0x584 0x11>, + <&apps_smmu 0x588 0x0>, + <&apps_smmu 0x598 0x5>, + <&apps_smmu 0x59a 0x0>, + <&apps_smmu 0x59f 0x0>; + }; + + crypto: crypto@1de0000 { + compatible = "qcom,sm8450-qce", "qcom,sm8150-qce", "qcom,qce"; + reg = <0 0x01dfa000 0 0x6000>; + dmas = <&cryptobam 4>, <&cryptobam 5>; + dma-names = "rx", "tx"; + iommus = <&apps_smmu 0x584 0x11>, + <&apps_smmu 0x588 0x0>, + <&apps_smmu 0x598 0x5>, + <&apps_smmu 0x59a 0x0>, + <&apps_smmu 0x59f 0x0>; + interconnects = <&aggre2_noc MASTER_CRYPTO 0 &mc_virt SLAVE_EBI1 0>; + interconnect-names = "memory"; + }; + sdhc_2: mmc@8804000 { compatible = "qcom,sm8450-sdhci", "qcom,sdhci-msm-v5"; reg = <0 0x08804000 0 0x1000>;