From patchwork Sun Apr 2 10:04:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 78222 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1663074vqo; Sun, 2 Apr 2023 03:09:13 -0700 (PDT) X-Google-Smtp-Source: AKy350ZLM1gv23USfnxxG8OpxQ5gLhv6vu7Knc+/pfDBqlvwIPqNqx9wdW3GWZLiybjE7OFjv3T3 X-Received: by 2002:a62:605:0:b0:625:ea57:389b with SMTP id 5-20020a620605000000b00625ea57389bmr29435512pfg.5.1680430152876; Sun, 02 Apr 2023 03:09:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680430152; cv=none; d=google.com; s=arc-20160816; b=qICacVq8GtlnNgT7zt38L8zJLfr6+0gT0Ysc64yDo6vDHckM+/GfwOd/m63FRfnbNp CmA3nxiklY51YnlQXxe4UAud/MIYUqhMUZ2ePy1RkafANUvSaOxKmkBzbszbw0nh+Cbg OTPLpcVCohsvESUrpezgXsusjapWLu5zHxD5GXGAT7O5SS3d3NHu+PdzLNxROh0XLsbr G7eGfrqhpczyVrvZwfbSKUUils7aK1sdAt9OooYwYj2RgNcRM2EzdbZcyboErFrvEKkR P75S6qiNHX3i7n/b4/jXiJxxAm4Ct9UJB0Jkhs10AwurLa2c8SsYtnRv6ythylIZSKNy lR1g== 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=7cyyEvHEssezG350mcxRNL9zoyy1P0FugZ/giQ7ZT0E=; b=HgyX/P4F9/5kukXYJNpT9oQ+WNG2oZaO6Jy4+aRFv5jXLcGXCd+bt8P7R0wgHBCLdh S5HrIvGB8RlWS2NvZxfsrRciCXggezUiLjpJcxg1hf6smVknAtvHBvkja3vZ7g8RI6dg fV7+37r8DcAuKaAYfH9icXAVmzImogWLPsOBymu8CUlyaHQcnOv5c+KQMprsCWOtrTCJ KxZUxVX7bMu5/PwffZS7dIQDVGT5i96NQ5JUEuU6NPxzmpPN6f4L9gWeiQ6mObcydM6u HPiQOxmGBEVDPj5On78JWp0G/7YhwplHT19FU7gt+x2vF9YIIVqd+38fG0wRxVzRAiIm a+5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="A5u/48vX"; 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 k10-20020aa7998a000000b006263931f58fsi6422631pfh.348.2023.04.02.03.09.01; Sun, 02 Apr 2023 03:09:12 -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="A5u/48vX"; 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 S230189AbjDBKH3 (ORCPT + 99 others); Sun, 2 Apr 2023 06:07:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60218 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230394AbjDBKHZ (ORCPT ); Sun, 2 Apr 2023 06:07:25 -0400 Received: from mail-pf1-x42c.google.com (mail-pf1-x42c.google.com [IPv6:2607:f8b0:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 76D6D76AE for ; Sun, 2 Apr 2023 03:07:24 -0700 (PDT) Received: by mail-pf1-x42c.google.com with SMTP id y2so17317002pfw.9 for ; Sun, 02 Apr 2023 03:07:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680430044; 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=7cyyEvHEssezG350mcxRNL9zoyy1P0FugZ/giQ7ZT0E=; b=A5u/48vXC2EPO/GAEEDGEcOmU6s2Yz2M0iY8Ge335JaUSCOQfJUfsgjdqta+D+ax5o nF6OvwGhcK8gM7p4/UlT7+OM74gJuj6nMwNjcAqQmfxtpWoQVnW1pYfSvnSmpRfo0Ck6 CC71p4rUn7Awt6VUBwu335Nd0kZoHlq/K6arUWd+YgcE/VnBoYA/krYx3Bpnp9Hwn8mQ Mpy2gDchRhSx5JHdDvKvEvi1TK5VPtZIiUfJwN1jxHtMwtonKWcXInqqhmx753FLIiTW YiCrggEQVPcfj+e+X58Z7FTginb4OadPxCpJHV1jZVZasZQ2fG/+YB6zLRCDaDUoqM6x VDoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680430044; 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=7cyyEvHEssezG350mcxRNL9zoyy1P0FugZ/giQ7ZT0E=; b=8SKe8srbeE6omLq5bCpDc065y2tqMzXgyEp6P91IWKYt3ca/VDbN+RHkxJsX/Mwp2J cw01RuY1vswNn2kCRmOuCtXOm26F4efKKeLI4rc28HxCsJsuglQKkQiFEG6jL3b2oOCB 6F2x2wwO6iatnBVB3/9EM3xI1rYHFM6CqLZMMuz0OF/vFVLsuak/x4uknTZQHkKZODT2 7ZlysuoMg5twRQKeTvpxxoHq2zrsKjmqHYiymHt80Uf9ByeT4gjmyl2IfugViyAGmHbV lZCkSyqW4xav5ETK9yZCLcfvsgm2yCqx1W5EIItoLKA1Bi19K3rYExEuogvnmwzyQVlr zn0Q== X-Gm-Message-State: AAQBX9cUZxmAqlnhiX6UD9VAwO4SjQccOn2ZojqLIWOp4cd9MQKTzLAj ObxXjWIZ6293Up2vGJCfJ5JR7g== X-Received: by 2002:aa7:9728:0:b0:626:17b8:8586 with SMTP id k8-20020aa79728000000b0062617b88586mr32284202pfg.30.1680430044139; Sun, 02 Apr 2023 03:07:24 -0700 (PDT) Received: from localhost.localdomain ([223.233.66.184]) by smtp.gmail.com with ESMTPSA id a26-20020a62bd1a000000b0062dba4e4706sm4788739pff.191.2023.04.02.03.07.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Apr 2023 03:07: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 Subject: [PATCH v5 01/11] dt-bindings: dma: Add support for SM6115 and QCM2290 SoCs Date: Sun, 2 Apr 2023 15:34:59 +0530 Message-Id: <20230402100509.1154220-2-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230402100509.1154220-1-bhupesh.sharma@linaro.org> References: <20230402100509.1154220-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?1762058728292905212?= X-GMAIL-MSGID: =?utf-8?q?1762058728292905212?= 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. Signed-off-by: Bhupesh Sharma Acked-by: Rob Herring --- .../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 Sun Apr 2 10:05:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 78221 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1662881vqo; Sun, 2 Apr 2023 03:08:44 -0700 (PDT) X-Google-Smtp-Source: AKy350ZbC9diOn0s748WXC0zHKFwIsWkD/0SXkHzl6a8+si4tSjD08KfwrjgXCbKl8NY9K1aOS4O X-Received: by 2002:a17:90b:1b49:b0:23d:1fc0:dd20 with SMTP id nv9-20020a17090b1b4900b0023d1fc0dd20mr35877527pjb.17.1680430124011; Sun, 02 Apr 2023 03:08:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680430123; cv=none; d=google.com; s=arc-20160816; b=WCwcP/wVkGruojMeowcUGS5GGKt1G7O6l0dtl+6JqP/9T+sC6pb2ohWItCy6/p46RY n8wyTq0lOM1v9nlyvRfCvv7OHbjEFjqHqCYuDQVQfgJNPkc2dWS3IRpLxOnjvzBnKPg3 Ey4OXuWyI7iNo3NJ3dhBgAi1BaQQ+Ojk0SigvXUOUegIDEnJ6+ThGHvAFL44IWIVsSfl gZMTaW45hdh6IHIGtkbbEUooNoXgkdlq8GYlmxTbH1AcI0DMZiQnMpmXH04ndGtzE+bC 3gPqO0tAt8AtJp7iEpNjVcVLwXZhfSuskiTxdF+NwCDGlDMULlq4o+GN7mOQcqzCoSs+ XMcg== 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=DjnuDmQV9+V+jINrB3RJ/iawawo+jx92Tvjo1mAEtvjvWHef9X5bMQSlNNJaswdVsx DYK8za+bR+9fMD6iMBaYv2eNPC4J7UYKTn75uWAvG6ZqBXwaMa0fAZzjUv1yYI7JBwTn oMCTetJek7xcpoku5gQpeEwp7EKkkOL1qUTPL/AGkLyticPmd1igqK/uFIAfwTRrgx4W Lzcj3JwDmQ5/Gv7Ihorxn6Kz2G8LBCqGfAi215XkiGISeJLyrODG8K3O3K16dEsJyDeV vcnLKqinJq1DvKpBf9EqsTrP+besucx7CqE6SQFpMXqsEExi5jTu26cYdH698UvASEJw cnaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=s4g1ikQ+; 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 p23-20020a17090b011700b00233cf4bbd67si5828682pjz.188.2023.04.02.03.08.31; Sun, 02 Apr 2023 03:08:43 -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=s4g1ikQ+; 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 S230464AbjDBKHk (ORCPT + 99 others); Sun, 2 Apr 2023 06:07:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60824 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230354AbjDBKHg (ORCPT ); Sun, 2 Apr 2023 06:07:36 -0400 Received: from mail-pj1-x1035.google.com (mail-pj1-x1035.google.com [IPv6:2607:f8b0:4864:20::1035]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C5A16A269 for ; Sun, 2 Apr 2023 03:07:29 -0700 (PDT) Received: by mail-pj1-x1035.google.com with SMTP id qe8-20020a17090b4f8800b0023f07253a2cso27711197pjb.3 for ; Sun, 02 Apr 2023 03:07:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680430048; 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=s4g1ikQ+ejs90B/h+ovPQPulj/2nnkWFkwF/BWJhTgGHftvFNZnL24rvn30DXcNU50 nnAL0fowvVZyVv5jbVqQSCokgGs6oa4xgi74jaRbXdfS3hM7xqyOuLKbxRp9RJJe+NwP qHCyhVg8yVCCsJHUMvX3ev6XhKqkCyk8M+d3P0Mvigr9uk5uy+bPxxOZ+mtB/Ytm0PFG 8lcbogFR8mCIxHH+/6/hSzcxnpTmQQ5yx+gRIyNEsVwtlcGXGsWuf1F43ETKUcjeCa4h wleDwDhBwFqkXKx6lgitC9ACgb0bkVhzO6zfyThTvLxYEDr2bbIVfrnV8IP6x4mG+xS4 28kg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680430048; 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=TozvL2vOol1TjmCP9M/5XuQdS4/G1SV1csbOXIJpopFKT21ySuuV4H9q0eyoW5gBkT 1v7ZBB9rZ5s7bizJqDxDActqe3za5nPx8S/4Ow4PUkX5iARaf3ztbIDU0ReG8JxZLjf7 nMzLc9Jfy6fKS+6GBsPbGa/0iyfLdyisSh/899M0ITi9FtWdxipTD1r2RUlEYwWXMT6X grxZIOapoKYU0bp+CAXgwLYCU5NqKVBoi6ICZOLwRrqZaQvq3Eje868zuuXvoaQCJaV8 hKt2NuGFhSB53WoVl4+TZ+UQ9iPDP62HQdtdCl08bHndE61YLULK4CHPS1BkjTUHj6Lq YfsQ== X-Gm-Message-State: AO0yUKVDYHR0IBeRKzyWKtR4tIH6rHFhZfWqCh69Nr4PGkrQMDn/ZuWL nMG7Un2Na1qoGv2Nbh+m5PL4zA== X-Received: by 2002:a05:6a20:2e90:b0:da:2fdf:385e with SMTP id bj16-20020a056a202e9000b000da2fdf385emr28030089pzb.49.1680430048593; Sun, 02 Apr 2023 03:07:28 -0700 (PDT) Received: from localhost.localdomain ([223.233.66.184]) by smtp.gmail.com with ESMTPSA id a26-20020a62bd1a000000b0062dba4e4706sm4788739pff.191.2023.04.02.03.07.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Apr 2023 03:07: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 Subject: [PATCH v5 02/11] dt-bindings: dma: Increase iommu maxItems for BAM DMA Date: Sun, 2 Apr 2023 15:35:00 +0530 Message-Id: <20230402100509.1154220-3-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230402100509.1154220-1-bhupesh.sharma@linaro.org> References: <20230402100509.1154220-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?1762058697244283587?= X-GMAIL-MSGID: =?utf-8?q?1762058697244283587?= 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 Sun Apr 2 10:05:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 78223 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1663087vqo; Sun, 2 Apr 2023 03:09:14 -0700 (PDT) X-Google-Smtp-Source: AK7set+Eh+VoDoxERAcOXPwQlYJ6N3AmA09h3dw1uuGFkhW9xjOtU8a1KgiN2sBpShi7pcfRmQza X-Received: by 2002:a05:6a20:af1c:b0:dd:c64a:5417 with SMTP id dr28-20020a056a20af1c00b000ddc64a5417mr27708549pzb.18.1680430154333; Sun, 02 Apr 2023 03:09:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680430154; cv=none; d=google.com; s=arc-20160816; b=ElUg0TLyEgH7Yh90Fu7gnvPExkiRpvck2s2O2MKm7L5ZhF6vOzHEm4G4VIPlIPJTaE YCumYxiX/DB5HOtO5jvr1RNRIVxr80BoF0u4xpkNo5A/VFMgi5vhW/xjILMs4qOYvZJb NGbs5S9DjUQIePKRlQ9KtOgiYhcKlFHYg7wXiwn1qiPB46tp4SYnaZ6wWIYdHGac+gF3 Mjv7IHDiR3Hkm8s/6EnbpvSW5UY3piLovIwHgvErESiXkXPMnfWyuirFp5Zw8AI8oG8Z eo0sgO+yh9xU+BDQ+APUrWtQcyCP1jcB7cAp8U9W6twzJGYLH/e1zin9q/zAD04juzYg LgZg== 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=Ku4g2Jy0Mtp7xhhz4rG1QTdSHfpDpo3DCAr8Be3fFlVmA/xKqCBT/Y240IEJfE0k24 4M8wEyCzJNsMzIst5I0I0gKr7Xcfv32BHAJZjUFLxoECYta54xJUdhNHI5jA6JqOmkUz a6W69G8bJGiMh6irINkAtkSJiO09Qk+87FjAlaaStoRniUgDmtxvxQiyKADG4aXtwDVA lDf2Ler+LGonDwVeAlnAFTLtcW0lDTOIEwC7rM/ow5BX51rhiPKhsLLt1dGq/njN8eTw pV7NmM9Ai90hTbYExjecTXR0NF6LhAdBhJdBrqEDyoiz040YUcZfmaOWVlmat+8vcgec wDeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YeX5UOWg; 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 l69-20020a638848000000b0051352239dc2si6236212pgd.839.2023.04.02.03.09.02; Sun, 02 Apr 2023 03:09:14 -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=YeX5UOWg; 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 S230347AbjDBKHu (ORCPT + 99 others); Sun, 2 Apr 2023 06:07:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60944 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230449AbjDBKHj (ORCPT ); Sun, 2 Apr 2023 06:07:39 -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 04EFF27008 for ; Sun, 2 Apr 2023 03:07:33 -0700 (PDT) Received: by mail-pl1-x631.google.com with SMTP id o11so25417566ple.1 for ; Sun, 02 Apr 2023 03:07:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680430053; 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=YeX5UOWgQVGmyrhzZ82cTpIyfrmjqONY0Izo9vYzx+DIl+ysHX0IUrDNroGzdQhC1b V7ZpjcPuaRBdboghC2/llLIRhmWelBv6cNiegWV92y56zn8Z7QIgxzxJW7Bw5ZSYlV/G klZ5spVywHCcB+GrHwmDWCM3VTOR0O4NlAXuecdP5LAFaMKn6l9GaOEI8KuqjYU1kedp QFc7b0U+GnVN+A1mqxI8VyOwVibEj+tX2546JmvY15j0M9EerqvH7JJENdt6matbuImH q8SEWeTy7z0w1lAijqJqzX0fr04y4/DK41M4wETghn8L0i1J4N1+WKRPSrrIiBhW2A4s HH8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680430053; 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=INXFbPkjGBPVInFT09s9nwuuTCsKtqWxkoVycNjV23va5/Ib8TjmFLeahfIzF9KA05 teuZwz5dWt+jUyK4vKwpqo1JndKWHFdrjP8vWVFzsTaSMIGy1mNSWxj07e+TJoTAC55s XQc7MV9+F66nbPFEnNFzJdfBDuFbbwav52myr3TuK+otky2fgnj8vcupQXjgNzJ0BQxo 5hQFBLw/IPkeUXgCFQB589moMJNM4diGuVsOtQY5OsaZqcW/CKuhe9CHKGxfNqrxcVtg EV9v+Y0cLfSYePontMsFQ6t7oPhoSEA4PM3ghkql8bKUoytOWuhq5DAXkQzAQHwTYU9J Fv7Q== X-Gm-Message-State: AO0yUKVxjrTtuBtliRyOq0i4JzPKewYMf1ccuOkb3Vgq1A+MeTiRtq4s xD7agJVeWXm6lUMim18F80vUDQ== X-Received: by 2002:a05:6a20:4f24:b0:da:6c0b:c3b0 with SMTP id gi36-20020a056a204f2400b000da6c0bc3b0mr26146909pzb.39.1680430053128; Sun, 02 Apr 2023 03:07:33 -0700 (PDT) Received: from localhost.localdomain ([223.233.66.184]) by smtp.gmail.com with ESMTPSA id a26-20020a62bd1a000000b0062dba4e4706sm4788739pff.191.2023.04.02.03.07.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Apr 2023 03:07:32 -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 Subject: [PATCH v5 03/11] arm64: dts: qcom: sdm8550: Fix the BAM DMA engine compatible string Date: Sun, 2 Apr 2023 15:35:01 +0530 Message-Id: <20230402100509.1154220-4-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230402100509.1154220-1-bhupesh.sharma@linaro.org> References: <20230402100509.1154220-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?1762058729639798358?= X-GMAIL-MSGID: =?utf-8?q?1762058729639798358?= 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 Sun Apr 2 10:05:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 78228 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1666830vqo; Sun, 2 Apr 2023 03:19:55 -0700 (PDT) X-Google-Smtp-Source: AKy350Zcf7GRercvX8C7AFkkv7bnzD8r6loTh/NAi3Gj7X0o5VyGNvNa/ANExEOZMNgLE6uKIfVv X-Received: by 2002:a62:52c1:0:b0:625:117:b8f0 with SMTP id g184-20020a6252c1000000b006250117b8f0mr33082831pfb.10.1680430794978; Sun, 02 Apr 2023 03:19:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680430794; cv=none; d=google.com; s=arc-20160816; b=Nl6gT+Yl517LEhGSKAFxwVzzAPJEjewoCl7x0A3aPhEuM8WamywOFwrKw4A1DCN27x dOGe86BcMURzxnQkUCg8wq7n94JYICOW+TQhjUm011fjOsKcbjP6MKhuryKQpRu0ozjX NGbrUPI9+Jtq87dzzl1RxfkkrdPjJ4oIeZHEn46RgC/buh5yNRDLbbrH0EGoRUPkJXUG 4+9KecXaazfjxvLr7jHNoEx6+YzNyo69KkUIaD9EtO13F8f6E7D5UoOfGKzuE9BT6ru7 3d7U81CarFfFaj3PbA/AK7QAzgT5pWksb7lwoMkNJQO8JUyHGTBPZjjIj/o+YknieXK7 kQGg== 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=we1npuZjdc5GTjExMmxfJk+c1K6W7j2Cj9sPvKdrplMouGUhrZks9h0+DpXB6M0b4j vJImaSarG20arGev7JW7WYL9t4HhyYOjHff5EfUF9WQ2TU1d2k+KdyzXAa5XI5m+6vJ9 klI+jWxY9hB8vlSx7QykteVXDkZZrK2tWllS4hqYpb7txB0NtHe66cz+oL8pMFwX1Qsg hUK/GnApV6YlhL2GwnMmUtAQJKT8xjZngORlGwAFl2jrGc8Em6UKU5EqzUPoBhbbeR5q sfhvW80Ik4lLxJzyZhq69pMsG8C0pX1459sG49+59+iD/r7zay2d2/DeODHw6yd19hkn K5OA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LOeyIFsK; 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 r11-20020aa7962b000000b00624a13d1b45si6232117pfg.72.2023.04.02.03.19.43; Sun, 02 Apr 2023 03:19:54 -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=LOeyIFsK; 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 S230437AbjDBKIE (ORCPT + 99 others); Sun, 2 Apr 2023 06:08:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230308AbjDBKHq (ORCPT ); Sun, 2 Apr 2023 06:07:46 -0400 Received: from mail-pf1-x429.google.com (mail-pf1-x429.google.com [IPv6:2607:f8b0:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C5F228684 for ; Sun, 2 Apr 2023 03:07:38 -0700 (PDT) Received: by mail-pf1-x429.google.com with SMTP id cm5so11486462pfb.0 for ; Sun, 02 Apr 2023 03:07:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680430057; 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=LOeyIFsKKy+XJsARfcWNpshFn/LPEX5tD9i0y4HEgVmpcGcjFZQfrhiEeFh1crOarP LeODmuYnWJSUfm2jkBFZGFkI/ZKUhwVz48wtzDo2z+U0daZHI00OZWn4tQ9jzCBeP1Hd fXNeEaag1+EBfEpMtCD2yZS71S/skJANIJnfd/3ohJBV8anNyURCse9PbmmZrMEDObPc 5yQSGeV+lZXH7aJn8L+4ApedbvxjbTRKAm/3TcPyI/+f7nsfhojSZNCDIsKilXkohKKu uAEftXcB+ZxeeynaSmkjDz0YMG/ObXFLFf0SO1Hvd0gkY7rSXl6jCI6fcgVnM69/xVHn 9DyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680430057; 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=ZkDMqZblZQAIREoiR33HLjhDc3D91MkfdugaUwZVqtKmMbWusmjr2FjPC+VKiEHsjD NKtwBCB+w31LlnE+pGg1EaOHzN8u4yhkGZ3SUyGo7vCgIuHknQHYtdhgw+qiUqf8Jbp4 whgXBi0LNockeZ401cbjVbUaBpn1ffAvAy9+wZQA8zFPcD2Urum8k/7fak8E+PP1dauS rJJRbFcabCAW5n0e04fIqJjTGkiSSmJUn03VmKOmZZNasP/9/YVmBN62xwsl4ut5RxC5 f6Wiyo5idRu5x1iPzXjIVMgJta5nSJpAMLwx4ik6BNp3F0iWQWJP6nn1aNDxQ/WnbGL5 sCFw== X-Gm-Message-State: AAQBX9dEJ9csqyOkrAFt516oDCxg1JtnFL3dBUYkT4IJTUXoQnRjlkly 8ULUkYuekBFIiDgNNFfbraPmMA== X-Received: by 2002:aa7:93c4:0:b0:626:6a3:6b81 with SMTP id y4-20020aa793c4000000b0062606a36b81mr31183118pff.15.1680430057624; Sun, 02 Apr 2023 03:07:37 -0700 (PDT) Received: from localhost.localdomain ([223.233.66.184]) by smtp.gmail.com with ESMTPSA id a26-20020a62bd1a000000b0062dba4e4706sm4788739pff.191.2023.04.02.03.07.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Apr 2023 03:07:37 -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 Subject: [PATCH v5 04/11] arm64: dts: qcom: sdm845: Fix the slimbam DMA engine compatible string Date: Sun, 2 Apr 2023 15:35:02 +0530 Message-Id: <20230402100509.1154220-5-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230402100509.1154220-1-bhupesh.sharma@linaro.org> References: <20230402100509.1154220-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?1762059401454025685?= X-GMAIL-MSGID: =?utf-8?q?1762059401454025685?= 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 Sun Apr 2 10:05:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 78227 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1666784vqo; Sun, 2 Apr 2023 03:19:48 -0700 (PDT) X-Google-Smtp-Source: AKy350bT+ZSJrSEUh8stoc6CbRljLHnCtnIgu+YoqSY/AY7B5P70KDaWG+VLLjifJ7vKNegt5PXr X-Received: by 2002:a17:90b:3e89:b0:233:f393:f6cd with SMTP id rj9-20020a17090b3e8900b00233f393f6cdmr36026703pjb.5.1680430788593; Sun, 02 Apr 2023 03:19:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680430788; cv=none; d=google.com; s=arc-20160816; b=w7G5w80+UBKmqgW6zadM90MNj+hub2EU/td6qTKcPdOBM59xYlD6Bcl6+cUTJkESdu 1oJoSOfZlChHSdM9q6uD7bIPLYcoOcV1IoA8Z/B8xLlYsUSqItjpage3JhRx23ChX1qr HwNdrcETugIxL1WufwUHi5mI4gieMcevJ6Ead6I3o9iusKVj9iSqrWaCK12slIERjR8B jY0HeJxZ0Quj/RJs31EXFXWB9uifSRMHXyNuFIDQCKc5tGLEGMvi+id7rsR3puLdFTT2 bJMQaMqSX4cDuPDnBagvfEsjbqTu97JNgLgc1WnfJcYxvkGDN90bPhlJbNAHposeqpuk oY8A== 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=Ns2jPDGRWz/czfPYAkU0ANfXA6YC0owDF4gxQpajwV0=; b=POCX6m7Q2RW93lgYvmKdpGril91RGh0mvJX6+HmfZ61KCaRFo7oOFBlbEoKD01XQWu V3gjAeILgu2PgfSb+yA/m+tYHFicSIYjI9zyxoQc47tSXEjeMc9XRo7MEBwrbJ3u/Ybk xjvmkHhKyL/vuLO5mUk+xmzjxBPs1v9nfGUIVc1X6+HPr3BRfqOGk3/qEr8cbkGIxvBP ziY4goWo6+pCwcpCJLjN/hTvjWn6hmrAzp+W7NoPvoT1Ysn64vPJRXOM0I7Yq/ZUPM4V EfA+hMsHivmdTHYndnTmzdtpldecbsr0ErJOyldwmuFvPgjm/LYwdCBha4n31bCW8OfQ Yo7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xfXgK3qP; 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 h14-20020a17090adb8e00b0023d029be072si6003316pjv.153.2023.04.02.03.19.36; Sun, 02 Apr 2023 03:19:48 -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=xfXgK3qP; 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 S230513AbjDBKIS (ORCPT + 99 others); Sun, 2 Apr 2023 06:08:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60824 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230512AbjDBKIB (ORCPT ); Sun, 2 Apr 2023 06:08:01 -0400 Received: from mail-pl1-x62d.google.com (mail-pl1-x62d.google.com [IPv6:2607:f8b0:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0072C2B0C2 for ; Sun, 2 Apr 2023 03:07:42 -0700 (PDT) Received: by mail-pl1-x62d.google.com with SMTP id o2so25399679plg.4 for ; Sun, 02 Apr 2023 03:07:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680430062; 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=Ns2jPDGRWz/czfPYAkU0ANfXA6YC0owDF4gxQpajwV0=; b=xfXgK3qPqZv33ZCRsFAI/dxIgHUBk9UciMyK4AAaL6NGWvIdyrYKpTCVICXpcDv9o3 baL8j22lLNyKQiPAy+yANoGY8BSSTtOY8827aoXHZyDiIzA08bSoa3+xWVPMzbnuGNkr M14F19AzW3sgpDsoaORTkJIFRAHZmI/QXKC91ohoH4UHGY0sqW6Pdk3FjHsBBloLTuls eKya/6fDGno2nm+k6HyZJuZ7A8YMiIXRbQcah0U6oZPrRPVbqRq+ZKXhvkP9T4veU1Ji Rthu7TQnhnmXEsfeNEVcKaNQBoRcm5F/S5iTOJ6MgjxmjUb8D6PWVJqLrHUo/BM9NEdz RbIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680430062; 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=Ns2jPDGRWz/czfPYAkU0ANfXA6YC0owDF4gxQpajwV0=; b=HR+yAd5Z3EPlDJ01Fl3Ok2kwXfcfbSbpRst6AmuvjZvK3Dnet780sdOPKxHuu0AdS8 +oYgoT5Kl7aa51pfF2uks22hh7HKBV6GncEDG547QTZrslqnBJwq9QpJeBHttS2scMQg IKxaHYHu/9NXT5RFc2Pd4Q+v4TXGzi/oP38twbQu6D0EY4zQQlNzCojK8KllDJXb+GaI uwWFYBwnb8f515+ARZIZyy5V8JZeBYZ8wQfJb31eouplfLKC5dpITaNnEb2nBmQEzYUf WS5kcgLkpTeHb60FFlH9uax9EE4fuMqweR8WZ8t8SiAoZ5yI/Ix/q5Ycz0TiU/uCL/QY eF1g== X-Gm-Message-State: AO0yUKWxzhAji+lAPsBnkhqJ7hA2v5FBu9S9amupRtihOg9uhkStRpnG vGM8F902WZkh69G9QMfJVNTB3Q== X-Received: by 2002:a05:6a20:4ca8:b0:db:7382:cdd4 with SMTP id fq40-20020a056a204ca800b000db7382cdd4mr27445442pzb.6.1680430062097; Sun, 02 Apr 2023 03:07:42 -0700 (PDT) Received: from localhost.localdomain ([223.233.66.184]) by smtp.gmail.com with ESMTPSA id a26-20020a62bd1a000000b0062dba4e4706sm4788739pff.191.2023.04.02.03.07.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Apr 2023 03:07:41 -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 Subject: [PATCH v5 05/11] dt-bindings: qcom-qce: Fix compatible combinations for SM8150 and IPQ4019 SoCs Date: Sun, 2 Apr 2023 15:35:03 +0530 Message-Id: <20230402100509.1154220-6-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230402100509.1154220-1-bhupesh.sharma@linaro.org> References: <20230402100509.1154220-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?1762059394356584601?= X-GMAIL-MSGID: =?utf-8?q?1762059394356584601?= 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. Signed-off-by: Bhupesh Sharma --- 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 Sun Apr 2 10:05:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 78232 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1667011vqo; Sun, 2 Apr 2023 03:20:24 -0700 (PDT) X-Google-Smtp-Source: AK7set/4dqR5uUSK6f/jBUPFM896ex3oe0RgVFGs1x0/+ZjP50hIa3e6JSb0bwiHJnMjkh/N18oQ X-Received: by 2002:a05:6a20:8b14:b0:da:fa65:cd89 with SMTP id l20-20020a056a208b1400b000dafa65cd89mr30899509pzh.9.1680430824072; Sun, 02 Apr 2023 03:20:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680430824; cv=none; d=google.com; s=arc-20160816; b=aydsNHpu7GC+AQPXfCs4kTwW9vWLnUMRDohD0oP00ME7OXAhkIT23leQxubywCsK0a u4VacLbRacWD2u3W4xQkrkGa7D+9QL/yHY6lbh1rgsGhQklc8rFwsGkcg7y5j5H1IgW8 nsVzgJgC5bY4X6/2amwolVG4Z8f/cjkO63AizwXt2IlfMP5T8OgkjrDczPlDX+NPC6xj IIpK/uhLO39PPPVRCeHooGHTvYEOLljFefBJhBgLMz0nAltaqGgaO6VpPnwEYvY81EGG tFikhZFDEVRGkU2SEdtWYmUbjKa337r1idn4O2U3PY/r+43+3hEwos1AkPf+CQeSQwsf PXsA== 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=I1QtD/5CbwAxKU1aXlsmLaEBlWM/BgpqDJZ5wuBu0KAENGM4bLTqJKG6+xBy3Jrr4N jAQigtiignVo41Ibd46SjIyCSj2o7DhY2EHPAxlnTv1uS8ZjzyEAy+U6AZJEbOYQHAfb YFm4x1F3ZYfm3IP2VKV9cVvVoM2d6WCWu/t2LkSw6QFglflg95fmCn/gG1kHqNrtmlNb UUOmy7M+gBjK6mWvMC9eGYSAsIOCIvA6SY+Ylxs8xCJpc7/DbtqrTAOShZppbz+RH1QC b8iajvUBz+UtvOt2yyKjbiDnAXYreiRINdf4Kf3zlbPYLXkqM4DOvv7srmezmLEU+M5o YcJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xgu8DjvZ; 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 r11-20020aa7962b000000b00624a13d1b45si6232117pfg.72.2023.04.02.03.20.12; Sun, 02 Apr 2023 03:20:24 -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=xgu8DjvZ; 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 S231163AbjDBKId (ORCPT + 99 others); Sun, 2 Apr 2023 06:08:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60852 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230480AbjDBKIF (ORCPT ); Sun, 2 Apr 2023 06:08:05 -0400 Received: from mail-pg1-x52c.google.com (mail-pg1-x52c.google.com [IPv6:2607:f8b0:4864:20::52c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1C1AF265A4 for ; Sun, 2 Apr 2023 03:07:47 -0700 (PDT) Received: by mail-pg1-x52c.google.com with SMTP id 185so4664942pgc.10 for ; Sun, 02 Apr 2023 03:07:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680430066; 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=xgu8DjvZsG1vIfCnPmIyi1d1f1dEnXwIxVUnJ+R1sAT2Y9/CdCohp8mwakGRuJWxCW Pzo3C+382VCOMTsjrqfpyFBEXi0gwVgS63ibE3kM7Ga2OaMGJOZdoZ1y96Pipq0CMCcJ PvfGHkfY17g/iQt2p5CfUtKQfSjrYcauqc5hlOmQVeeJ4GHpF7Goxmp0bKEWPE10gF5m acHHOhse70AqeKG1te191ex8uSQ93ZPfT+yMXZIXUvIVLEx+4UOhRoqjdWAQlzI+CPkk 1s7F3aRmeyBRKj5lOgCPVeM0CXnjjlcShABXDw1ENtP94d6d3vBZyOqb40AXMAyMMNuy w4cA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680430066; 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=Afjr0aOG6phZrovHRhJLLnOUl9QodNhBZkFEYcjv11TRtQQSuoDw8PwBaseWHwdziY TrillJV3QsZE2X041/GsVExrw00yupvoZkRbAVSuV2451y47uSk2oPtevbl1Ro/QTCZa iMCDkSAJYsgT5wsdnjOmtKZHNEPPH8StaCy+Igaur48LsdwEp0L5s/cn9c9UtGND/X7g bb3M996FL3mvH8R1hRxZ56cqKcPIhpYDjhJ9oqwgm/6wwLzYzAP5tvVqQhxnW2oQu3XM HTW3/1dmpyKBZG/ycWtCoVREtk9HaELm5JRwn9+/WfpREi6ZnkbWV8bLvbavFIxXi/ko Kaww== X-Gm-Message-State: AAQBX9cftfGOWVc+qysrgyTbbabHyQVdRe3o+88zGhabERRga6H/nKs/ 8BrkU+CXMoP/dxRjVOqDQXh5Rw== X-Received: by 2002:a62:18d5:0:b0:625:ff85:21ec with SMTP id 204-20020a6218d5000000b00625ff8521ecmr32686433pfy.26.1680430066539; Sun, 02 Apr 2023 03:07:46 -0700 (PDT) Received: from localhost.localdomain ([223.233.66.184]) by smtp.gmail.com with ESMTPSA id a26-20020a62bd1a000000b0062dba4e4706sm4788739pff.191.2023.04.02.03.07.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Apr 2023 03:07:46 -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 Subject: [PATCH v5 06/11] dt-bindings: qcom-qce: Add compatibles for SM6115 and QCM2290 Date: Sun, 2 Apr 2023 15:35:04 +0530 Message-Id: <20230402100509.1154220-7-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230402100509.1154220-1-bhupesh.sharma@linaro.org> References: <20230402100509.1154220-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?1762059431920176120?= X-GMAIL-MSGID: =?utf-8?q?1762059431920176120?= 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 Sun Apr 2 10:05:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 78224 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1663138vqo; Sun, 2 Apr 2023 03:09:26 -0700 (PDT) X-Google-Smtp-Source: AK7set/+KLystt2rdQSvHq+zmuvVrNaowEkYA0G2xISreOiCCQHBRcd11SKmaY5GdoJ6566+ooAZ X-Received: by 2002:a05:6a20:9304:b0:d5:8518:1981 with SMTP id r4-20020a056a20930400b000d585181981mr25840221pzh.42.1680430166503; Sun, 02 Apr 2023 03:09:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680430166; cv=none; d=google.com; s=arc-20160816; b=EhedG0+7Jn3az52szxIxyoQp0NsXH1TLQ8vXkGBRt0ux+9Q5kkbVaD09sseXSLizsh glZGCstEhTY5OnsZ1RGrnRhAcbvP1bkBICXrGBUjsZhho/nK6Ef7WJ3JmFAdmUfJhiD4 Gp7DKptWuVMkT9L61Xz8O8UnzuTjUsin4Tc1znFj7cEqTk3FEnxGfnILIHpHDOj2eJtO foBe0a9xuW+WDTQ29Okzf1Klw6vVR/9sHM0XdtbnFimoJrPvlTizF+YssQUZY2olXoRM VFX4xZZ/sIzRzh/7FZ0e8J10nDFSujnoisifxiPz+Ws2U1Ni+aGlaXpyHJSS31LsbyjE 0o6A== 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=zYfSPdUKigD+Nxx9Om82oGKPr49GOHR6JMjsjKF3pFKum9UR5oFLO2jNa0OT09391P AB1h8/kMmyuo2Im/Cm+6F+q8ioO6+v+bI/MUg59m4vyFqhcLJ9jLGD9WIU+9KKK+rtqs knmskBHpvFJxlclfWf6YJ7Lmb66xl5ftEHWJO7DPoQompHG1Q+h9ah8VVqu4TW92p1KS o+2Gk7yo1CfnYgEBjpVHdYsdylSC5or6WX735xarrdSdfltXIXg8owh1MgpZop4Nh8p2 wQIgGv9PbDkYRm6yhegqng/W6fXb9Cd2xXb06Fs3gU3weHQfwFIA9hGEy90H3ZBDOD+f PoaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NO5QchAA; 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 t189-20020a6381c6000000b0050f77f21491si5877980pgd.423.2023.04.02.03.09.14; Sun, 02 Apr 2023 03:09:26 -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=NO5QchAA; 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 S230461AbjDBKIp (ORCPT + 99 others); Sun, 2 Apr 2023 06:08:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33336 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231137AbjDBKIN (ORCPT ); Sun, 2 Apr 2023 06:08:13 -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 712521C1C6 for ; Sun, 2 Apr 2023 03:07:51 -0700 (PDT) Received: by mail-pj1-x102b.google.com with SMTP id qe8-20020a17090b4f8800b0023f07253a2cso27711598pjb.3 for ; Sun, 02 Apr 2023 03:07:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680430071; 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=NO5QchAAiX8nxK4rrdvECkFevEeGuWkK4uaqqNoeXGSX1jw/qgyZADY1FXvgWnd6TK D9q35AYvvrRjzSsPVabk6HveQgT5bqTv00HNFOYTorYKfl3UMuaPv1GmkjwCa5kRucBP Xt1yxsJ9BfLlios0H9g5G1hmNwtlf4Mvb0y3Me8TXmTDaYfGBVZeGx0nnA3hmn3XaUvS n48KLXQFag51mE6XL6JpasLFKQzinX/vKvunX4sSl+f8s+HI7RXVnWD27kmDrr+Z47hj hwE7BDptQc/FX0uLr3OklU/SN7yax/xOhCI7dta7II0EScmSRKj1B0KhIxkAs2tWOz2w xmjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680430071; 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=Oq7H9f2nua0WMtj49+mKmBhpOGyN1nPGrc9uKw6KKjPYRolU/YZ246/yxj/t0YzN6G d3oOi3+bOWAYDf2r9cxUJsWOj905imCZ/wiHezup97tfYSwtJCsQN011ZSBPYlcChKmG VBlUH8RFGD8M6giOrpk5lq9M21+T0JoS0U7s04vro2XT1xJFZ8EXqbAS3vZ2mtbxY9et byNJcNMDd4JxEbbQsvQT2T678InmWmBVTZQERXGJZ6fx+IDuewJHUeyQtrOheSoxl6fs XPvt6vwnO9iemKv/gEdUcLti4lBSn5DONJ4VKUZBgOE5CEgdUYfW5iP0jfOP0IF9Eygd PyKg== X-Gm-Message-State: AO0yUKWSopViSz6u14fg0BkRvsEecKsdoMaTyTSRcuMxgByYt3AsanYu hB44yQkZJ9q0iaGsuJ21mKKEBQ== X-Received: by 2002:a05:6a20:6ca6:b0:dd:2577:4018 with SMTP id em38-20020a056a206ca600b000dd25774018mr28432249pzb.49.1680430070996; Sun, 02 Apr 2023 03:07:50 -0700 (PDT) Received: from localhost.localdomain ([223.233.66.184]) by smtp.gmail.com with ESMTPSA id a26-20020a62bd1a000000b0062dba4e4706sm4788739pff.191.2023.04.02.03.07.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Apr 2023 03:07:50 -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 Subject: [PATCH v5 07/11] arm64: dts: qcom: sm6115: Add Crypto Engine support Date: Sun, 2 Apr 2023 15:35:05 +0530 Message-Id: <20230402100509.1154220-8-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230402100509.1154220-1-bhupesh.sharma@linaro.org> References: <20230402100509.1154220-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?1762058742179078884?= X-GMAIL-MSGID: =?utf-8?q?1762058742179078884?= Add crypto engine (CE) and CE BAM related nodes and definitions to 'sm6115.dtsi'. Signed-off-by: Bhupesh Sharma --- 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 Sun Apr 2 10:05:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 78231 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1666955vqo; Sun, 2 Apr 2023 03:20:17 -0700 (PDT) X-Google-Smtp-Source: AKy350aa8+PeLeLlog1kYF6c2c4NdFAlxzqd1bPQg+CQ87KqX9gxVGPgMQPik1W4hsWsB3KCa3Sb X-Received: by 2002:a17:906:74b:b0:8b1:3a23:8ec7 with SMTP id z11-20020a170906074b00b008b13a238ec7mr32500589ejb.43.1680430817450; Sun, 02 Apr 2023 03:20:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680430817; cv=none; d=google.com; s=arc-20160816; b=qb93y8i2l6UqXPQ6VsNlNBVfcCP3xdWRcBDt4USRcZghiS7HvynK91xSNyYSay0/Qc RsEzly1pxgKubV4xyO014jwPl8IMPdjWpW6SmkjEQ3Awb00Mpg/7WpQEO7+VdGjTnUK/ gbrPBflocCdJb4ApKmCybG1uYIdgT0ciGUtQEB6f1oBnt3sOqmD3uyr+z7wNWBSu1bXW wiEdzNCu4CvWaNYb43LO2W4pk9ZBjg20OxDJB/Grb8zG9Y3YkoRJG9poBYqBR8hjHiix OtGKP1KzJ3b1g13rwoGwoLAoCOyKM6JU5pSumiRA+AW2BiYQThKiW91/k9I3f79gAldQ mmZA== 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=nJfPCZ5v2OZ7RqB+VWh31gOSRoObkKQ3JmQVl1TQD56AFFL50ZJ+2dF0T4AntYK7Bx +QjlzJueJND3kLt2TMYOMTmlt2KvIrAIvDnPiy2t2RT/6V4QH0yikCU0bW0r2lCP+7T/ 5cxXZ2HrJ/JuLLNyhOjPcUJ33I22mCJIfRYPEklzDONjwidmctvL6KYAxjrHFmJMfUfp Fbi3jDDxK2yqdUKE9Ya6SMOi8RTPgYvIplCHWPgnMkyrlCnSP1yE4LnZeVOLPO5ntewI s2yxMt4r0DW0In1GK68/ASLFNG3TFWafvIS1Hbxz16pBhtFQQ4mqHQyhpZLAmCP2hGlX bw6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JT63Rdhv; 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 n3-20020a17090695c300b0093e3a33d7easi6181795ejy.451.2023.04.02.03.19.53; Sun, 02 Apr 2023 03:20:17 -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=JT63Rdhv; 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 S231187AbjDBKI5 (ORCPT + 99 others); Sun, 2 Apr 2023 06:08:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34510 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231144AbjDBKIW (ORCPT ); Sun, 2 Apr 2023 06:08:22 -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 6556CB753 for ; Sun, 2 Apr 2023 03:08:00 -0700 (PDT) Received: by mail-pl1-x636.google.com with SMTP id ja10so25390671plb.5 for ; Sun, 02 Apr 2023 03:08:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680430075; 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=JT63Rdhv/c5JJ5GCMTVSXvcZVx4bC/BZrzg1L8YflrpvJhy83hlbx+Xq5LAfxEkOv6 ws8KXu9cULU4hHrByxg/rEX4R+VQgHOj9uLYiMCpUlOdHRXkNjBePqyIAi1bD6JMvmk0 vy2xfk7ziuSDm7zwYt9DNnhIinKUKAvTLU8/Az6Pb4LNjFI7B/5xGhGTek7OB5PZDboR HlYRM6Dy2upjTDMaW4QQz/dJLM9S/U177RksXavoVJGi4cTWhV/pSAoRAN/B0OXuS0xO FBPUzajRoqzoF/J9Y1TxkKHDM429XvjVuBnT44KlrrgCUcKfOXdMUt2gswsCoDP0yGZ6 cizQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680430075; 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=QBppPM6mNMJA+l2wmkrjZHqHZq1+xvqH2yTbuCo+7ca949rxre5Hy5QzhRkCbgw9aL tY5BaVhvC0GUOhVF/tWTxfKBjENgNplm9uJMch/d9xUYAXXo6ntIM1i7vJ7RADnPGKtQ 2Fx56Nmajea7liNFOnS2NCDLvcLxmOOlcVoP701ZPrwq7V9dqCMzPulWquwRAo24/+XR NJ5e/UcEAdUIuV1o5t9Be9pMZ9FgSPWN7gxeZ6mFNpIji0BcqmAxo+yRUcKYnCPd10LU k/mNzn2JDWMW5me64NQxYCdP2k9TZMh8Hef9Qu/GFa5Wt6pUM9p8ikOKBOQe2cCKkwvs CW5g== X-Gm-Message-State: AO0yUKW//Vz2IW9MRHxt2Igp8SBfVzhZ/geR9NBZJHwvIgZLgumrGNaA 7VVWJtlXYUAW7v5CRXvawdyM6Q== X-Received: by 2002:a05:6a20:1222:b0:db:a03c:713d with SMTP id v34-20020a056a20122200b000dba03c713dmr25718269pzf.23.1680430075466; Sun, 02 Apr 2023 03:07:55 -0700 (PDT) Received: from localhost.localdomain ([223.233.66.184]) by smtp.gmail.com with ESMTPSA id a26-20020a62bd1a000000b0062dba4e4706sm4788739pff.191.2023.04.02.03.07.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Apr 2023 03:07:55 -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 Subject: [PATCH v5 08/11] arm64: dts: qcom: sm8150: Add Crypto Engine support Date: Sun, 2 Apr 2023 15:35:06 +0530 Message-Id: <20230402100509.1154220-9-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230402100509.1154220-1-bhupesh.sharma@linaro.org> References: <20230402100509.1154220-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?1762059424670824915?= X-GMAIL-MSGID: =?utf-8?q?1762059424670824915?= 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 Sun Apr 2 10:05:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 78233 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1667446vqo; Sun, 2 Apr 2023 03:21:44 -0700 (PDT) X-Google-Smtp-Source: AKy350ZEVbMFBqSwa/wdm4xN1GoCH9BYMjNkjha6H6YBuDYGsNSrG0dyp5712WM1gFqIARcthRlY X-Received: by 2002:a17:906:ca54:b0:931:a0cb:1ef1 with SMTP id jx20-20020a170906ca5400b00931a0cb1ef1mr29239722ejb.7.1680430903842; Sun, 02 Apr 2023 03:21:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680430903; cv=none; d=google.com; s=arc-20160816; b=K3rhtYtqwJnt7CB9B7MHGGJZ8V609OeUdslEnNhAKzfxz5YlpVb50FJrGb38wpO+I/ JBo6/kf6HVeXTNzDAG8vUJd1RRIN1b558iUTpDfkiXmJNKP/DrwMzAzpBPwzxvxtx1Uv lKvQzYViJ8DwHbh/+SkgxDtZP3HuDDxPmouEDyXx1kxT5CnVrQCdyXLAtarz9n+5yFy8 SXJOE9/W6c2frkpuQTN9/517WgnboLByP3vN98qZiXpnWpw5jLWkwcVdtRBCuCsk6C3d KPXoblvsm0c5hbiyty+f2SGUxDs7y2vU5mYywRmnI6PpoOcsC94uYe6ETam2uwZZTgrZ 10Gg== 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=AFlsMaaf5adb3uYfwY8a8o1c4+ndcYLkxwNGzL1eBLXQdqqS1U1CyHUQq8Dcwz+9J/ AjypFHm9h6gEP6vRu4mnvb1GjqlwFRiewozf5htLxG43LJljYuOq04/iwTkeO/GjAk5y w9XQGWiwOcfAk68OZ9Ub72DwWxrryLv+OcbbVtI17GSofz7w6Bvk4zbeHwWIn6Hx+ED+ okRKHIDf/gPyFGZxamWtKfRVH1TVGOk6gdrwwrGOfoMVvvG8L8Eb41UE6fcfsTiu+A6a 4oiAwN7+d/H6B4s3LaOM99TsgZsdxAbH2nRyOGUZbYSjv+0AIWm3KGMrZDWr9jyy/OJH veEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Gpz6VtET; 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 lr18-20020a170906fb9200b0092beba8fe87si6051526ejb.318.2023.04.02.03.21.20; Sun, 02 Apr 2023 03:21:43 -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=Gpz6VtET; 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 S231128AbjDBKJL (ORCPT + 99 others); Sun, 2 Apr 2023 06:09:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60932 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230476AbjDBKIb (ORCPT ); Sun, 2 Apr 2023 06:08:31 -0400 Received: from mail-pf1-x42b.google.com (mail-pf1-x42b.google.com [IPv6:2607:f8b0:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0F342E078 for ; Sun, 2 Apr 2023 03:08:03 -0700 (PDT) Received: by mail-pf1-x42b.google.com with SMTP id ce4so4285456pfb.1 for ; Sun, 02 Apr 2023 03:08:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680430080; 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=Gpz6VtETaK//avdhCorrlMmSppv7bZNZ05V/38SSYs1jShO+ddJ+H44PZBH4+dhDeK O91qo1JzVuicsuTwKStAPsONstVfhAYwUh08ePzXXOF5LnYzFprDXzEFziInIwc1xtwH ZWCNms4tHDCF91QMoVtiaIxRQVXHkL3lE13d/kVM7c4CsNbfznhM1gesdrY+BG93AAxc OeLDMmURbjO4hvPaQ9EIXD8UWDwWhk28YeWHjL6Hnebf2jfnwgRuCtH5/X1311mytVrV tzNagQUZlgWGaWfC0JAnMXn5t9LMlOeRlHPEocecKA1yz8bgRUnuoBzVfMUlsUcj79YN AGcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680430080; 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=m8BIIJ3rTNdbecJ3zGBTxTGRGzw9n9Gg+WQQiLouZKDak3tR8NSmkqoNBWr4lnU5wy RYKQihzcmaAnPZ6KhsX/f2462DqnZt/wgj8Ve9oCypgsgtnbdRsMyPn3FwD5gy125k7I w+g/gkvVJcZ0pxzA9M2EGpHjdMq/9g9OWYLMFJnQ7oAJZ4nOl88iBcxNldQxMdcP9ffa v+5n2BiWwpZLsI5uetskCQMILnGTjJO5/huH+VyzK8w8nCH3xjl7XHAe3GAVs54XKfQ0 f2VAPl4W06uHA7xOdjSQ0ycn0f2WWWLFMCo+nhupRNSITQN6NF2Km0YGmL8qmpkcSLs7 MwZA== X-Gm-Message-State: AAQBX9fvMRCO6xJc/7nEgtf9V3CvrMvPqaKQ5eD1ZaBPV9LZM9wSUzil 9YLyFNH5pC4EXYgTukugdQXCkw== X-Received: by 2002:aa7:8f13:0:b0:626:2ce1:263c with SMTP id x19-20020aa78f13000000b006262ce1263cmr30701528pfr.5.1680430079934; Sun, 02 Apr 2023 03:07:59 -0700 (PDT) Received: from localhost.localdomain ([223.233.66.184]) by smtp.gmail.com with ESMTPSA id a26-20020a62bd1a000000b0062dba4e4706sm4788739pff.191.2023.04.02.03.07.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Apr 2023 03:07: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 Subject: [PATCH v5 09/11] arm64: dts: qcom: sm8250: Add Crypto Engine support Date: Sun, 2 Apr 2023 15:35:07 +0530 Message-Id: <20230402100509.1154220-10-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230402100509.1154220-1-bhupesh.sharma@linaro.org> References: <20230402100509.1154220-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?1762059515469394595?= X-GMAIL-MSGID: =?utf-8?q?1762059515469394595?= 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 Sun Apr 2 10:05:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 78225 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1666529vqo; Sun, 2 Apr 2023 03:19:02 -0700 (PDT) X-Google-Smtp-Source: AKy350YJfKdV92kDM1GgRONYQpV+BsviRYatYypF/hBFmXkqUQIulu9962OMrc0a3jBr8HSYQrPO X-Received: by 2002:a17:906:19c3:b0:93e:3194:99cd with SMTP id h3-20020a17090619c300b0093e319499cdmr32614596ejd.12.1680430741797; Sun, 02 Apr 2023 03:19:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680430741; cv=none; d=google.com; s=arc-20160816; b=sQqybAPQ/DGEHQ6lVWLYkGu9yqOeQGqifLPftbVq+2JmSe9dQJxkKyjCm864fPnrFz RZexB60fspKPcKXjNdyaPDcbHsLrbtga0bus3uB9NwbNmNFeJefpPBGpsjB0gGvY2tiP fLC8Jo8Hj5nfBkTes2xfhLOmImdDF6ca9X3QjtW84dFVSQlYIOKJDYlZmruFx6s88b9i FFWQj0LI/yKPC7gygX4Vdcxeck1Mq+wKm5+SG6b4zm7QN7E/xLEIuZCPp1ehiKeVD5KG XuprYUld7doKxxFSJWji1j3IBRJ5wjYzAbbEJKrE1FLoRRFibmUBymw6CNwdLPGl7UaV Dkbw== 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=pQeWB7xzGpVsc7eSrbLdl2ydZmcfTTPBoAGH1zyjD1o=; b=Iwl93tSgDsoiO0yqVpCh/HloGWjxy/HuRCDuGEw6C4E7tITnmB+o1AyaY2E/PqmWUc L0i2oFDJ2SHbTZ91QwA6+45FgBDX5q3YkbILdaFaB3I9FuePev9Ff2nqDI9drxlnBVTg +XXzBWmsCv85EcoaS1Q84zquEwiENmO4e3MHPUfU8/Qqq++UZXHuqbNwcuChUV31DrnL GonccgZTvhap/9ERypvwkHVRFurjnFzLhTK79XWHq5dGc/sguDEHbsxN9Dw51GYMtu/n szXuMxKzrbm4RCaMgDATmNCnHyA0nvOzIhh7bzf9arwyWaB7zBjUQm5FJDDBd1YSpl3H IBWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vRPZr3p4; 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 w7-20020a17090633c700b0093b5bf364c1si5647848eja.987.2023.04.02.03.18.36; Sun, 02 Apr 2023 03:19: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=vRPZr3p4; 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 S231210AbjDBKJR (ORCPT + 99 others); Sun, 2 Apr 2023 06:09:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33166 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230484AbjDBKIb (ORCPT ); Sun, 2 Apr 2023 06:08:31 -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 4C740A256 for ; Sun, 2 Apr 2023 03:08:05 -0700 (PDT) Received: by mail-pl1-x636.google.com with SMTP id u10so25384240plz.7 for ; Sun, 02 Apr 2023 03:08:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680430084; 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=pQeWB7xzGpVsc7eSrbLdl2ydZmcfTTPBoAGH1zyjD1o=; b=vRPZr3p4VpgQ6vXed9A7xF4IPQ8CIb+6EzV250PkoDWrBcaUYh57h6rmRB/49T2etT 6KHQaERageVbRqWbT5+tQVWQI2rFlztY3UTrutyY3TvB+/iBU5Ut04T3JuhX3NjMVSyv BAIo9ThPK/D2Dfs92UlXXT0gm5C/rRQ3Dx388pxmoBGP76iQPVcod8zysw1mo9upGx63 /SfeMnRLKy5z+8xh5yomBJHsCNV2PVxufg/vIObezWFi2R36z3ev6QAZUhFDsPfGPchU Mq8cZNe7K0qXZBKTtmvdv5z0ZAy2iKAVt+7ko3L7OZs8znXtVF38TmYW1MVUzeO0sxcc p8mQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680430084; 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=pQeWB7xzGpVsc7eSrbLdl2ydZmcfTTPBoAGH1zyjD1o=; b=M3brcA9/mFhFxGehlLjdm0SFLHraUI2plZWwX5k67EjvugeJdW4zU7HYX2kdrqHvKT 8EqRDc4eF9Y5YR12N5HXKJ/hq3GWu46hf552qm61iIDhnbTJvij8e4xzrW7FmKYJgkZ7 XXe5Upwtjysbw9q/RnP3/xh6/Oqi0VrONKT58/pDTlvvIftosGo4+hHf1dho2gnd/8Wo k2jxaS2MOUZMhcHdmFzuOURs6RkmnhH6D3SHcfkNt/dz/qfm+YetcRLfJi2At2BKkbfN bZJBnBDmtY0H3uGCSMiH3jjXY4qB9MJiV98qKt6imgnmsfoI0Plo3YBclKoW4MIQlZpZ iu5A== X-Gm-Message-State: AO0yUKWZK+FD04BTZ2VfZTKmvEo6AoeE2ROapctt+IkS1kKTJZN+ujhB YXQJuyOC9PASC5OWptDk9rjaGw== X-Received: by 2002:a05:6a20:671b:b0:da:dbf4:e385 with SMTP id q27-20020a056a20671b00b000dadbf4e385mr27587349pzh.54.1680430084388; Sun, 02 Apr 2023 03:08:04 -0700 (PDT) Received: from localhost.localdomain ([223.233.66.184]) by smtp.gmail.com with ESMTPSA id a26-20020a62bd1a000000b0062dba4e4706sm4788739pff.191.2023.04.02.03.08.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Apr 2023 03:08: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 Subject: [PATCH v5 10/11] arm64: dts: qcom: sm8350: Add Crypto Engine support Date: Sun, 2 Apr 2023 15:35:08 +0530 Message-Id: <20230402100509.1154220-11-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230402100509.1154220-1-bhupesh.sharma@linaro.org> References: <20230402100509.1154220-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?1762059345346901888?= X-GMAIL-MSGID: =?utf-8?q?1762059345346901888?= Add crypto engine (CE) and CE BAM related nodes and definitions to 'sm8350.dtsi'. Co-developed-by and Signed-off-by: Robert Foss 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..090ee07d1800 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 &mc_virt SLAVE_EBI1>; + interconnect-names = "memory"; + }; + ipa: ipa@1e40000 { compatible = "qcom,sm8350-ipa"; From patchwork Sun Apr 2 10:05:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 78230 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1666935vqo; Sun, 2 Apr 2023 03:20:13 -0700 (PDT) X-Google-Smtp-Source: AK7set/1JfeozttySJGokNeKhmyA+1iRk5m3k2Ivjtgo4JsEPSqp6XdgD3DlEJfT8P9Cqh/DYCU3 X-Received: by 2002:a05:6a20:b2f:b0:dd:44a8:9d2b with SMTP id x47-20020a056a200b2f00b000dd44a89d2bmr26867351pzf.1.1680430813426; Sun, 02 Apr 2023 03:20:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680430813; cv=none; d=google.com; s=arc-20160816; b=lcTV+P66ZRUVe7LtwNbSRbYWZpzNh2xkN+374tA/1OdheEWzNNolheNsgb0sNVg4Ft YeWagH81fyAaVQylYH4ddgD/SraxnbMwzfODw2Kj/rrVdVbbvuFJ2zxoG2GFWe9Ya1Ad q1OTlqVtYlzRRnmqr4TtgEoeNJ604dTnurYXZr+A/iaMTFcoPhIAx0ry1UrLpAp78Zwq XjZL2HR7IOTJZhiEl6QnDgjOdj2i0bwq76K+BYChnghzXjk1Hkor1FNslkaNYH33rXNN G0UzqUDusSq8lNeRhFtdx+0jk6kF+b8oyFiHWaxQVJmzJfZjEPvJ0og+/jP/rg62MH5a 11xg== 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=Ac9/fEeWdOMWYa5xD6k3TcfOzVm6spkdJY/C5ihZ7W7rYlXtUHwUA4WbzagzIwvdgA XMMFQaRiMCJBuj9FIcWe7Wqf0z/ZVWGzL/DmAyLEo4wH72WdCDs7SI9vfEAS026/mFal Gmk2d94I6h5tZFtMLgFNd7N9obJCammoKlVYNG1drBR7zcPYvNqvlqaXOirA2GskaPh2 KHZl1Pp61a0KP3usFxBiiLDi6BpARbgdbGqNAk3Lvx61JjrvUw8snfvRJzc+69eJndGm lUVmbZRbsBX/QxjdaSZg0al70PuYigtjOs0eMgZ+Lh+AZGRGtwCyIpYEmCiUOp99qr0z 53cA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XVANtkx4; 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 z4-20020aa79904000000b005de484ca9d0si6487034pff.342.2023.04.02.03.20.01; Sun, 02 Apr 2023 03:20:13 -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=XVANtkx4; 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 S231137AbjDBKJf (ORCPT + 99 others); Sun, 2 Apr 2023 06:09:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32820 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230503AbjDBKIw (ORCPT ); Sun, 2 Apr 2023 06:08:52 -0400 Received: from mail-pf1-x435.google.com (mail-pf1-x435.google.com [IPv6:2607:f8b0:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 95BA22C9C5 for ; Sun, 2 Apr 2023 03:08:13 -0700 (PDT) Received: by mail-pf1-x435.google.com with SMTP id cu12so17308115pfb.13 for ; Sun, 02 Apr 2023 03:08:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680430089; 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=XVANtkx4Ujw3O5BQDdROvCmsJ6bq7/P0CEhVqCx7RKpYllQpA+HHyVWzXbE0HS3xf0 Jd1UOqNKuV+vl8IM0Or/7X/3Yi1xw1HwlHBZ5PkipbTnWSMrfvlC8bScqXriH7n0NbhY Jy3qhn1oYCb8KTdrAIThAkQKmXygHhp/XqalOlg1jSpv7ORCmVnK7qzDXvO3BJ4LuLpM /XaTs1zSCdfyRVskPDEArs3wjKMo1c01vapmqf2xpCUA0bvLYjbNGFj/ccFKJBxwNCZt zucClueWyQIXFy8Iwv9EGn9mqKey7YNJycezAEPBK5+i2cj8wVlsSGGI+D2cvKjB7gUW YDxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680430089; 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=bWgXu/uuYOVffjGswWpUHIvnhC/bQUa72u5XgjMtXK0Jvizl0W8ZLAi3/UhJsNAbuh xUNXJ89yJKPGLNHnhoEHM91WwrlLgKhDq5uyQeCIHcedBrUgUm7eeT0A2IALvTAkqK/n oe28hxXFKWBuEULcobEl2w3R9rhvaffJU2MlUNsaYQVY7z+2+buwOpRGJw2HyKR2Ns2r zYuQhpZR4lY5XS1Treq6aeIUXEKPEupzFBYACv/L7GamfMeS3f24djral3wjxdRqv7kj HBrLfxqPyrBP+/KqWxqywvFZ7CaMPu+6rNvrbS1lrmGALs2WO5YAR+x2LvyiyUku1DT/ zuSA== X-Gm-Message-State: AAQBX9esEC1OkgHEIUE0EU1GdDCGwQNnBjNPZDrEd2QhhjNEcNEm0FgS geMb8JqUQLV34EvT4PzfMoiDwg== X-Received: by 2002:a62:8401:0:b0:628:1852:8431 with SMTP id k1-20020a628401000000b0062818528431mr36133939pfd.30.1680430088880; Sun, 02 Apr 2023 03:08:08 -0700 (PDT) Received: from localhost.localdomain ([223.233.66.184]) by smtp.gmail.com with ESMTPSA id a26-20020a62bd1a000000b0062dba4e4706sm4788739pff.191.2023.04.02.03.08.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Apr 2023 03:08:08 -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 Subject: [PATCH v5 11/11] arm64: dts: qcom: sm8450: add crypto nodes Date: Sun, 2 Apr 2023 15:35:09 +0530 Message-Id: <20230402100509.1154220-12-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230402100509.1154220-1-bhupesh.sharma@linaro.org> References: <20230402100509.1154220-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?1762059420824610002?= X-GMAIL-MSGID: =?utf-8?q?1762059420824610002?= 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>;