From patchwork Fri May 26 19:22: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: 99625 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp702450vqr; Fri, 26 May 2023 12:25:22 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ49NSs+fSo26qT9pj4aTxbEck6wGJ1pBsGb+MowQXKlmO2MALwO0daBPhz7plJE72RcnMsP X-Received: by 2002:a17:902:ab5a:b0:1a9:b8c3:c2c2 with SMTP id ij26-20020a170902ab5a00b001a9b8c3c2c2mr3304805plb.37.1685129122468; Fri, 26 May 2023 12:25:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685129122; cv=none; d=google.com; s=arc-20160816; b=BFl+ONDd46KuodC1kfnQZbMsA/ZvbCxgkW2w4Jlryi8DXYrS3pDc4FSOCU6jNKJILY xSS9Yq+iwkeSt2L70uYGQWe9X7EFeQp/4nji70mZHm1MpGGTuTkTB+IMvyTZRNNmbrH0 8BLJ8hSwJu6UOZtNzIS96t2mNDi4/xbH4kkKkVGIFcgOIKjiE5sdIubj1QyQ+Z88ZMky aHgWpklxp2vA33LIivwuZJZizLq79RtWRrlkHJbMdV0xJk1Dkf21tV/SVIuHqSUMBPQL J4B7uJFciCjbouKy0awAcF5j3MGbhOUZyun51uiBjIdPOgOumRCidfgCx+3JXs2I+Dib 07bw== 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=YrjvdZSqXKi+MzhLUYpp9EjIDqVatd4GVNSMEpyYnzM=; b=KPNIjkw7G34w/m9R6vCZDLGsZqHKKGVvNNQf7YPq5t9wpcnl0FhVrY1qAWPL2Sbco+ ExIK1YE+1dUqXLipXfGL1ceQtPsU8npcBZzLKDe5Tbvuin61zMLJnAYGMgTqrW0hQjzE dDmMzai0+Ii3s/JAkJYcAw5dWlWyhb7E0CxuQhpEZumWelKzJvj1ZZHM/55uTjUmrUjH xIE/zxb0pm5ZSOgHYZsu4rQTAT34SRCGbMw+g1se7FKW95TBp3qK5mFyGpNse1bGTxg8 GjpLaMkuT9+1FySSxPbWP3nUUtU99+pLbnK0YQF/O6GvL3eXttq/U0/LT4mbXM06OBNa DyJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="HTFoP4m/"; 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 u14-20020a170902e5ce00b001b0163c9715si86833plf.318.2023.05.26.12.25.08; Fri, 26 May 2023 12:25:22 -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="HTFoP4m/"; 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 S242754AbjEZTWp (ORCPT + 99 others); Fri, 26 May 2023 15:22:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41862 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237672AbjEZTWl (ORCPT ); Fri, 26 May 2023 15:22:41 -0400 Received: from mail-pl1-x635.google.com (mail-pl1-x635.google.com [IPv6:2607:f8b0:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B281118D for ; Fri, 26 May 2023 12:22:36 -0700 (PDT) Received: by mail-pl1-x635.google.com with SMTP id d9443c01a7336-1ae3ed1b08eso11077115ad.0 for ; Fri, 26 May 2023 12:22:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685128956; x=1687720956; 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=YrjvdZSqXKi+MzhLUYpp9EjIDqVatd4GVNSMEpyYnzM=; b=HTFoP4m/KzdkNWwsXmOkyw8oHw3x66dQjBNKv5POjSNBeIlLOuM7UCjCf15eu3hiXY W0JzoeIac8HudaGgcWYGRPf7w3rYQC2JR4896NrFutHzV9M5KRzhc+KAYFZ4UGT7bTBj VTbb+hyZvo5PiLzVDP1C1h1Z9MXVWNcWQZ9WLMB4LkbV9TBUy498c+cYLVScqo5cdZq9 YzSZ0uKE9V/RN7wuXkfsyBjqUjk5qpEWOC8L9JKzTR31Xih/qODE96T5YItlJjZzlK9d 7OdR+aqHoJXlAOenOC3DM57WXruMmSOwSUEwmG9dmt4RbRVdUYmPg6pEJ+hzd7gHqqO5 KrMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685128956; x=1687720956; 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=YrjvdZSqXKi+MzhLUYpp9EjIDqVatd4GVNSMEpyYnzM=; b=d+t0DjH073LVPEH7QofqyU2IW95qwKtguHTf6A270WfmSbJMLwCdvMXhRHaDxsRhMe GgD1lHdRYe6KEkJGpXJbqsb1DNfov+3EhMi+DAP3MMNEC6VDNc4rc0uawpePVNVHfxSA KRkj5p3bytaShkMAmfDx8yizABfGtsckqwZXBEqOYpBu2qgRDka5BRNCE4nwtQDrz5J+ 0yly5BueBanQ23ySs5Rk5mL3hLzm4RqJUz8ln8Po/WYzLG2bZ/z5NkiN9Qw7lKGkiJzg cQ3H6L4tOlPzXeqL3Wc9SiJL7oGY39Knry1Gx3ZRY0dSAknf817hgXTJHhy88wPzNFp9 aZnA== X-Gm-Message-State: AC+VfDzBDgh8p+hozwK3hYAD9LC587WvdVCWTK3CZ8x9mBybGC3eqM1z MRna1ZEFeR0kx6EykaLqaMHsIA== X-Received: by 2002:a17:902:eacb:b0:1a6:84be:a08f with SMTP id p11-20020a170902eacb00b001a684bea08fmr3481356pld.64.1685128956253; Fri, 26 May 2023 12:22:36 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1f3a:6990:1a5c:b29f:f8cf:923c]) by smtp.gmail.com with ESMTPSA id q18-20020a17090311d200b001b008b3dee2sm1955079plh.287.2023.05.26.12.22.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 May 2023 12:22:35 -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, stephan@gerhold.net, Rob Herring , Anders Roxell , Linux Kernel Functional Testing Subject: [PATCH v8 01/11] dt-bindings: dma: Add support for SM6115 and QCM2290 SoCs Date: Sat, 27 May 2023 00:52:00 +0530 Message-Id: <20230526192210.3146896-2-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230526192210.3146896-1-bhupesh.sharma@linaro.org> References: <20230526192210.3146896-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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?1766985954721518422?= X-GMAIL-MSGID: =?utf-8?q?1766985954721518422?= 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 Tested-by: Anders Roxell Tested-by: Linux Kernel Functional Testing 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 Fri May 26 19:22: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: 99632 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp707449vqr; Fri, 26 May 2023 12:35:38 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7Fy5U/mqAUiR3y9ruOnfJHlnEgUibCSBC4zDtjOcLM3ZtEZg8OvmsT2zcb7j19W+Dqj2aq X-Received: by 2002:a17:902:ec88:b0:1ac:3d1c:83c9 with SMTP id x8-20020a170902ec8800b001ac3d1c83c9mr4682829plg.13.1685129738087; Fri, 26 May 2023 12:35:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685129738; cv=none; d=google.com; s=arc-20160816; b=f1ywkuf5tWQDcbOe8+jUpkhdV9CcCOZZ835PS3ncMCCEqIK0rucD2I5F3XPv4y8J6S 3l0VY2UcSllhawWxBqHDpRHoq+RcdDCamGJVARWK99DlpRItYFPYh/yMzZRLhXsGR11B yuW2dy0Rt1n7TxyJXHZy7wYYpxegdEvSBxwsDDJXP4Oc9vqUWKmAjlMco66+IwpaUo8c Bu3+MBVCmjb5lOor183OBTOy9XqDSDeDDh9RNZ5C8i0R5xACrD13bvhMbxKd+2T6Jjsv Trww97e4NPcncfN5T2YmD31bQ2Mp5Xs67Uh3SS+CiExIp1CasDaTgwyUD5yOuqSflaMJ 2SYQ== 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=EeTyHFbJy5rhBfWD0hnvFzbXupDmLYxqq1Exk7EAP/w=; b=JNI1jxf8w/4a/G/hYO7wklJzhohsFVQd/tB4FrISrVvB3UshQ0A5XFaK09ls0OEsIu UkUUSAusQrkqMmNiAuvFnmOFI53sm96K+0jKQUK2U5+b+D2EybPIRnaRhX8urjnWFiFr JUqhaw0i2o/Vj6T9p4Ed08Dn5nNPgdavqDKLF+pi3IKGBV27jdUWzqM4Wetp1O8TIKDO bd273rB1dcCHKxpiQMGP30qMsfzNDcPnQaGr9VGsD6Vx17uw6ZjvnwGS8Gaad5F5lJbE 9S5KwJleceww07BUxwVgRtYnFNFC2PjDTmLKD0MUMz7U1abtfEc2FAycv4aZNTz0PV6g 1PZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZL28kT6g; 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 n4-20020a170903110400b001ab23cbe13bsi1265814plh.104.2023.05.26.12.35.03; Fri, 26 May 2023 12:35:38 -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=ZL28kT6g; 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 S243280AbjEZTWw (ORCPT + 99 others); Fri, 26 May 2023 15:22:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41864 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229790AbjEZTWp (ORCPT ); Fri, 26 May 2023 15:22:45 -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 1B97D19A for ; Fri, 26 May 2023 12:22:43 -0700 (PDT) Received: by mail-pl1-x62c.google.com with SMTP id d9443c01a7336-1ae615d5018so8439935ad.1 for ; Fri, 26 May 2023 12:22:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685128962; x=1687720962; 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=EeTyHFbJy5rhBfWD0hnvFzbXupDmLYxqq1Exk7EAP/w=; b=ZL28kT6giCxmUR4KbNlszsaCvOIkmmxXrArlq9gzG28NUSNGZS0d060fkS8h/yG2ob p67OqTG14X94RPFNbEQn5uPRCkkt5MhdTtvGDmXiuk5Qt0Fj2LiBn8NvhQv3MIT4oBUb qIubhaxXsg1Jn1S73vFLcdu9T7jdRv3uer6F8L9M5juE9aLNe77K+5p5VcdfD+AbB3Gp F7RNCjOD+/hhf1jzqhPERjSpJOSwiOeLQf5Sk66YcUcK+mxx/u1BEAfnEulwx76XDmFQ CuK/OSB8BLs+/ToXrZI27HU7Y4S/4aT6Ae5DuE+mYQf0LXDW9Ea10iZgwKYjZKLFkzPR OT0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685128962; x=1687720962; 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=EeTyHFbJy5rhBfWD0hnvFzbXupDmLYxqq1Exk7EAP/w=; b=gTOmSGZ40kSCIlP4CHtBwhsbplFJNev8j+Y1O/p4AfKeTVjZ9r8B34KOfXi8J7QwVn PHujkHe+uV0/Bij0Ky0UqyfhT7pZfy/dYCPntCNIwaQgPbvzU8u900/r8GLBH9tcM4Nm PF/J6/3CJUz9KI3IANks2dUWRy1g41F0/CRSJ20/1iIbgYIbytCQP8j2hibkK+che7i8 LJzMRAvFW3PWJ4RQjl3SfDYtPbaZzW1FC2mVVTnSlE+oi6yN4Xxu+wwnID82uXuB9I9Y HaDb133/7CPSytjmjH7gk+oLpBdRbn6xre6P6by7GQdfJPDQ38O4U2enIcDsCVK374vg 5hKw== X-Gm-Message-State: AC+VfDyu8SdPmSgCs0CrJIJPsXTumOJgrZO/YN/ql7+m7jtsa+0CmqXp yOdaAdQeZE6vHl3tK+ke7dk6Mg== X-Received: by 2002:a17:902:c1c4:b0:1ac:b4db:6a62 with SMTP id c4-20020a170902c1c400b001acb4db6a62mr3794057plc.65.1685128962376; Fri, 26 May 2023 12:22:42 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1f3a:6990:1a5c:b29f:f8cf:923c]) by smtp.gmail.com with ESMTPSA id q18-20020a17090311d200b001b008b3dee2sm1955079plh.287.2023.05.26.12.22.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 May 2023 12:22:42 -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, stephan@gerhold.net, Anders Roxell , Linux Kernel Functional Testing Subject: [PATCH v8 02/11] dt-bindings: dma: Increase iommu maxItems for BAM DMA Date: Sat, 27 May 2023 00:52:01 +0530 Message-Id: <20230526192210.3146896-3-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230526192210.3146896-1-bhupesh.sharma@linaro.org> References: <20230526192210.3146896-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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?1766986600285640621?= X-GMAIL-MSGID: =?utf-8?q?1766986600285640621?= 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 Tested-by: Anders Roxell Tested-by: Linux Kernel Functional Testing 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 Fri May 26 19:22: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: 99629 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp707437vqr; Fri, 26 May 2023 12:35:37 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6uSuBHPPV6rAOWCZ8n7MlqQIdCey40JbIeJ2Fyny6mHzFJMnPgK/V+FODSjLeL9bjQP9nh X-Received: by 2002:a05:6a00:b44:b0:64f:3fc8:5d11 with SMTP id p4-20020a056a000b4400b0064f3fc85d11mr4727656pfo.12.1685129737511; Fri, 26 May 2023 12:35:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685129737; cv=none; d=google.com; s=arc-20160816; b=pdKcNjSF4IDYeYtPyzfSxSAvY4/srJsivMJ3lZSUuGssuEq+3WFbXwXc7v4P2NQjm5 wF6CRk1a1N3alYQfJIBEd4qeHHXna95LxjirqdqMAg/q5FbPcjElsvzGD//KJpXRhGkl OgfdlraH8qgmdCIsFZJe6mfHtOekmlG6ty7ScD5btHVhZmizxa31t8eb7bt1ijcBoMAA GTbykdwLaMBeAg+y14lFssw2kZ9OuQtxLFsk3Q2JXfDGlnaJ6FJuMmQRVc7SF5xfv9zP QoypM38uynsdr/aIdOrXs6relKYB2F1lBwgpiQ1EAIcQ+B2kADLZ7yr/F/xdweE3C+01 kaaA== 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=54cDFJeSGSXG52/B4DosN83/4R3Mi7SpQa7UatFpDqI=; b=Lg9e6kgZ0pSjLP6Z0lA+CBEQYgTwgH3kHux4sSAYLHLBys/07WDXmMRMK0ybuOnP/N sriAsyrwbco3cgUO7cF49kX065Jmf5MFFOsF41E916tYyWnGND5LZqoQB+/gSv2L1gNK 2ntJbdME0BoWr/IGqCLffigEz7z/BXikghUYsuU2k1CqrM7g3273443QiFWEs2fI6E0R 2kalB6YVETXIuD2AXDJkJHuk3RtfJhRDCPvOhjuTqDu2QYWg2tOAtyy8IDLH1ck+3dNG ae0KyBBrjXkKAa3lMpn+L0pHuGAWcJcj84HSNq82+vquMuIQ2rSChcdkT8dz1obZCaCn sNiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=b2lzihYg; 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 g10-20020a636b0a000000b0053efd751392si4074932pgc.827.2023.05.26.12.35.17; Fri, 26 May 2023 12:35: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=b2lzihYg; 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 S237261AbjEZTXB (ORCPT + 99 others); Fri, 26 May 2023 15:23:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42094 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243434AbjEZTWy (ORCPT ); Fri, 26 May 2023 15:22:54 -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 039CCE4B for ; Fri, 26 May 2023 12:22:49 -0700 (PDT) Received: by mail-pl1-x62c.google.com with SMTP id d9443c01a7336-1ae875bf125so7540095ad.1 for ; Fri, 26 May 2023 12:22:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685128968; x=1687720968; 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=54cDFJeSGSXG52/B4DosN83/4R3Mi7SpQa7UatFpDqI=; b=b2lzihYg5M6iCzLBXlF88l5Ap3kClLx0dCY0MfER3ClAtPvcLCU1IrMJvMjWLfkQzJ Kcfkw96vBN5XtJNcQLKT4l01uNUmbOXQAFuWQsOV+xppoOBjZe9IgwcR5ltS7DDhGeGB Y+tuQgsULHr2QcEczOZZeOQNXPC4AWL41bZZwlQHCX1hpyZ7Pjjr881SGK7J3ckxEhXm ZYD/jmVSP2DdAZz8bs0CgYlkCDj3Fx+Efv5Nd96teg1d+CmQ9SEZgwHUUdmsX6o4SfTx BJZb6QdU09Jeqr4yvL3T7XGYzitpw6y7EHMDTHvlmy/j34IAjM3iESfMXpNkoVFwuHPJ G1HQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685128968; x=1687720968; 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=54cDFJeSGSXG52/B4DosN83/4R3Mi7SpQa7UatFpDqI=; b=JdnbSlsb7Qu4+EPBPso21MDr95qCa6xQxXdjM6EOVeTDlWDVJp+QDGuSbJJEnri4zA 6zVR9d3p/3t4lzP4gb4Vhf2aJL/S7Sfa5AK3CHRq3CGpUOngS7NcSGxSBiMQZUIlEzTr T1/nhX+g/8bpWsHQjIn1jH9EzoCwX1zuSVBiE1k5qJKe3nQPL2QKrsYMnRqE0uLXJel/ DxoEgycGSWzTHO75fxmH2x2+cjNkIPoTmyOB7wa3BT+7z8gS3pO9QfKiBox2cU4TA+0C yFCiOIDx8FmVrL25kwqqj+Ln+9j42UJ84RR3F78aPvUt5NHuO3cM1xfAitRRR397hDZJ 6xSg== X-Gm-Message-State: AC+VfDypTlV6/uqgk1lqdluHNaBqVTKBudmcbUBqj7cj96FAeFyeGCu6 K3lYmXyaj2ozT30LAX4/uhQAkQ== X-Received: by 2002:a17:903:2350:b0:1b0:45e:fb02 with SMTP id c16-20020a170903235000b001b0045efb02mr3823014plh.35.1685128968276; Fri, 26 May 2023 12:22:48 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1f3a:6990:1a5c:b29f:f8cf:923c]) by smtp.gmail.com with ESMTPSA id q18-20020a17090311d200b001b008b3dee2sm1955079plh.287.2023.05.26.12.22.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 May 2023 12:22:47 -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, stephan@gerhold.net, Anders Roxell , Linux Kernel Functional Testing Subject: [PATCH v8 03/11] arm64: dts: qcom: sdm8550: Fix the BAM DMA engine compatible string Date: Sat, 27 May 2023 00:52:02 +0530 Message-Id: <20230526192210.3146896-4-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230526192210.3146896-1-bhupesh.sharma@linaro.org> References: <20230526192210.3146896-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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?1766986599508984688?= X-GMAIL-MSGID: =?utf-8?q?1766986599508984688?= As per documentation, Qualcomm SM8550 SoC supports BAM DMA engine v1.7.4, so use the correct compatible strings. Reviewed-by: Konrad Dybcio Tested-by: Anders Roxell Tested-by: Linux Kernel Functional Testing 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 c9b70cdf1320..577806795a00 100644 --- a/arch/arm64/boot/dts/qcom/sm8550.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8550.dtsi @@ -1848,7 +1848,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 Fri May 26 19:22: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: 99642 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp708257vqr; Fri, 26 May 2023 12:37:22 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6YC76qi057pKOR/I8LHfc5CE5GS398RUsugPAhVyVWAh7UY4jrLJZ1ZYgbbSrmtaRBeVlp X-Received: by 2002:a17:903:1251:b0:1ab:29bc:bd87 with SMTP id u17-20020a170903125100b001ab29bcbd87mr3695770plh.35.1685129842308; Fri, 26 May 2023 12:37:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685129842; cv=none; d=google.com; s=arc-20160816; b=p/pxd/ZL9W0s+lcYKoWvZ0gDo5/RsBo8BVprmu/aXzXKF4lVNzn5b0vNLTuNgXSohb 97x9qEaApR0g6JPPGekWe3HTOx9BPbWDnJmFTyLC3thFwremw8IA+HpG2hMFU5GyRT+P Ifu7aSHMX759IsJ/7qVFThOFNTZnM96+O5COji1q5niZN8wlgHy7euQqc+4Z5P4g7BAH OIHXC7TvEvhlBMSSH+uMeE/V6WxtRBbiAjq/OR/KoxtelGNdGk+LoVL+lTLGgUYQFjii YMxzt2JWHavhaMrirnMU/wUx3OsPJoO4AoerYY60BSFl9KRq62F8+S/e+tlsmDOpX06X 73XA== 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=Bfn7W4wlvGKYY1Xv+0AM7IhBXt2kfIwNQPmd+vEv/4w=; b=RqCwFEMDGN5LuN1n2pG67u+vuiK5bgz0QcgEfV7SrnbEWgA3SX+RMV9hkaCzN/QzrJ XAQKBYF+fiMEIXFvrxg6GkBbKPRV8QCEGUpR18FgBKZQoTnUhvosl6PrM2GI8LQBNjPn 2gCFncP/HPnXukPa6XUfY4p6yPudVwZ9/dgLGNWgA3o3OvXhU9gAuIzovsnJwoIxy8BS wESZlPAOo5wC5g/lYcFwhlMJ9k9Q+ei+G0U77R2A2i/sCKLZqjWwt7N3NjlbZga0iZPX bEsZ8UDQ4e/8PHKVTXOhZMTrkbnuUmEpT/Sw/Tlwy8ZZrpQtpOWoZGzTfWZ9NlEtzVRb G1DA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Dtoy7ewh; 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 w18-20020a170902e89200b001ae2aa44a98si4888530plg.265.2023.05.26.12.37.06; Fri, 26 May 2023 12:37:22 -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=Dtoy7ewh; 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 S243557AbjEZTXH (ORCPT + 99 others); Fri, 26 May 2023 15:23:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243809AbjEZTXA (ORCPT ); Fri, 26 May 2023 15:23:00 -0400 Received: from mail-pl1-x62f.google.com (mail-pl1-x62f.google.com [IPv6:2607:f8b0:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CDFE6E5E for ; Fri, 26 May 2023 12:22:56 -0700 (PDT) Received: by mail-pl1-x62f.google.com with SMTP id d9443c01a7336-1b021cddb74so2348565ad.0 for ; Fri, 26 May 2023 12:22:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685128976; x=1687720976; 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=Bfn7W4wlvGKYY1Xv+0AM7IhBXt2kfIwNQPmd+vEv/4w=; b=Dtoy7ewh54wR5VT72iH4ijb/9S+LZy3gcmEkuL3y9fXW/n43FVEitTHRQhuWvtZSOg KA7OKe8eJ3Mosl1THk8rMj+NSGnAmVmHIJ1Lk02nAqUwFpvw+i0aMp4SbTwyr3HAWnp2 JOhXtWjEtdochNrzeiJmvZtuw3TCJxpCMon/9fr1hloWj0W9SVPjI3BuiGDEQUXbNcaH IvcPLGvRtVvw23Jxo/0SS3B58mRuAj2X3XtAOz99PzN0hfQ95yKL0JT+80glWyrCaEHW 2cjZ4au835aDEGbdkFmtQYoDVRbRTF5LqKIFCMTTjbFzcrKh0SMiGDH0ISd1sIhP7QIf axqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685128976; x=1687720976; 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=Bfn7W4wlvGKYY1Xv+0AM7IhBXt2kfIwNQPmd+vEv/4w=; b=aFpMLpVIKaE4L4I9y11yHfVASF7npqmFQ4CNPmaeQks0SpqDu6tLo8Np7eP/UnWfZN mWg6JiRRI8bDm93wSbyX2zaEn7ZUtAUqTKaSSQWxLhcib6TloP1OLeqD34On+B/exeNs v1nuGMaGXSEYAmTWu1jfyfD/CHEMQouD0w1s3wW9vTwN0r5HeYWaO1KedgZdzbveZsY4 uT36HVk9ByMUIfVQTorHdf1vOg2+xNg3Z7lYRNv++vCks++yBJi0PEHi1lFsDMnDakfT w2yses46lPqGaGGb78UfLKNQLyuZ3GsB0xdfS9vcGQZWZCo1JGDTtdixI8Ev0A2uZLNf 94hg== X-Gm-Message-State: AC+VfDxSxK4Ifbjz6gvzEWyaHqxqYle8oHxId2M0dxvjklxY2g69ufz4 0NrXnfj9TvwSMJ5z5uJl/0B/yw== X-Received: by 2002:a17:902:d4ca:b0:1b0:440:7f5f with SMTP id o10-20020a170902d4ca00b001b004407f5fmr4451943plg.49.1685128975895; Fri, 26 May 2023 12:22:55 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1f3a:6990:1a5c:b29f:f8cf:923c]) by smtp.gmail.com with ESMTPSA id q18-20020a17090311d200b001b008b3dee2sm1955079plh.287.2023.05.26.12.22.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 May 2023 12:22: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, djakov@kernel.org, stephan@gerhold.net, Anders Roxell , Linux Kernel Functional Testing Subject: [PATCH v8 04/11] arm64: dts: qcom: sdm845: Fix the slimbam DMA engine compatible string Date: Sat, 27 May 2023 00:52:03 +0530 Message-Id: <20230526192210.3146896-5-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230526192210.3146896-1-bhupesh.sharma@linaro.org> References: <20230526192210.3146896-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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?1766986709836337623?= X-GMAIL-MSGID: =?utf-8?q?1766986709836337623?= As per documentation, Qualcomm SDM845 SoC supports SLIMBAM DMA engine v1.7.4, so use the correct compatible strings. Reviewed-by: Konrad Dybcio Tested-by: Anders Roxell Tested-by: Linux Kernel Functional Testing 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 cdeb05e95674..0d1d7328cd62 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -5221,7 +5221,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 Fri May 26 19:22: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: 99626 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp702514vqr; Fri, 26 May 2023 12:25:30 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5nRrrbfP+jRlvp6G2sstheu2cXCceoa9/JYTsq2yVjvLY9yaKynyHVItnBNcY3uiLRUDoK X-Received: by 2002:a05:6a00:1702:b0:64a:9090:5147 with SMTP id h2-20020a056a00170200b0064a90905147mr4998576pfc.10.1685129130629; Fri, 26 May 2023 12:25:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685129130; cv=none; d=google.com; s=arc-20160816; b=rsaXnrDziZOl9opeI5xl394omhDF3zcBw3fB9GUVHFnrLmZE6W0J16QNiVkYhYqnsc GoLSzWwRAau6m1IdC6o+FZv050xu9Lo/uPYCQ/lJL3bUA82BRqgU4P+AGU3Q+6nF9jlu Ty2o2Q6FsAx34heAN3ustREY6Ke677lDaVR9Y8yeqpir+aqWn2TXblWakBUqgd6cd3h6 CwDT7+sIuMEGKeM03nHpH6IHxBSP8yKU5ohOhRj8Cm1LpDvIiSlLkpWT6S5pB8G42guP gclbpjCpU+OEpcZeAQJWNL7gK4vl9yZlAUuL00B/mLS+yanWpvZ5iFIoUhz98D4TAz5+ g/kw== 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=ZpPwFY/HaOY0pRrudkg3nKNQcds7yLTTcGxLx+E7yvc=; b=fAbPxIDJhL7AM4yuvDgramCj/XNaucalbdVdG/QQE3aBn5dJEAeCD1bhqN83sIxDAY biH9wxdz/9SmUu3coao1SliqKp5GYHo1GWavuCKicTAmplfEkPtC9WoZSFg76F4lnDTi hluEffSibf0AP7QgbseBDuyvIPOSODAPEJ8Hmk9wSelpV/xGU9jhjpo4NKszPHnleLtX RLnZZIpHQJuYM7e5KNV2/3dPEruv+4acQa2TYfg7utm6awy+DpM9scCVMLreWbcLa0Vs 0OdISTUBiJrmejR8F38Rc4AHnB4TqE8vQFsewsWouyJsCGl3ovC/Q/JtXz2sYJf2HBIY MflQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nZQpG6Xj; 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 k195-20020a6284cc000000b0064f94a0a0e2si3620369pfd.248.2023.05.26.12.25.17; Fri, 26 May 2023 12:25:30 -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=nZQpG6Xj; 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 S236842AbjEZTXU (ORCPT + 99 others); Fri, 26 May 2023 15:23:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42112 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243629AbjEZTXI (ORCPT ); Fri, 26 May 2023 15:23:08 -0400 Received: from mail-pg1-x530.google.com (mail-pg1-x530.google.com [IPv6:2607:f8b0:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 01DFAE4B for ; Fri, 26 May 2023 12:23:02 -0700 (PDT) Received: by mail-pg1-x530.google.com with SMTP id 41be03b00d2f7-517ab9a4a13so1005605a12.1 for ; Fri, 26 May 2023 12:23:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685128982; x=1687720982; 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=ZpPwFY/HaOY0pRrudkg3nKNQcds7yLTTcGxLx+E7yvc=; b=nZQpG6XjCRIqdjJ97HJtAVdHuT1jvfE5pxEBmtp5eh9nn1h8JGQ3nZH9EUL3Hjh6Nt +W/CA7MU0r1vgzW7Kcxjn3iCWfKpR2ofORw70PL+TqhHTrXDdtaLC6BWCUNOUmSBSyAh rrlGYAt48vpx9pe2i1R+6WK1gzlgDrF8RCdvJQ2uc9BGlcEqa0i1bJBSWeatOLb36g7f 5GaAbc5V3ujgJTB7ntSA27x3Di91GXQYJDGWE0PMvWYWl33SFz4se9ZkCZZaE5cQXPMl Cd8qMPgrCOwue075A07tVRpGTL31OcrtuKeHMxIZaZxAZqEVlitOx0qDKkpaoFMoWafY INhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685128982; x=1687720982; 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=ZpPwFY/HaOY0pRrudkg3nKNQcds7yLTTcGxLx+E7yvc=; b=jkcuJtMPBTjrZS9ponLp+aRATvyiq0JH0BoNQO3ZNI0UFxxG30UGAhB2sPZnqLxy41 niAruGnkDnyFaCBJUkIN+Mdzyc1A4+ByT775Im3v05BOMcaKYgVB+T3qCZSoLe0/XsJp 2XeY571odn6qjluN5+eHkY8MbOirCvtXCTQOsfm3Pkn05gdZEyaRl8JrGRIf2Z6yXzbL Be0P9l8H+75mkSpl6tOsT+s4jo9BmyOwWRXufMf/+hbDNNRUExRhzTXvStsYkFOPtjYR Q+KFV8yiclZ1FTAMxo+NscjDJFkGwmwhyKYM2glotNJD1ZYdbEh7R12hZQbfzlpRdQXT z1zg== X-Gm-Message-State: AC+VfDxyvIaiJn+w7yWSM38ejEnvE+Buc5zxZbtktHH9pX1WDbgnNDex AH9h6mwW8L5OsYY5Cq93SACQ9g== X-Received: by 2002:a17:902:e54d:b0:1ae:6e7b:9bb4 with SMTP id n13-20020a170902e54d00b001ae6e7b9bb4mr4013984plf.59.1685128982454; Fri, 26 May 2023 12:23:02 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1f3a:6990:1a5c:b29f:f8cf:923c]) by smtp.gmail.com with ESMTPSA id q18-20020a17090311d200b001b008b3dee2sm1955079plh.287.2023.05.26.12.22.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 May 2023 12:23:02 -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, stephan@gerhold.net, Rob Herring , Anders Roxell , Linux Kernel Functional Testing Subject: [PATCH v8 05/11] dt-bindings: qcom-qce: Fix compatible combinations for SM8150 and IPQ4019 SoCs Date: Sat, 27 May 2023 00:52:04 +0530 Message-Id: <20230526192210.3146896-6-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230526192210.3146896-1-bhupesh.sharma@linaro.org> References: <20230526192210.3146896-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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?1766985963654519751?= X-GMAIL-MSGID: =?utf-8?q?1766985963654519751?= 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 Acked-by: Rob Herring Tested-by: Anders Roxell Tested-by: Linux Kernel Functional Testing 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 Fri May 26 19:22: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: 99633 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp707551vqr; Fri, 26 May 2023 12:35:52 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6pZmuNKOLfgh56Gv3c7j3NcBJrxllyNFU8SdhZPUM5WZsC0cY0ydJ3AlUHbqAd1ftgfKaE X-Received: by 2002:a05:6a20:6a1f:b0:10d:1fba:7371 with SMTP id p31-20020a056a206a1f00b0010d1fba7371mr605375pzk.5.1685129751775; Fri, 26 May 2023 12:35:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685129751; cv=none; d=google.com; s=arc-20160816; b=Q+AomwFqdocrr7z4JmJYnnxIHp/+3uk1vuOVhlUy0T+PcE66SmwSFbrwVwm3WaR//O 8DfkBwX5Ae5SaEptZSmR+7G0oF+Xr8Fa9LyqM/YaCj4lNZsBUZ42KR5mSjw31f8Bx12Z WegswsufEMYx32IGwjouoMJozpF8hojoncbxKCACmRZ6JAqz3DqDFVrGfAu0kyx3luBc sHRwRbu+s81GpCi2oq5mALs/Hl61gHfCbXYsrWetx2GKlbQ5fR2xNUysK/En7x+baQVQ iO4kIB2iU6D59tdYeMTPPh+V5kLdkm6k6MoF/YQhKzYbpstp2hGpDKgXEY4y5NhuTEvx JJww== 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=prFhwvSxBQ/UQ8d4CbWdnfwjRcrN8xUyHXxMGOEWxfk=; b=cI3DNZ+FcJMoza2+KmKKQWYQbMHQm9y+Rfwsj+VhdBLbJ300pYe258J8ycrz6QLS+M wrC91B5OxlHpYY4zAki5C2uoE90LWu3Z0bkx9JdLKC8GfP2mUAz0wB9Dl4bi3amWsZw/ bMqhKfEX7zFoWSmb/r35NTRmz7IMaWQssj9J5ud2kTHgYuGcIyFunUddZ5n1KFXpnEkA OlFrsikDdY9FunBOoeqKTTGWrePiyLmggShUo3NoWUuuoDeUwV5LjdqNr1jy1uaN6S+r sG5M6fB992PGNm3rIebCRMZGxAZzbo/MgnBiR4WnjA8F/sn48I5jelOmmHALKNYWVIiK d9Tg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NZpF0bEa; 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 n27-20020a63721b000000b0053eee27fe7bsi4148338pgc.243.2023.05.26.12.35.09; Fri, 26 May 2023 12:35:51 -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=NZpF0bEa; 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 S243892AbjEZTXY (ORCPT + 99 others); Fri, 26 May 2023 15:23:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42448 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243734AbjEZTXM (ORCPT ); Fri, 26 May 2023 15:23:12 -0400 Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com [IPv6:2607:f8b0:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2B87DE54 for ; Fri, 26 May 2023 12:23:09 -0700 (PDT) Received: by mail-pl1-x632.google.com with SMTP id d9443c01a7336-1b011cffe7fso6862815ad.1 for ; Fri, 26 May 2023 12:23:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685128988; x=1687720988; 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=prFhwvSxBQ/UQ8d4CbWdnfwjRcrN8xUyHXxMGOEWxfk=; b=NZpF0bEaiJ64NKcd0IR9qeUnMib3NkOs5ZN6tMGQtVc6S9eyXNxuLqp36iIypZKrEs t+FAvfflBOhUraeyz5P0Vf/rt2pVio9P3b/l5xFrqajyS5X4L0WBxiZMNLvcARzlW5j4 xvIvJr+U63Ed26XkG5Pfz7Rzy59JuUXNhVA5PGSSNJ70W/OYmgssepxSbYFdtflV9vaZ bZYPxzU0Ia+/zpWxFv1QVbL2QlF24Hi4yUMpxaJD9QmQXt0MW4oY0rWB4dWOzn75jkbU e/BNCajd5h8EByWnBb7qXGp2f4+d8lWKyLjck6LVM2kq8aBWgg1/qJlpy7BH7l41i+EZ Souw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685128988; x=1687720988; 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=prFhwvSxBQ/UQ8d4CbWdnfwjRcrN8xUyHXxMGOEWxfk=; b=bH3CeFr6gIlVhMRVZukbqc9OOVHLArMwM/IFx8jIa8953VdK7NyUvw7u6ftlIvRErO yBTA6lPxu/fk4zDD6P1b/n4xQX+srpRbaJE3m16xQQyyex6jeL7ped1Pn46/W5I6B0fG csFfLzwfpnxxfvLHoRoGTOsZDANe0rDE+9wP/ZlX82t70JtzBbH3MY8wa20S0daKcMYy cYX9vJspEk7dGTEa0tG2Jta3VqUd40qi20pk/h+txLPqyNPBZqsyLrx+dlJNcbC7uSVa gaI1A3+vVJtBq1h/6rbxRL5H7XBdMr+MCe4t3aXHHkEXaC3PaD+o9b+WiCkQTlyv26cO q4Zw== X-Gm-Message-State: AC+VfDxhEFDW5bzUbPYC8cCGsvzxwRmEqz1P77ypOvhHh7xpQwFul44O s/+DilyFko8rXwDkBcYfigOIkA== X-Received: by 2002:a17:902:d483:b0:1b0:12e:3bfd with SMTP id c3-20020a170902d48300b001b0012e3bfdmr4463175plg.7.1685128988620; Fri, 26 May 2023 12:23:08 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1f3a:6990:1a5c:b29f:f8cf:923c]) by smtp.gmail.com with ESMTPSA id q18-20020a17090311d200b001b008b3dee2sm1955079plh.287.2023.05.26.12.23.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 May 2023 12:23: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, djakov@kernel.org, stephan@gerhold.net, Anders Roxell , Linux Kernel Functional Testing Subject: [PATCH v8 06/11] dt-bindings: qcom-qce: Add compatibles for SM6115 and QCM2290 Date: Sat, 27 May 2023 00:52:05 +0530 Message-Id: <20230526192210.3146896-7-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230526192210.3146896-1-bhupesh.sharma@linaro.org> References: <20230526192210.3146896-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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?1766986614655823261?= X-GMAIL-MSGID: =?utf-8?q?1766986614655823261?= The core clock for the Crypto Engine block on Qualcomm SoCs SM6115 and QCM2290 are provided via the RPM block. So mark the compatibles for these SoCs to indicate that only 'core' clock is required for such SoCs. Acked-by: Krzysztof Kozlowski Tested-by: Anders Roxell Tested-by: Linux Kernel Functional Testing Signed-off-by: Bhupesh Sharma --- .../devicetree/bindings/crypto/qcom-qce.yaml | 44 +++++++++++++++---- 1 file changed, 35 insertions(+), 9 deletions(-) diff --git a/Documentation/devicetree/bindings/crypto/qcom-qce.yaml b/Documentation/devicetree/bindings/crypto/qcom-qce.yaml index 90ddf98a6df9..bb828068c3b8 100644 --- a/Documentation/devicetree/bindings/crypto/qcom-qce.yaml +++ b/Documentation/devicetree/bindings/crypto/qcom-qce.yaml @@ -35,7 +35,9 @@ properties: - qcom,ipq6018-qce - qcom,ipq8074-qce - qcom,msm8996-qce + - qcom,qcm2290-qce - qcom,sdm845-qce + - qcom,sm6115-qce - const: qcom,ipq4019-qce - const: qcom,qce @@ -52,16 +54,12 @@ properties: maxItems: 1 clocks: - items: - - description: iface clocks register interface. - - description: bus clocks data transfer interface. - - description: core clocks rest of the crypto block. + minItems: 1 + maxItems: 3 clock-names: - items: - - const: iface - - const: bus - - const: core + minItems: 1 + maxItems: 3 iommus: minItems: 1 @@ -95,9 +93,37 @@ allOf: enum: - qcom,crypto-v5.1 - qcom,crypto-v5.4 - - qcom,ipq4019-qce + - qcom,ipq6018-qce + - qcom,ipq8074-qce + - qcom,msm8996-qce + - qcom,sdm845-qce + then: + properties: + clocks: + maxItems: 3 + clock-names: + items: + - const: iface + - const: bus + - const: core + required: + - clocks + - clock-names + - if: + properties: + compatible: + contains: + enum: + - qcom,qcm2290-qce + - qcom,sm6115-qce then: + properties: + clocks: + maxItems: 1 + clock-names: + items: + - const: core required: - clocks - clock-names From patchwork Fri May 26 19:22: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: 99634 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp707645vqr; Fri, 26 May 2023 12:36:05 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6+vIXVkCivR7tzOGg6Z18v0bPtNzvGgKw4vJC8/ya9kmVStm8tlPQQXSZ07U6tg05dtUWF X-Received: by 2002:a17:90a:7d03:b0:24e:2e86:5465 with SMTP id g3-20020a17090a7d0300b0024e2e865465mr3319266pjl.31.1685129765517; Fri, 26 May 2023 12:36:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685129765; cv=none; d=google.com; s=arc-20160816; b=FVR6ht+su2cKoIXZUU5m+bOUr8t3ERretcMsPb/6Nkdr/pOu6yE7E7hAQ4+0rwFkxg 1OuGwB7fOXpUrIfkjmN45k7AzWaCiwKldQvFYW88sA2ZMbpo716HjCRKcHVKPeAyGYIc HPkLgylMaC6OLfYY+P4mAKLWiVzL0UDVeLE6xYTibo3ecxaBVoV+AsvdEb9uXkgONkih U3K1Ha268lgR9J7mzfswXTzu0Dven7AuQ3V4ec7MWIj0Crouy6w2b3Gtco2Us54OAuKy hSnYF2HhJ8RTSeH4oaBtiiggSwLlNMpBgeioGnnYKrScBqY/w6wWw3RGc0z+VQgWJHDP oSyA== 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=sOhQfsJK5dTieFAHpndB0sp0nugrzVr1VK8sl6Is5JA=; b=HNXmlKVU7Nc609jvPurwE/zLAQcOm+dMXuwsnVezcDAFGaekgJZ4oiiF9jvn7gfGWP 8PJIEvSgtDuy+PTyv2H65VMSWBPThqBsNs5daoujLTmPxiS78wzcgm0vBJe7rziy2R1m bj+DPCowOPKUCMOoXBIdqufj1G1+U1AnvLWJtnL2GfUegNi3iRs5CAW1kfjy17LDsR0M qtlJBd6MxeWpaS+TSNaYQJDcH7fM2TpA1PzpOnscYjys+7EVNHwKk53ZQqJRhwCzT8hB a0ZOUMdDswnKZXdXVoFE9rKTRi7wcp2v0AoLY2LceL6+aou/QhxTHUeLx9Xgj5t7ycvE bDvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TH3DzXkl; 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 g10-20020a636b0a000000b0053efd751392si4074932pgc.827.2023.05.26.12.35.48; Fri, 26 May 2023 12:36:05 -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=TH3DzXkl; 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 S242692AbjEZTXo (ORCPT + 99 others); Fri, 26 May 2023 15:23:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42040 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236575AbjEZTXX (ORCPT ); Fri, 26 May 2023 15:23:23 -0400 Received: from mail-pl1-x62a.google.com (mail-pl1-x62a.google.com [IPv6:2607:f8b0:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6025510C7 for ; Fri, 26 May 2023 12:23:15 -0700 (PDT) Received: by mail-pl1-x62a.google.com with SMTP id d9443c01a7336-1b01d912a76so4214855ad.2 for ; Fri, 26 May 2023 12:23:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685128994; x=1687720994; 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=sOhQfsJK5dTieFAHpndB0sp0nugrzVr1VK8sl6Is5JA=; b=TH3DzXklVpoQLcvmbEHgOMUwYCSXzJn2RotIMOVEnaSCBK5DLHrLNleol3LHbsl8aY erU8ZFwyP46nnAPJkfJBG1orX/i15p0f9kVnbRpSAby+UUB3GNMVn8EzPtZ1ZQStGRj7 VVn5uOGKMDZahEjOU8Xg/88CJeaR0RuP7qYO7AhSOqGM5t/fV4TWvi0bM4pwlbw1PLr0 o8VAlAgqPsLdOaonmaxCY+IMJ8fmu0/H14+EaW52G9P1qnnqezlAjg5ff7d+atEjgVx+ UuPfg9l/FIp6z8zPo12czfN39oI0vhXSj/axCiC++aCv6aXjqH0M3tjMJSr7h6rme5/Q ejKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685128994; x=1687720994; 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=sOhQfsJK5dTieFAHpndB0sp0nugrzVr1VK8sl6Is5JA=; b=Gi2AlP9/YepzwkFKku1nylei2ZRv/Mjgumi1drR5dN/dytdpbSgvC0VpHTumS9yPVG nHl672hHQioSWDXWkbTG2gcWYAn+0UE+b8dbei2ilZhA83MZJ3AN4/6f+j1D8kl4Y9ZN AcrhRL07GB/eQlPiyzNgeIIDGexy7bOTZWQ57hesXYl+8SqPKxLIpACe2lfDxRfuAcIM K1ZE3pwg5q+f27lpTR6yyGEqx//YwOYoh1HSpWC2PkoO72lmoaLWhehHxieoX6Fq8Txk CvALMY4cbm7ELU9ueJK/vrn6lqsS0zIrq38AKFw6IQA/f7EWuKuYhYCWkQEpcL5Xx+R5 oTWA== X-Gm-Message-State: AC+VfDzTIORgks6s90nu1t77Jy+ZUUh0cgHxkSY2XBlYKjrFr+rJFW4k fywcTReGto+MRWKFRGEnB5rSpg== X-Received: by 2002:a17:902:7084:b0:1ac:6882:1a6f with SMTP id z4-20020a170902708400b001ac68821a6fmr2794943plk.30.1685128994398; Fri, 26 May 2023 12:23:14 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1f3a:6990:1a5c:b29f:f8cf:923c]) by smtp.gmail.com with ESMTPSA id q18-20020a17090311d200b001b008b3dee2sm1955079plh.287.2023.05.26.12.23.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 May 2023 12:23:14 -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, stephan@gerhold.net, Anders Roxell , Linux Kernel Functional Testing Subject: [PATCH v8 07/11] arm64: dts: qcom: sm6115: Add Crypto Engine support Date: Sat, 27 May 2023 00:52:06 +0530 Message-Id: <20230526192210.3146896-8-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230526192210.3146896-1-bhupesh.sharma@linaro.org> References: <20230526192210.3146896-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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?1766986629099392679?= X-GMAIL-MSGID: =?utf-8?q?1766986629099392679?= Add crypto engine (CE) and CE BAM related nodes and definitions to 'sm6115.dtsi'. Reviewed-by: Konrad Dybcio Tested-by: Konrad Dybcio Tested-by: Anders Roxell Tested-by: Linux Kernel Functional Testing Signed-off-by: Bhupesh Sharma --- arch/arm64/boot/dts/qcom/sm6115.dtsi | 31 ++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qcom/sm6115.dtsi index 43f31c1b9d5a..2aa148340277 100644 --- a/arch/arm64/boot/dts/qcom/sm6115.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6115.dtsi @@ -663,6 +663,37 @@ 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 = ; + clocks = <&rpmcc RPM_SMD_CE1_CLK>; + clock-names = "bam_clk"; + #dma-cells = <1>; + qcom,ee = <0>; + qcom,controlled-remotely; + iommus = <&apps_smmu 0x92 0>, + <&apps_smmu 0x94 0x11>, + <&apps_smmu 0x96 0x11>, + <&apps_smmu 0x98 0x1>, + <&apps_smmu 0x9F 0>; + }; + + crypto: crypto@1b3a000 { + compatible = "qcom,sm6115-qce", "qcom,ipq4019-qce", "qcom,qce"; + reg = <0x0 0x01b3a000 0x0 0x6000>; + clocks = <&rpmcc RPM_SMD_CE1_CLK>; + clock-names = "core"; + + dmas = <&cryptobam 6>, <&cryptobam 7>; + dma-names = "rx", "tx"; + iommus = <&apps_smmu 0x92 0>, + <&apps_smmu 0x94 0x11>, + <&apps_smmu 0x96 0x11>, + <&apps_smmu 0x98 0x1>, + <&apps_smmu 0x9F 0>; + }; + qfprom@1b40000 { compatible = "qcom,sm6115-qfprom", "qcom,qfprom"; reg = <0x0 0x01b40000 0x0 0x7000>; From patchwork Fri May 26 19:22: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: 99640 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp708039vqr; Fri, 26 May 2023 12:36:51 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4aoTr7KODSOvuMR15wZsH/i7RSJH4FSw3U/SRysiQJtVaMmsUf6lq/VtP5IIq2UHOyxAkl X-Received: by 2002:a05:6a20:7d85:b0:100:8592:9a7f with SMTP id v5-20020a056a207d8500b0010085929a7fmr507260pzj.45.1685129810746; Fri, 26 May 2023 12:36:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685129810; cv=none; d=google.com; s=arc-20160816; b=qRPUcJrnIKS73pandlDeotxNFpWV9rGBmxM7Lrfe/Zxkcbz0L9EMi8DCVwZqQmo5ge a7ZPl/9OkE/rR1O92Da2YemXMFEfz629/rB0izq0df2HBn/gZAW9pfjtFllj9ZObLIDL RXvFbTeIQz/BC4Sd0QXNQBcLJMQtBAbMBKcYR0/qnt74GOjq+XgxAvLkP88uj4bHK2w1 BRruOea/TCyg6o57qV54UK7tD/9Qwi+BQSVrrA8QNBQW1leBj8LtLnaaDORosRXJYAZp dV3JQex2ATD2k2Djd5J3bG3dCFVHTztYhh+Pn7mtYP94IJRqp8mjs71FvFyYyKA6FySF dOHw== 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=btA26CfzhWy+kp3uofjDjq8wT7mv+U+LR27ouy/0RX4=; b=Jhf9ZJYC8HcfmVhRmTibLzyDveXM9TXjC7lzpryWnhuw7P5YOFEYxBDk2rxDhTmfcJ RQ41FgKhiDraS+U9cTGcEJpryaPK1hDtJZLlnCq1i2XMvdCu79ZXWIWFV959gKHzBt1O M7jpzUHJkfjI/k9Yhn2mut/o96VDLYBaZFnj9jjKj8UxPydt6b5NNzGxpkdkdxqX01Go 1piGUwnxv5b/q1NU+G74jGN4o+33h8UQ1fwjxo16p7++pWLaAX4TCg6sVnj2gbELAlIS Wb+oWs7pBbqLRr3dlsRZ6mambuGjgptv9XJ35rIQwz+EckOdqoAabJBPP5D/fcJb+lxt p/0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YvOcPDll; 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 w18-20020a170902e89200b001ae2aa44a98si4888530plg.265.2023.05.26.12.36.35; Fri, 26 May 2023 12:36:50 -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=YvOcPDll; 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 S236867AbjEZTX4 (ORCPT + 99 others); Fri, 26 May 2023 15:23:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42884 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243871AbjEZTXd (ORCPT ); Fri, 26 May 2023 15:23:33 -0400 Received: from mail-pg1-x52e.google.com (mail-pg1-x52e.google.com [IPv6:2607:f8b0:4864:20::52e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E7745E4C for ; Fri, 26 May 2023 12:23:20 -0700 (PDT) Received: by mail-pg1-x52e.google.com with SMTP id 41be03b00d2f7-5208be24dcbso757431a12.1 for ; Fri, 26 May 2023 12:23:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685129000; x=1687721000; 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=btA26CfzhWy+kp3uofjDjq8wT7mv+U+LR27ouy/0RX4=; b=YvOcPDllz+idyR1ffVcHFcFhrJqHuqZGFvD8KNb2sMQRfZq+tA667Yv1SuzQzVnW8R obE/cJI+3dcRSEhNj8Z8aGeM4dxVlPzjyKvukEr0/GvBDJEe4WssqOrYjPSiWoMmAYc5 yHW7BH8hoP2UO7HT6i6Q7NNQDi9ZNmSAZ/3xoXqe9LLLapFd3deWM05x9F/tjOQc1iRF mhUdR3HYCfmc13SDwOW5DN0+rJaYcgJa50vXyVyGsMByhrWpVU1yqUyATIfJ8DfIbJpV vbMEpKKAguQb7d5kz1VFYPLPVSORiNKDM0HATSseCeItr0iQ4YigF4rqu5RZ+ii31Uyd aT2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685129000; x=1687721000; 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=btA26CfzhWy+kp3uofjDjq8wT7mv+U+LR27ouy/0RX4=; b=GlZZDteUv5WKjsbZgKcRXCmO5Es0/IXDYmu+zh7/+SttnChDaKkduNtjxxpmIPwgiF 44dPdV0JOGdePeXzeS8TMpXtVwPO4R4tyLLTQ1tHLxKA0FzmVw7bADxb19yMnbnt0sjI AlfOJ9XbsBy716qoy3altxguO+VyB2qU2ocf5QfmiTghbupq1K7R6SvE+Njp2+0mP8r3 Ueq9QEgWRt/PFJkwiVfX0ALPVXI1NQnfpmlOaicByQdKVMcGkrzy7nzC3pUmLm/DCpBT klGCdXBgKQtsXco5jp0P5TTNgJOcQA63fmC06WtOxhlQ6VujaftHJcazNvNyrBMwEAUL Vhiw== X-Gm-Message-State: AC+VfDwtWoxnZVpNAHIztfNxnHXfDU4OVTOMui7mCpdk9Bq/ntg/8HKS I4mg5fKzGMdHh/OMnJLsqQrS7Q== X-Received: by 2002:a17:902:e750:b0:1af:9b8a:9c7b with SMTP id p16-20020a170902e75000b001af9b8a9c7bmr3557556plf.47.1685129000220; Fri, 26 May 2023 12:23:20 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1f3a:6990:1a5c:b29f:f8cf:923c]) by smtp.gmail.com with ESMTPSA id q18-20020a17090311d200b001b008b3dee2sm1955079plh.287.2023.05.26.12.23.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 May 2023 12:23:19 -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, stephan@gerhold.net, Anders Roxell , Linux Kernel Functional Testing Subject: [PATCH v8 08/11] arm64: dts: qcom: sm8150: Add Crypto Engine support Date: Sat, 27 May 2023 00:52:07 +0530 Message-Id: <20230526192210.3146896-9-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230526192210.3146896-1-bhupesh.sharma@linaro.org> References: <20230526192210.3146896-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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?1766986676447157594?= X-GMAIL-MSGID: =?utf-8?q?1766986676447157594?= Add crypto engine (CE) and CE BAM related nodes and definitions to 'sm8150.dtsi'. Tested-by: Anders Roxell Tested-by: Linux Kernel Functional Testing Signed-off-by: Bhupesh Sharma --- arch/arm64/boot/dts/qcom/sm8150.dtsi | 30 ++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi index a7f7bbfefa5b..197c016aaeba 100644 --- a/arch/arm64/boot/dts/qcom/sm8150.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi @@ -2094,6 +2094,36 @@ 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; + num-channels = <8>; + qcom,num-ees = <2>; + iommus = <&apps_smmu 0x502 0x0641>, + <&apps_smmu 0x504 0x0011>, + <&apps_smmu 0x506 0x0011>, + <&apps_smmu 0x508 0x0011>, + <&apps_smmu 0x512 0x0000>; + }; + + 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 0x502 0x0641>, + <&apps_smmu 0x504 0x0011>, + <&apps_smmu 0x506 0x0011>, + <&apps_smmu 0x508 0x0011>, + <&apps_smmu 0x512 0x0000>; + 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 Fri May 26 19:22: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: 99627 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp702760vqr; Fri, 26 May 2023 12:25:58 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ660+Hg7bBOEoiYyf8WWrH4WczsUDscw89cT2wzu0a46dkBvsxFr5WXaiQsop3zaREXH/EO X-Received: by 2002:a05:6a20:7f81:b0:100:24d7:545b with SMTP id d1-20020a056a207f8100b0010024d7545bmr547820pzj.10.1685129158131; Fri, 26 May 2023 12:25:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685129158; cv=none; d=google.com; s=arc-20160816; b=GGyes9NFvnLfFugohD+9U7WAwCdrR243Pp12O9hdBOEK8WkRpuGMvnxYYx8yc7otJs nCXTKUoon4X/eGoi3TYVjqWwkEVYVIgUdR6bkgh0SUIj6Kg3+aQwQt1dm/za1s0d9Kqb 1U4bqTzJnBeGScJ9Yo1GzQogRZVzQwWJApUmNMVFhjOgqgOKxpx/YB0Gh4bRR51zyF4c lr2sqBPZkahk+QdO3nor+u+Tkj4pvcjqsTUg/NxRs7a+T28os5q7SroyxsOOQIHwD0Oe FXkW7CUztsbR4iXVkNvu7rNql/LhJI2vJG0/3eJ4ukVjIzn1FWtpGp5ZXNzhQFA+9Om1 6IpQ== 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=LMTHG8l+qigWdbQ7cyJvnKtXRMQ+ez6nvcozSSImI4Q=; b=KIW4k7FPz1KDeU+HVRHEtCZP9UBHpEfip13NYSTSmlpjKvvKr4VzthTtTDHiabvSvr qQfTOqJF5gJusxy8eM9rFZuJVPMgm7vqq3SGwh59vojnwdHwubBZ5Pc6jJOoeuf+LSKq UQSoYwx8AdxqMWZC/rBo6xXymjWj7uwULZHf0i9DmckG8miMMV8Z08boyj7y3+sil9H5 7Ij8b1cr3MjfaEYCSZR/KIN3z/zx6KgCEQdJ8QAq1i/yD97rribRp9NIJA1rsHwkM6Qq 25VMcvs19XVjae+C+f281aDzV9zyYv7hziJ6Pd5JYPbvJYowXVzpV6ZSTrIxQNgUJzAj o7bg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GJQcey1t; 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 qe1-20020a17090b4f8100b00246596483a3si76150pjb.37.2023.05.26.12.25.42; Fri, 26 May 2023 12:25: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=GJQcey1t; 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 S230025AbjEZTYN (ORCPT + 99 others); Fri, 26 May 2023 15:24:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43120 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243585AbjEZTXu (ORCPT ); Fri, 26 May 2023 15:23:50 -0400 Received: from mail-pg1-x536.google.com (mail-pg1-x536.google.com [IPv6:2607:f8b0:4864:20::536]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 58F1E10F7 for ; Fri, 26 May 2023 12:23:28 -0700 (PDT) Received: by mail-pg1-x536.google.com with SMTP id 41be03b00d2f7-5144a9c11c7so1000022a12.2 for ; Fri, 26 May 2023 12:23:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685129006; x=1687721006; 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=LMTHG8l+qigWdbQ7cyJvnKtXRMQ+ez6nvcozSSImI4Q=; b=GJQcey1tIco4VsgW2wCa3EVnoFzVEek0hn7ePdRn29+qgiW0g9UYwipeEXNnCsMFmm QdeaTktSBVaTQZCWHHFS06jCo6Aah31J9cn/15FwpU6QELQEa0EWimTP73hYhMFcHhE4 U/lK6w5eW3vOpHDeVHqcEkXq0g19aLyz68otddynIjR3pd2MwTG3g0sEP/5LX08fZZge VR97znrZayCVAWtB16b2Z6oajzdVluVxGtmZO6LVZoPZOrOOjXtYBX08KhZJNcEZY4M8 lQRRghIrInaBgcKvJ1bsn0YK+aGeBMGWrhvB4TVXfEGyWseLzJnlmjVYVGJslPT4KAvK JGCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685129006; x=1687721006; 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=LMTHG8l+qigWdbQ7cyJvnKtXRMQ+ez6nvcozSSImI4Q=; b=dLN59CDNmnLMCt0vVPVLU6k4p399LKwU+xt20bUyQxVQ2ejEb0j/MO6l8K4TBOm06l ioEhkPGGOZwAGWegf9xxQw+e+9if7/fD0fJmeJS9Rd41f1UUPv2ZtL6514LGvje9SZPl wWvwzteEqjNFJuxNroHm4wN+6XpeQlyBTZ7vDx/SgJHziG1e7KQe2mvnlzkOemev5oh5 T1/Z59ymUaWsCa1Eo9uzg2OIJtlMm4kX9qt0dBCFkgS19HQajcMESpZMa3t6UxZyCp0w 6U9l8tgJ8DTLlPLCWlKy5rgLYi//SFUgpj7Fyu/x4mSTH0U3Y1kNevmRLK2UutctX0Cq 8VTQ== X-Gm-Message-State: AC+VfDwQweLLzHDR2EUCbLypj9KxkEdoDJvSZxviXB9NzVmReA4xjyr/ f6SMz1hOEZ5qBOQ8Kwp2myMhzg== X-Received: by 2002:a17:903:2312:b0:1b0:155b:bff2 with SMTP id d18-20020a170903231200b001b0155bbff2mr3221607plh.59.1685129006728; Fri, 26 May 2023 12:23:26 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1f3a:6990:1a5c:b29f:f8cf:923c]) by smtp.gmail.com with ESMTPSA id q18-20020a17090311d200b001b008b3dee2sm1955079plh.287.2023.05.26.12.23.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 May 2023 12:23:26 -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, stephan@gerhold.net, Anders Roxell , Linux Kernel Functional Testing Subject: [PATCH v8 09/11] arm64: dts: qcom: sm8250: Add Crypto Engine support Date: Sat, 27 May 2023 00:52:08 +0530 Message-Id: <20230526192210.3146896-10-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230526192210.3146896-1-bhupesh.sharma@linaro.org> References: <20230526192210.3146896-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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?1766985992017342762?= X-GMAIL-MSGID: =?utf-8?q?1766985992017342762?= Add crypto engine (CE) and CE BAM related nodes and definitions to 'sm8250.dtsi'. Tested-by: Anders Roxell Tested-by: Linux Kernel Functional Testing Co-developed-by and Signed-off-by: Vladimir Zapolskiy Signed-off-by: Bhupesh Sharma --- arch/arm64/boot/dts/qcom/sm8250.dtsi | 32 ++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi index 7bea916900e2..79fad917d142 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -2232,6 +2232,38 @@ 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; + num-channels = <8>; + qcom,num-ees = <2>; + iommus = <&apps_smmu 0x592 0x0000>, + <&apps_smmu 0x598 0x0000>, + <&apps_smmu 0x599 0x0000>, + <&apps_smmu 0x59f 0x0000>, + <&apps_smmu 0x586 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 0x592 0x0000>, + <&apps_smmu 0x598 0x0000>, + <&apps_smmu 0x599 0x0000>, + <&apps_smmu 0x59f 0x0000>, + <&apps_smmu 0x586 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 Fri May 26 19:22: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: 99631 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp707438vqr; Fri, 26 May 2023 12:35:37 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ49RJIeAMq64Qjd/ProQ1jEcDQjWi8czMV+3gFjAFzrHLEJ54e/0UsxLThYFCRTGDIx7obM X-Received: by 2002:a05:6a00:2d83:b0:641:39cb:1716 with SMTP id fb3-20020a056a002d8300b0064139cb1716mr4938376pfb.20.1685129737662; Fri, 26 May 2023 12:35:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685129737; cv=none; d=google.com; s=arc-20160816; b=NVaqJ70IMd/Jogr7S6yakN/efX29fw5HcfDdJlvtGLEL6KcD8HiAQxrNtzR/lHM+0F VH36SgeixDvQnKgeww9e1xj002c9+j1x9pRl7Q/CiPRzVD5ZNCLIci//lHh/9QwlzBxv K4jiJrtuneTHcM+JIkMTRAQOSjUoRGuPL1twkM81iW4x7yfx9YeWp928cICeicjuevmS aD2oEgXl5ypYUrMXNXsTVtyAPBW/Uav6HN4zcayl/uTbSslEx87YQhw0zJxZoNmilijF ZNAeo6rcDW6NQVFCRZ2Hpe/Jr2wrlREjUf5xpZbthi/knPj/DqQdqzo5Wv9e2Aa64s5/ MCBQ== 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=LzLxRqESfAzhWOHk9jWggF2sKez+2FAQRolSYn3FDhg=; b=Pcq0exmmZ+mQWzseFW91eIf9tUfU4SIN+dd6pgLC5FEyL5L7Ywfra4v7tHz4d/q1xg tUHcPhosMn+d3SL64GnLpZWoAlBQaTz66s8BZmtMAUvVb+TlXEMJVbnXbtg78zcGRLg0 Zr22bSmdXyqVAeeGqWJWBnZQYGGUCaaDI1b9x2TiCFReNwNWfoMejZkJzypCVxoymCh2 iXVXr7NRab9+Q1AP3U+yE4kVOZwle8f2MDqMkxbcZCvcMSxo5Pq93+/dw0djWWyeLECK YSSpqFAg4yb+rybdEKgWjP+Sdgy3YINXr3bocxFp0noC2b9JqwXakdlnT0jpelnHCzQB a53A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UZvG6SPq; 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 p4-20020a63ab04000000b0053f266243e3si4293557pgf.231.2023.05.26.12.35.01; Fri, 26 May 2023 12:35: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=UZvG6SPq; 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 S242430AbjEZTZB (ORCPT + 99 others); Fri, 26 May 2023 15:25:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42900 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234439AbjEZTYS (ORCPT ); Fri, 26 May 2023 15:24:18 -0400 Received: from mail-pl1-x634.google.com (mail-pl1-x634.google.com [IPv6:2607:f8b0:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 46843E4E for ; Fri, 26 May 2023 12:23:57 -0700 (PDT) Received: by mail-pl1-x634.google.com with SMTP id d9443c01a7336-1ae3ed1b08eso11085765ad.0 for ; Fri, 26 May 2023 12:23:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685129012; x=1687721012; 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=LzLxRqESfAzhWOHk9jWggF2sKez+2FAQRolSYn3FDhg=; b=UZvG6SPqirBlWwo5g3YildSNzcleAp3Rwlt3UKE8P2jPVYOL9fo4scwjEO9njeI4C4 n0POx7PAKH8wF9/wdNF47kCoAkbIMNM4utf8vz0Vs9QNpcZMvYIQ5EcUjEZTWTA0r2Oc 2zDFWnhpSbWn+NDDESS2dvuFQySHKuCaKxfL/nIyZEmy2to/CnRpa4OSqekUPS2QuNvb ZE1J2v2l3ooCfGe8A5pJlA5+x4Rg4q6+cQ2EUUweoyeH5FP023qPhtdWCY7y/AOoPJaP UWG4M0zYTvRpIADCs1hKKejlHxEiEOASIqknBhbF/j2VtMhDsGlLbUF2cQuGwm3NSAiF kvrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685129012; x=1687721012; 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=LzLxRqESfAzhWOHk9jWggF2sKez+2FAQRolSYn3FDhg=; b=BSYFfZS3vlfyJzLfDaBF4wb+pWuYcldrV5aLV2jeHpK0sLjJfPkVvFnJ+xb70SwMBX UO8v9gDdWh7gM+4zUoT02XmhSqOXc12Yk2kMjXUld+oujBg66SlpBN9IRLPnn8xgfk13 h2pp3J7mSizMIoXqvR/Ts8UzvYY7FFiXnGp7kB/WZPpeWUylslm0hT4Jok4h/lkpsGRg lxZuL+82nfiMERv8o4W8patW/nl/CRuAGFmdpvFzNNjW3ys292/AnLm4SkGhTWSRINeu +FCkNCvdcLEYhD/tf+zhj32n5uZ7phe2JjfdcqyKorzVYV5HxV/aGiyDP1Xl7irs04Ob rYrw== X-Gm-Message-State: AC+VfDzyoafVekCraFuWM33T19h7MnmuNxAvdSUApd04GtNorhhnSzJj 3LfVlZ3NIpwYjgYrK18/x6xlBA== X-Received: by 2002:a17:902:ce90:b0:1ac:310d:872d with SMTP id f16-20020a170902ce9000b001ac310d872dmr3587422plg.52.1685129012380; Fri, 26 May 2023 12:23:32 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1f3a:6990:1a5c:b29f:f8cf:923c]) by smtp.gmail.com with ESMTPSA id q18-20020a17090311d200b001b008b3dee2sm1955079plh.287.2023.05.26.12.23.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 May 2023 12:23: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, djakov@kernel.org, stephan@gerhold.net, Anders Roxell , Linux Kernel Functional Testing Subject: [PATCH v8 10/11] arm64: dts: qcom: sm8350: Add Crypto Engine support Date: Sat, 27 May 2023 00:52:09 +0530 Message-Id: <20230526192210.3146896-11-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230526192210.3146896-1-bhupesh.sharma@linaro.org> References: <20230526192210.3146896-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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?1766986599572738982?= X-GMAIL-MSGID: =?utf-8?q?1766986599572738982?= Add crypto engine (CE) and CE BAM related nodes and definitions to 'sm8350.dtsi'. Tested-by: Anders Roxell Tested-by: Linux Kernel Functional Testing 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 d9aa591dccf8..52afdf26b2bf 100644 --- a/arch/arm64/boot/dts/qcom/sm8350.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8350.dtsi @@ -1735,6 +1735,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 Fri May 26 19:22:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 99630 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp707433vqr; Fri, 26 May 2023 12:35:37 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ74h/S5NB+qhhHWYF8z+DCZb+YZTylNyPYAaWQSmwuDiohBWVSOd++yjnVwIhZTItyZWdw7 X-Received: by 2002:a17:90a:840a:b0:253:340d:77d8 with SMTP id j10-20020a17090a840a00b00253340d77d8mr3413999pjn.33.1685129737157; Fri, 26 May 2023 12:35:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685129737; cv=none; d=google.com; s=arc-20160816; b=zJxvsRWPIUcJXaA0Vsu9AQAPxgdenkL3oUKwqs9hZlSttExorE7HUUszUWhku9TV3s Mm73Yft+6kTEI6GnbDahW9+RZa838hfpqx2vq2TPEaV9spgKCsnchK4O9fwmvEFQoljG fMrKKHW4+ZYCMxvTB50QUx19OXVP80kniojWKKugmv0LrL/mcNRqBqC16Mlmt5UJRIZv RlqBXcXy8qXdVcP2vCDELqu3GbGHMjWllVKJN/XnlFLl8TAO+oEIcPYc1ngfvMw+t96M sf95dMBWClFPQALYPA2u0+HnrGd6VBjYz2sA4Z2ch73KZ1lVf5BLPVgvM1uKKMxqzHa4 /RuQ== 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=1njn0X79ZVa4bpFpIROGKaYXKaM1KuhMVkxwXfg7gOQ=; b=bFykbpufidfb3RRU0BC1DRVnbigbBsrZTcYR8FmSMs8UhGZEOLhztpmzD8vOHpb0Gi Teukv5nw7PBoqFM5reZmOZNE5IKfsSYJRQbcC6SOghizR1NCH0aTU1qo6ePoXPX8ZvGZ vp8/d0TvwumMJygOeg2yuc5tVvsNZA3fYY7fX+ou0cuyknSGyxBdDoz3HexZNJ+Ui3jH 85/qtlnsNg7JWhksjA1vcqQBQ59QiIYXO02iXtICXYb4e0QsbxDvAehFB11es/OrzWe4 oEBBGPTGlkpvu9OzWc5LfOegXSzpqPsUZ0gpEIElfxWsjXiH3Vre+Zcxt9+HNAr2IGik wO7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HrGYDfvG; 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 qe9-20020a17090b4f8900b00237155f2303si5113467pjb.136.2023.05.26.12.35.04; Fri, 26 May 2023 12:35: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=HrGYDfvG; 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 S236849AbjEZTY4 (ORCPT + 99 others); Fri, 26 May 2023 15:24:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41952 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243939AbjEZTYV (ORCPT ); Fri, 26 May 2023 15:24:21 -0400 Received: from mail-pf1-x431.google.com (mail-pf1-x431.google.com [IPv6:2607:f8b0:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2CB76171C for ; Fri, 26 May 2023 12:24:00 -0700 (PDT) Received: by mail-pf1-x431.google.com with SMTP id d2e1a72fcca58-64d293746e0so1543083b3a.2 for ; Fri, 26 May 2023 12:24:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685129018; x=1687721018; 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=1njn0X79ZVa4bpFpIROGKaYXKaM1KuhMVkxwXfg7gOQ=; b=HrGYDfvG0Xsp/A/zedL8nS5rkVVlhkW+JEy5OlneDMG/FgpWWoHBL4qqfR3sqNrAHw N02hyr2pY/kCoaFrrLZW33UmvPQ96h3Xx5/ILcF1jisy/CHOfgOd86RxzB14dsdsmfsd eKLq79NclssCpBvvUwCSydAK6IKdT8VxPP7g9gzsBStvgk4tyIfza7M3D8fc7wAggdPf NpZTMewKyelWDwdU0FWZf8Aij6Okk5N92xuX+jn8UEZosrGxQh7eKUknyIh0iOoVe34t gh5vOcoAvxV7xexxHfH0dX3T0kFUTBdWel+49SZ64pQtbnZJELkjGVSMB6ovUEBHh98t bRog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685129018; x=1687721018; 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=1njn0X79ZVa4bpFpIROGKaYXKaM1KuhMVkxwXfg7gOQ=; b=W7jHa53x0qdgXnwa9y+HStH2b5SyVFPplSRHp//BK6aHtQdoop3gsLjrI5Avg/FdWk TyH57v3Dq3dfUyCshyagl4I+kDQC6RbeREDet6lnZh01Mu6yNktr114WSkKJxBvcwxqa JCBQ77n2ahbuSn0q98jTovIF7q67jE1xLczbxmmF9fcpgwwpsrUPBFRbXZxW0O/PPSui d/jZG2kPbe9sQDoee+zVVVARqVZW97cS1tvRavu7GiKhrj1riWIxJU8ND7Xc28j4uo7v P3swlvr/Y5Ca29bA+1EOh7Odeq5M3CCM5i5aH+l9WBfeBCT8SkAj6DMEVZBDxIwM+tHr euWg== X-Gm-Message-State: AC+VfDwUwN42lyDYHx++tCKFco7oX9Obr+Ifkl6G8sz4spsVkhxRyZsb 2FtO4bZzvGsAxMkrb4LvoRSaP9hHMVki5gCAqJg= X-Received: by 2002:a05:6a20:d493:b0:10d:3134:10d7 with SMTP id im19-20020a056a20d49300b0010d313410d7mr437546pzb.27.1685129018344; Fri, 26 May 2023 12:23:38 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1f3a:6990:1a5c:b29f:f8cf:923c]) by smtp.gmail.com with ESMTPSA id q18-20020a17090311d200b001b008b3dee2sm1955079plh.287.2023.05.26.12.23.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 May 2023 12:23: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, stephan@gerhold.net, Anders Roxell , Linux Kernel Functional Testing Subject: [PATCH v8 11/11] arm64: dts: qcom: sm8450: add crypto nodes Date: Sat, 27 May 2023 00:52:10 +0530 Message-Id: <20230526192210.3146896-12-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230526192210.3146896-1-bhupesh.sharma@linaro.org> References: <20230526192210.3146896-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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?1766986599254158729?= X-GMAIL-MSGID: =?utf-8?q?1766986599254158729?= From: Neil Armstrong Add crypto engine (CE) and CE BAM related nodes and definitions for the SM8450 SoC. Tested-by: Anders Roxell Tested-by: Linux Kernel Functional Testing 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 7f193802a7c4..1642daea9624 100644 --- a/arch/arm64/boot/dts/qcom/sm8450.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8450.dtsi @@ -4173,6 +4173,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>;