From patchwork Fri Mar 31 16:43:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 77910 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp710209vqo; Fri, 31 Mar 2023 10:05:54 -0700 (PDT) X-Google-Smtp-Source: AKy350aV84X5y1CksW2lost6Rxw6TvBZM9rp8x7A6yirph9hFl702sZwU8Z2vV95OAezzq1JQ+Eg X-Received: by 2002:aa7:8f13:0:b0:626:2ce1:263c with SMTP id x19-20020aa78f13000000b006262ce1263cmr25982377pfr.5.1680282353991; Fri, 31 Mar 2023 10:05:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680282353; cv=none; d=google.com; s=arc-20160816; b=vLybdQIAFEIglVD1ta4p7oTJFoNaFhkWYsyiZOyFXixAvba6W33hLhDkbgmBvlPKqU 42DIYreGWVeInmUkIvyzkq7/R64XTHyUfrPYDNIgkqGLAZ85J7xvB769LIb6bIUXu+v5 NnjoIMdeY3ReQfwK6wEihNR46S3RV9GEnoEWEEug3Rf5y+9BTUS0ZYegtR0ayK91tOyF sWUgCShcjoXYYvXlSJqsEHCRcgE0zNyzua1Veo+V0py8rrxmcLuLy6eMCdyjXuTdYFTa GvtaBpApvo1jHCE2ODOYNSky36QYNc+1NXM+tBrMyofMyZdXOfp1dVIKNQ5I6RBgBG88 1kIw== 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=gkYOLIZ1gQIsCBl6zAcU/vVfG9FTwn+4rSwIFFFP8Dg=; b=K9fVXPAgFlsaKbFtA5wt+6ccubPi7pyCQUMZ+o6RyLQ4HwW0GucGFtYzcML7/pLXlx OrP6EUX1LZMyQBRrbgydxWkw3Ag/LJd8DBMIXxfZIe/dEcu6nBka4H6O3XNVnUbpB450 wtDxCv+rI5VTmwGMeR15NhJkRkAATkLHkknOZfCtjDTmGED0pGUciLAVB7zBmtL1kWuq o/i7kn8fgdefFq0Wd73e2I6xj1/WgRbWtwc0yTlp/IRkNid3OK+N3RgMLXwB9M/zhdIh Bl6A1QDQWY5FlFkjXBNmcNMx5Yr+OY5wde5lX1XnKb7JYeNsoX2yep6BuUpjZpG4nedz gjzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wqtW98+k; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q17-20020aa79831000000b0062d86ae9bbdsi2882321pfl.0.2023.03.31.10.05.40; Fri, 31 Mar 2023 10:05:53 -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=wqtW98+k; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232721AbjCaQpV (ORCPT + 99 others); Fri, 31 Mar 2023 12:45:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37522 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231786AbjCaQpE (ORCPT ); Fri, 31 Mar 2023 12:45:04 -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 015D876A6 for ; Fri, 31 Mar 2023 09:43:44 -0700 (PDT) Received: by mail-pl1-x632.google.com with SMTP id kc4so21746923plb.10 for ; Fri, 31 Mar 2023 09:43:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680281019; 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=gkYOLIZ1gQIsCBl6zAcU/vVfG9FTwn+4rSwIFFFP8Dg=; b=wqtW98+ku0+HQRwv1TcLcEicaTFMNbl2bsY6DojBGjgami1tewYS/PgQ+IUsY4Mekv BbqYFe9+uoOwsRm0h9ZOgad3Tc91wfacrGjdXsK/qMajLM86t7pfrONbhX0eBCIg9HD4 hQ6bIEH/3WLqB4H29xQfDpBl0bJuuu2H57hb3R/cVVQy6lim8gXqVxP5AiWTeZc1k1xn m8xvXpBiTwjek0BvAOneYc1xE9WRmqYnSVNiTWkGMlQunWvs1pKGOodEVaBJMUWYfn0n UOBFq930qTOH5XS8XBnHTV9odRoVOjHzXgWw8d8kJTwqvgumUAFBpVb64G+w8h2M0znM 1wbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680281019; 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=gkYOLIZ1gQIsCBl6zAcU/vVfG9FTwn+4rSwIFFFP8Dg=; b=Tj+uWSsyHGVBoc6e/0cx+WF5JrLJ4f1vHMT/OYsP2t1y2HMLcCzs525GMo0rWC8Gqi 5sj6w0fw5UdpgQEa0EwlKRU7HtJtCJxiXMR7ToqZ1yCdvR/10cakYjduuCQs6w9Yy7XN CVR80qFmyXZCEsWYSv5hx40Knpjb2dYTo2s24Lt7o9QsroOLxZyln/ali5fVdJIg8NVT SVbd4Da6sFiNbGxGnuTbK7ifytiLlthtUqA1UPGIx0okdfcLfbaL8iHBeuqGbaW/+2UV b/zQFU0WcxRubedwzTMh2Ah+Ct5odvQ/6MgQkrgiIru50Qf0X9wiS/BIlEQewurfJnC9 dOiQ== X-Gm-Message-State: AAQBX9dMZnSSklxji2nwpTg9mFe28JI3se3lu2LtKXUa1Dtosv/hMT5a SnrQlCZPZaK4Dfem5xm8oHilhQ== X-Received: by 2002:a17:903:1252:b0:1a2:37fc:b591 with SMTP id u18-20020a170903125200b001a237fcb591mr26219213plh.69.1680281019130; Fri, 31 Mar 2023 09:43:39 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1c5e:53ce:1f39:30a5:d20f:f205]) by smtp.gmail.com with ESMTPSA id x13-20020a170902b40d00b0019b089bc8d7sm1798767plr.78.2023.03.31.09.43.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 Mar 2023 09:43: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, Bhupesh Sharma Subject: [PATCH v4 01/11] dt-bindings: dma: Add support for SM6115 and QCM2290 SoCs Date: Fri, 31 Mar 2023 22:13:13 +0530 Message-Id: <20230331164323.729093-2-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230331164323.729093-1-bhupesh.sharma@linaro.org> References: <20230331164323.729093-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?1761903749488209764?= X-GMAIL-MSGID: =?utf-8?q?1761903749488209764?= 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 --- .../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 Mar 31 16:43:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 77897 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp702376vqo; Fri, 31 Mar 2023 09:54:50 -0700 (PDT) X-Google-Smtp-Source: AKy350Y4+5Cgcr2L4bhhNgCkHgUmG5cWxTt+/enXv0eCqOxYHQP8f29WH8y1UFLzXnvrcdzM6G5W X-Received: by 2002:a17:902:f90d:b0:19c:dbce:dce4 with SMTP id kw13-20020a170902f90d00b0019cdbcedce4mr25747794plb.15.1680281690192; Fri, 31 Mar 2023 09:54:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680281690; cv=none; d=google.com; s=arc-20160816; b=zyQoUoCR2ntIpvZfz9kMkInJhxNh6fsV20Td5IB+2BbnxRWAB4w6ivIV9XIeS3zic/ mGGMgECpzFZkUQ7G391TC/hvoVkKbs79tgXKUfqhh4EIF1hKqd0D1/zGBqxxdjoSMJp7 Yx7Mz2T+IJyD1Lrbwx5iSNHDNkbVYt+tNI4IFhpEMHZQu24uB+zreZshjZBzIsCTpLPe lTMCnEjYWh76EeDfMvkIgwTayvbspJxqSJtrKffCNiLHOU6qKN5ZynlQzhbKWVv7GPZ3 ewkam8dL5N3KQ5lteA9plfQz7BhPfxQJVcZ8LwMZ627m2YEjbdNNZ87vTLI0hJynZcwB 5vRA== 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=M+T/v3l1Sa5CFP0+wLA2G2zBp3UxQADWacV51GqFJPudg5C4L+ypFnUQ8dTF3LNGet hp2vXaF0CNft3snolAg6iIGOK9yFA7g4X704GoJPJXz90b2xe2Fl+xWhsyMDxppkxRip IDhl9ebWgIk+5fv6WyLzm2GpjCWkRYnPLmsKkODfgDdR/0P+fOw7TpgwAEnEtXe4E1Zg l8PZ+3wJZ/V84HqH0AFGjFB9fTlCO8y/1x3bMXuNZaajaMjSWGZXdVXKbQMw3lgdIuTh hfml5i9JLP7Rn3I+894hAuix1zyKKpHS3/ChaZ9bFTh918xkolUL1tm8S1Qbs5rPmwVs bV0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=T6LwrBpZ; 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 p18-20020a170902b09200b001a04ed06ea0si2528864plr.419.2023.03.31.09.54.38; Fri, 31 Mar 2023 09:54: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=T6LwrBpZ; 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 S232724AbjCaQpa (ORCPT + 99 others); Fri, 31 Mar 2023 12:45:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37510 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231626AbjCaQpE (ORCPT ); Fri, 31 Mar 2023 12:45:04 -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 0191A76AD for ; Fri, 31 Mar 2023 09:43:45 -0700 (PDT) Received: by mail-pl1-x62c.google.com with SMTP id n14so5906130plc.8 for ; Fri, 31 Mar 2023 09:43:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680281023; 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=T6LwrBpZBlSDlLaXwtNMnDKJwfBivOvvmenmVRj1msSrG4nrSMx0xry1DhpgJIaS3y bz42OmdWMnzIILNT4SYz166gpg8+wZW/PKiTeBTKY9ZqFlkK4OE4D1T084ANV13SwkrG jTQajOdzNiP6odJmO0L4yPFLO9e2RvlYFTJSKOiWaeJ/8HqgkLX82FwwEWC1rChl6aLC k21/XEgQ4OcibpohIb7yLyuYK2Vi5aoKmJXpmqLYlMxN2d/6/unHhp0OnQxt6s4mHPTl Ba6ybeyaXNutFfhVn6kogJTKxopD1xrBnII79KSWBFr7W6WASwXB+fWGN06d9+Ig+wrF drHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680281023; 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=pgs8QAaTEDehqpQSgXna8qq8aQVbu/UppnCGJEmyoIok8ZhB6+0Pd/JEQfJpG3MwXF WR9gAVneobTDBrOzqaDjOgigx4iJTBzooRZCU1BXoAfw8VXNtZSwNiZcU4GzFp4wlrAP AL9vPSvZ6piI/AWkrsPf1Eij7djAQbqQuQDa9WPArqi98xlXfAhZi8MV6hrV7VKQG3Bv iVtUP+ed1pv2CYcxnpmpWRpzo723xCUQ85SXQtPf7OVfagUyWwTCY3ZpPX/AJqPFysFL CKXJd2JtWy+xK1/xBMb2Qghq07S1ne4b/UDgKffs1cyc0jjRgE9+/AqAfEvhKy5bFYQe y1mw== X-Gm-Message-State: AAQBX9cfC0CkOl3rtmo1yyxA3wZ4hV5w2+Si/n2pY65jtjzjzUxnyX9E is+cLnNckI92GXPKhbaECbC8Ug== X-Received: by 2002:a17:902:e1d3:b0:1a2:9183:a49c with SMTP id t19-20020a170902e1d300b001a29183a49cmr4782053pla.32.1680281023592; Fri, 31 Mar 2023 09:43:43 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1c5e:53ce:1f39:30a5:d20f:f205]) by smtp.gmail.com with ESMTPSA id x13-20020a170902b40d00b0019b089bc8d7sm1798767plr.78.2023.03.31.09.43.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 Mar 2023 09:43:43 -0700 (PDT) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Cc: agross@kernel.org, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, andersson@kernel.org, bhupesh.sharma@linaro.org, bhupesh.linux@gmail.com, krzysztof.kozlowski@linaro.org, robh+dt@kernel.org, konrad.dybcio@linaro.org, vladimir.zapolskiy@linaro.org, rfoss@kernel.org, neil.armstrong@linaro.org Subject: [PATCH v4 02/11] dt-bindings: dma: Increase iommu maxItems for BAM DMA Date: Fri, 31 Mar 2023 22:13:14 +0530 Message-Id: <20230331164323.729093-3-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230331164323.729093-1-bhupesh.sharma@linaro.org> References: <20230331164323.729093-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?1761903053754465786?= X-GMAIL-MSGID: =?utf-8?q?1761903053754465786?= 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 Fri Mar 31 16:43:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 77920 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp714733vqo; Fri, 31 Mar 2023 10:12:38 -0700 (PDT) X-Google-Smtp-Source: AK7set+0BjRHYIuBp7yekqxyFS5x4GdrsLxyGlTPtM8En/rLJDAYVPey8GwJgR4+Wel2fRLUCHr0 X-Received: by 2002:a05:6a20:7a9f:b0:da:2db4:c21e with SMTP id u31-20020a056a207a9f00b000da2db4c21emr21660086pzh.41.1680282757854; Fri, 31 Mar 2023 10:12:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680282757; cv=none; d=google.com; s=arc-20160816; b=VKW5Tx7BP1cGFECb8yL2GAVLSIJ8kz2gZtIeSdfHA9V23bHcVf636iBsDwZ++NJsfL xom5yb9SpGiZNQyR/y3yPRaKe7Jw7Qt9fFCZbQB8QFa6n8zuL8ubxRZ0t3mJDEO6P8ya E9ukf2Z7JFB69Xz20aV2gwzbKkbPLKUjXEodLDOvpAwBXOmKaI+hWKCM2RPuUZL52YN2 /s+22XPlYLzl0gQhx5S/gyU494PT2LALElv01Dlzaa1mWxNNjBAbqNpRPBeVLlSBttPF Eb80OSKPRCj1rQewm/ScUj4wx3p5ksyzSiAuaaAETYaRYFYKAZ2+CY0G8EGHdwIhz9hA YYOg== 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=WuXrMueLRWrhHUa7fCmg8muj+EQ/U1dtVRPqyEUW0vE=; b=Yt8iOiJuckOTXc3eiyzov420zXnEs5mOJ4nZJL5S/EV0JA5AHGWhyQrxBWo/MDcE+E Z+wrGLGtChRowNxExDVWr+QOlLJPU1VrQUVyRkz5O45eqRVYb7DWMsUST45cnYoformB EafMastG1MnJ1K4l4Wc7fTNkEgcZguEEyWXDOm/d7kgfeB/YlyY7bRi1OW/GEAvG9QoI Fdd1qOI7zidveHE3bgoNF4HwebuNifNmqSVoN6mExhG+7OSg3urTAo3d5CksGIqGUfuW ITWJiIhY7u+reFFQAkw25Vteiy1Ul/t7KzklEqxGY2z12Tb0yL1HKkvViWIPPXoFJP/A Rq5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SRv8DW91; 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 w16-20020aa79550000000b0058e16d0b827si2878799pfq.32.2023.03.31.10.12.24; Fri, 31 Mar 2023 10:12: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=SRv8DW91; 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 S231609AbjCaQpl (ORCPT + 99 others); Fri, 31 Mar 2023 12:45:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35902 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232174AbjCaQpH (ORCPT ); Fri, 31 Mar 2023 12:45:07 -0400 Received: from mail-pl1-x629.google.com (mail-pl1-x629.google.com [IPv6:2607:f8b0:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B075040EA for ; Fri, 31 Mar 2023 09:43:49 -0700 (PDT) Received: by mail-pl1-x629.google.com with SMTP id z19so21781206plo.2 for ; Fri, 31 Mar 2023 09:43:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680281028; 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=WuXrMueLRWrhHUa7fCmg8muj+EQ/U1dtVRPqyEUW0vE=; b=SRv8DW91VLCT1ajfXUE+834+ijiXo3QjGAkCgiaTyezW9t9SzTnTEisdXX1dAwyiqY NzxQsJNKu6uJ5YpenRIoU3ILkliWIC4WSdlbjH5TOP1w5wTn7qb6LxtB3zCDZrtvlksC Vxl4L2pj3a1DykNUFoi4eNe+1k3u5pa1m1AHwFmWBKMO/jAE74WR7gelTNQQI1nGScNM 2b1xNwukJtTMdugKopkQt/sI7r9ty9kdpw4iZjeEIeVOeM4z16LM3rPS9FHshNiVX3vu v7yW3L1pOWQJiVm6gXKM6TXQ6GEymaMVmdpR6MXfOd/pfaoxDqAqilW0rX56Iyp6mZ9x CwYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680281028; 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=WuXrMueLRWrhHUa7fCmg8muj+EQ/U1dtVRPqyEUW0vE=; b=U5381fsqk/zPSNRfcnNB2uhAXJa+evhzR7ZPEGNX/3Kn22690x7FgwJ6MbJB4ZRqba yXsr74RGDuFDS9N5IG1CbwEkOmUMiAfGstmbqduY91K2KcJVeVgTGVkELNLu7qSL22q6 780KQIBSio0GMEY/MAxbvsZnk0/BPkBpMtgGHzYTAChxIZRbeASS9UQiM9Pn4B8rXvnd WpgHYEyuunM20FN0vfrLz2/x7mvAXVat6KJwVP5fQxDuGcZIktlv0qzzK3oDpyatskmH zMsPZEOUUM2p7ZDzau/sGJsD3E4/wITNOHNXOYnLV5pY0exGZdTmWq4xYkSOxS9BKzan 3dFw== X-Gm-Message-State: AAQBX9eHNby0CsOkPe8DZ36d1Ri/iaPnSOwDtaRL0qacZ706W9AFKyXm LdCCdTclgPc3bhRkGR6Ii4k7Bw== X-Received: by 2002:a17:903:2803:b0:1a1:ad71:7402 with SMTP id kp3-20020a170903280300b001a1ad717402mr23267178plb.28.1680281028271; Fri, 31 Mar 2023 09:43:48 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1c5e:53ce:1f39:30a5:d20f:f205]) by smtp.gmail.com with ESMTPSA id x13-20020a170902b40d00b0019b089bc8d7sm1798767plr.78.2023.03.31.09.43.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 Mar 2023 09:43: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, Bhupesh Sharma Subject: [PATCH v4 03/11] arm64: dts: qcom: sdm8550: Fix the BAM DMA engine compatible string Date: Fri, 31 Mar 2023 22:13:15 +0530 Message-Id: <20230331164323.729093-4-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230331164323.729093-1-bhupesh.sharma@linaro.org> References: <20230331164323.729093-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?1761904173341919958?= X-GMAIL-MSGID: =?utf-8?q?1761904173341919958?= From: Bhupesh Sharma As per documentation, Qualcomm SM8550 SoC supports BAM DMA engine v1.7.4, so use the correct compatible strings. Signed-off-by: Bhupesh Sharma Reviewed-by: Konrad Dybcio --- 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 Fri Mar 31 16:43:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 77913 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp712300vqo; Fri, 31 Mar 2023 10:08:58 -0700 (PDT) X-Google-Smtp-Source: AKy350YtoLOk0D4ImxfMzfq2POejciN25W3/YKyFcljQgwEDzWMaBPrhS6iYTRuVWCLY4lbcfoRN X-Received: by 2002:a17:903:1208:b0:1a2:55c9:1808 with SMTP id l8-20020a170903120800b001a255c91808mr22261295plh.17.1680282538168; Fri, 31 Mar 2023 10:08:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680282538; cv=none; d=google.com; s=arc-20160816; b=x9bV/N48QFIuqgMr25y7zDX3ihT2QnsQ9VeACZnBOHXqsnq4B2v2yn/N0uRXKtYOig 3UoPiwan4X7MJ6oy39sBt9vKhvwVLpqzkoAkaxaK6jRqXzaondkWa2eVKLg6fNce7aBH injN9SeQLoWk1YF9zaBMdzejou52YiirtjbROwM/P7Q1toUW8omNEDLJMMuiozmnbkrn Mor5coPTZZToilHI9hyPzzTV2TjF7+LmzgZcHuaQhcHR6gtHaUg33EDsB2ScW5TaRD4m 3pnR1wv6ces6siPaxGuwtVmb4ceicQPQib22Bsetlqotn04WZQIHTDlrQMP9+g6oN/xi bJaQ== 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=UYD6p8k0MAvXLgW2ujOSm1q/H2SLlbnZmg0CclkW4x0=; b=dpTUAxsvZf3mUhAAL+q6q5w2WF4AnebgRuhxTp5x2UkJ0NYeA0t3OjkZ/dZpBmKpZa nDLH/ZKnB7VN3lbiJ2XNkQ+YPrarHQgZi7dQItrI/R7a4gxblrbNSadqGWS35bbR6cew 0ylwQopDec9+PVYYk7Umn13DNCR7A8VF+w00qfdj6etXRnvXISaIDyo/uCuSHMqbywx6 nw/+8uy+yM787sMW8zJYnbaksyr2CHWCDItu2dxCV3sNCvPjr3vxJ8SxWnGODp8LH+5i N35SljWjJVEKY9Fh27GWeX5ynaK5OdYz4ZbtBglY4FV/Pq/QT5ctQmhJ042/D5vylw2+ 4G9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PZpeZS1K; 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 ke5-20020a170903340500b0019a826d304dsi2225578plb.633.2023.03.31.10.08.45; Fri, 31 Mar 2023 10:08: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=PZpeZS1K; 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 S230107AbjCaQpu (ORCPT + 99 others); Fri, 31 Mar 2023 12:45:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36624 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229832AbjCaQpN (ORCPT ); Fri, 31 Mar 2023 12:45:13 -0400 Received: from mail-pj1-x102c.google.com (mail-pj1-x102c.google.com [IPv6:2607:f8b0:4864:20::102c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1992BA5C2 for ; Fri, 31 Mar 2023 09:43:54 -0700 (PDT) Received: by mail-pj1-x102c.google.com with SMTP id o6-20020a17090a9f8600b0023f32869993so26011925pjp.1 for ; Fri, 31 Mar 2023 09:43:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680281033; 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=UYD6p8k0MAvXLgW2ujOSm1q/H2SLlbnZmg0CclkW4x0=; b=PZpeZS1KXBC2YN+vJT3OPlyL1yl5kDhSsgqNZdKSUmyXcd4h8PnY79jZxr3Rb/eOo5 i84DsF7gZ7P5CgFuVCdS+oY2N+xIb+EvR3Xca5NPkQIsDouJUe+aM82iQFssfnWX6GCo 0DLYNnqoCLo7VSlydptNdrQE1S4o9iRNTlV5Us/vyDfxHIoICT0flwnNStGjVfb5D5SK ztFilqrXsNqw07wEE4TM9BPQfptNp97lsguJOjiEw1Z55vOGAXUsSoVRx1BsGERNq9VY YtW4u1NiI6VhMNpLqfxzQT1EjNUER4Si3XE5vR3q0mutoqOGSJ06Ew5TLuSkmIPHViel NV7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680281033; 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=UYD6p8k0MAvXLgW2ujOSm1q/H2SLlbnZmg0CclkW4x0=; b=2jfjzL9CV3bMANseBPRwhRPN2uzdh4r4uUTXKfZY9QWoxP6NujPaT6Xo65wBRvZU7/ HZzipNNXwf47exGusCoIw10zXcfoSh+rb7+A5WIHiPILbMzlSxdSZOapafNRgg9MsK8f Nv3Ms2Xov6Qmoyyf8oAuIUu/5/zqZkbEc2Jfg5Cwlsr57nb5l3Z5BVr/CaZIU6mBebZy 04rh980PlTjXNf3W6aRi8kpw8nLErAwy7zrjXqHNbuvOAzYbbS9uvYWMzoPrDGhdpsPw /8C3rQ5GhZ4t/TrwQNCLTS0KRTFpEusoA+mxPHV4y2iuZBCgXbtum9d3bT0ZaJJ3dXb+ kU8Q== X-Gm-Message-State: AAQBX9cza63VgBL1/FnYEgHnzENiXs7w+mA0gzjIdu4jBHYq0VovtD5B BB71rt1u8Br6VdtvsTFz0JpnBg== X-Received: by 2002:a17:903:2848:b0:19e:675b:a40f with SMTP id kq8-20020a170903284800b0019e675ba40fmr24719165plb.8.1680281032922; Fri, 31 Mar 2023 09:43:52 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1c5e:53ce:1f39:30a5:d20f:f205]) by smtp.gmail.com with ESMTPSA id x13-20020a170902b40d00b0019b089bc8d7sm1798767plr.78.2023.03.31.09.43.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 Mar 2023 09:43:52 -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 v4 04/11] arm64: dts: qcom: sdm845: Fix the slimbam DMA engine compatible string Date: Fri, 31 Mar 2023 22:13:16 +0530 Message-Id: <20230331164323.729093-5-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230331164323.729093-1-bhupesh.sharma@linaro.org> References: <20230331164323.729093-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?1761903942878195523?= X-GMAIL-MSGID: =?utf-8?q?1761903942878195523?= As per documentation, Qualcomm SDM845 SoC supports SLIMBAM DMA engine v1.7.4, so use the correct compatible strings. Signed-off-by: Bhupesh Sharma Reviewed-by: Konrad Dybcio --- 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 Fri Mar 31 16:43:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 77895 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp700611vqo; Fri, 31 Mar 2023 09:50:56 -0700 (PDT) X-Google-Smtp-Source: AKy350Zelu0MvoKKkpsANfYceiqqvev0qIMULqs6kglTKsRbNHCQOkcVXBeP1qcmgS5pwqONH8nB X-Received: by 2002:a17:907:8687:b0:933:499e:62a7 with SMTP id qa7-20020a170907868700b00933499e62a7mr33234116ejc.49.1680281456740; Fri, 31 Mar 2023 09:50:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680281456; cv=none; d=google.com; s=arc-20160816; b=0YFHgP2mQRkm0CpfXjzWuTsCufPCkhrR8E5X/XTswis6zlCQ4HB8hBo7cc1p0ur+n9 TK6kXHlmOM6VgQCyGZmd9RTJrRI2ZpO6r87QB6wKazIXtXRdMNjY3dLoRGWPvHlGYuLS rdLOXJtV2Gji3UHU20Vgd1CVKUWeJoDJH4g8ZULfLdT7QFSn1h0M5I1klmDsl1UKlt+C DHp3AmAnax7lWtfgd7mB86/K9cN45Oy4m0m7+pcXjid+Sxw9AX5Lis3B6PQlo2xY2tuW zZhTMpXZT6SrtivNkWMSej/+P+UEoDmdy+tHDB0+G6k7gAh6BZalzXghx/uFSOgi5hQe 6SJA== 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=WNICElPzt95jIDqq25QH9qdeQJ3pWJm6XBEUK6rFkLbtEuB/SF5ai91jMUwUtH94TW 283pOiyv1Au+uKNBf1QX0bEQvzB0tNKUY6P/oe7Gb2sTESIEbimPEh05pwozAC23LK0B woPZb/3HFaYsAOFC0DfNynCi3ZtiDB75gSyVtBepbMRlrFkk7cRbnO1Vte9fIbK4NOfW ep/2QvrBcEGQQaM6Y2rChGEHW1BlU+oyx1LJwQHHQamJG1ZHvc6u1RYuUn9I0+Zhu0h8 F0hThVIRZznQ5ZF31BtT+oocUMaaAcOKkUzw88DQYQuoaDR48dyDmGffBUPMqCz4aa69 eV7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aiimWe8p; 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 v7-20020aa7d647000000b004c0abff5545si2282642edr.614.2023.03.31.09.50.30; Fri, 31 Mar 2023 09:50:56 -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=aiimWe8p; 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 S231454AbjCaQpx (ORCPT + 99 others); Fri, 31 Mar 2023 12:45:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35978 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230470AbjCaQpO (ORCPT ); Fri, 31 Mar 2023 12:45:14 -0400 Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0AF2FBDD6 for ; Fri, 31 Mar 2023 09:44:00 -0700 (PDT) Received: by mail-pj1-x1030.google.com with SMTP id x15so21022513pjk.2 for ; Fri, 31 Mar 2023 09:43:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680281037; 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=aiimWe8pF/BriYtPf0PKn2U8465iFm5sNDYnZtgWj5CHvNm9VwbTArsIug5gxQlP2Z zrOvSMF/ptx4zOWzyWFjhYBBelyoVbcuPSXKJDcvVJBIkCwTc93woeMh/2IJDI747rDY CgzzdnLMZTIfli/q7zcINzyqmQw0eYwPFMxGeHlKfibPQCD9Jf2O8/Skgdg31EvJcEQA w1DhYtK2FdKnhkdIYIrP5rJIGrmXrjgxT7oQkr397823VjrmFDUEE2zhzgOLd5nvttcx gP/8GfSDhZRnXrNtQuXUIS+k4sL5WFxgURnXeERKDoIbyXQy+Q6eyZ3UKQNibkjGxVxv WrnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680281037; 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=GwHujkV7lHj8za4LuWT7UMk0XW8XazwvSoOHpS9zc2A6Uytxp025REXVKBvSxy6g8g SP/YeWAZZQwq7s3549m9fGzAiJKEJSPjE8wMfkKY2sboZjGInt5vLMKpXNkckQxbFmjT q5X+QN473zhMii6pEFFQZ0np2wz/K7S2MxLJbjaR8D85QwX51qoYxN7hQjOCbGnTef2+ +2EiNJn9xu1C00xPeb/Va55lpL4cSqiTNalGIXuvg2Svo7hkcQ23rnaCkZXPOJRkhPOs hnkzgvBiacgXVAZ7xKFS3DOiU9nLeBiVSyP4WEXnpBbtPHRfmVoYf8Ot9ChZI7rw4m6i CWBg== X-Gm-Message-State: AAQBX9cSXztJqKIIx9/26t1nkIV/fEm3VW/A/P1PUdWZGy1z6EvH0u9J zga/OO9OlksCq420Yzx/xLzTEQ== X-Received: by 2002:a17:90b:1bd1:b0:23d:3fbe:2f7 with SMTP id oa17-20020a17090b1bd100b0023d3fbe02f7mr30224030pjb.20.1680281037447; Fri, 31 Mar 2023 09:43:57 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1c5e:53ce:1f39:30a5:d20f:f205]) by smtp.gmail.com with ESMTPSA id x13-20020a170902b40d00b0019b089bc8d7sm1798767plr.78.2023.03.31.09.43.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 Mar 2023 09:43:57 -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 v4 05/11] dt-bindings: qcom-qce: Fix compatible combinations for SM8150 and IPQ4019 SoCs Date: Fri, 31 Mar 2023 22:13:17 +0530 Message-Id: <20230331164323.729093-6-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230331164323.729093-1-bhupesh.sharma@linaro.org> References: <20230331164323.729093-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?1761902809038629627?= X-GMAIL-MSGID: =?utf-8?q?1761902809038629627?= 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 Fri Mar 31 16:43:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 77916 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp713384vqo; Fri, 31 Mar 2023 10:10:35 -0700 (PDT) X-Google-Smtp-Source: AKy350ahQuKM4OZ5eLowJSNyfaY5ddDwsWVjW2f/wGu18/K3TfOsQdIeK1m5lmzBFA69K5Q7DTjf X-Received: by 2002:a17:902:e30b:b0:1a1:7c2b:4aea with SMTP id q11-20020a170902e30b00b001a17c2b4aeamr21712047plc.0.1680282635178; Fri, 31 Mar 2023 10:10:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680282635; cv=none; d=google.com; s=arc-20160816; b=fJWY6k2swyHJyCByBucjNaK6FF536woBd7biBC0cT+kYhN0U3vkXJ/Lc0HAnn5OBna 6Q0v4lTSZe/81665vQuaUsz/OMjkI9BUqn3VbQgGKi84+l3Rq6LZK6lyr9F5s2b9w0oi EECGzKc38R9TgYumrsOEclq+ekAxO39srxPNS63r9uR6/s1nEyQs9IhJ4HdqiwaeXvX2 cQiluYXeWL1rmmHWXoNE8mwP4EvxXsXszgCYJI8Qi3ZpUnCF/D4/N7db2oJF5Mje+hWk u57Lph4O6BxKdVUUPre6rQ1vE7HoYmGCCFPn5BdgrH+m+hZtZ2PzIslDwWbB2WAi1UEj eIMQ== 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=PxxKAsdIRji2IHpPqugXzhbwNzRnvgEqzpX9inUkLf3pbt3iE689QgKOFP6K9Co7dZ 4DINym/o8/dCOQ4HTDheeLEM8Ak2SxQi7z//eHiYu0h8/M9tDPKTeB6rcdVEb55V05l3 0+RhJ3p9SnPiqRuF/zk0UvBhHO07ts/GXpDLWs/sUNBePNbj4LwW1DN+Gx7ZWEujYuzq 6K+5tN7h/2/cJa5Wlw9XyJGulgdEcKYzE4KNR2HBQU/7u9nJUf+txgtMjeyrQV7jkaXQ RtQ8QSTnefELWKdt/SKX44ZB8Kyz6APXdybXToI56IYuG0bzOmCj2cngkpo/bGVL9mAU Hj1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jMqNDnVJ; 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 s12-20020a632c0c000000b00502f237fc07si2840392pgs.657.2023.03.31.10.10.22; Fri, 31 Mar 2023 10:10:35 -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=jMqNDnVJ; 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 S232910AbjCaQqD (ORCPT + 99 others); Fri, 31 Mar 2023 12:46:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35892 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231749AbjCaQpT (ORCPT ); Fri, 31 Mar 2023 12:45:19 -0400 Received: from mail-pj1-x102e.google.com (mail-pj1-x102e.google.com [IPv6:2607:f8b0:4864:20::102e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 51AD91A45E for ; Fri, 31 Mar 2023 09:44:04 -0700 (PDT) Received: by mail-pj1-x102e.google.com with SMTP id r7-20020a17090b050700b002404be7920aso21983630pjz.5 for ; Fri, 31 Mar 2023 09:44:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680281042; 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=jMqNDnVJgU7VTnx/m509pjSRih3eionpwuF1Gywgv0QT1Oqq9LDiOdiG0QGzWigaQM xz7C5xZ75rov/5S+huNW+OioCbk++BKSro8tivaJmk/ltyPFxcwcBM8KE6RcuZFCokMi GHUYeBYr+b3UuqK6O4uXwFOEERHFPR1y2aSNZBNBs+uhNt5WLRW2f8vsVVCPEnl2YfNj jzM208N0HQ+LHRkNfiiuoPbx0LCqzooF9R2UB7vevtQ1L941SurByakm+R2cVMG6Qevd C87SbZdEFQrYVZ7qnZWX1A2RbVTK6uq/snIxTDadLJIa8y7LPVJs8KnLeBiP+ezKoFxe DY/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680281042; 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=fWw3tZDwkMbTLgEBuIFl7XcX8RzzQOTolRRVM2q3FCYJJSyDymMG259q+fpAiKr5+n 4mgxofMq9BC+uH5TL2pbSGTcwK2FBc5J2BlwOaO3ZR2RRzVd2NjiKssE8l9Vn8aO8WAF W8s1GoEigFobTzqN/7xKU7SSg7hI3UZPtZh3XgoCEb2keLTaJa763lFV/2hnCzJ6jOyt /4X76MoGgIWOz4dwRyO3bs99Lno7CBtDJHwa748quCM8WZhTaEGHzDTlrWTC4PJCXenx OPqE+ipJpPdpNcQdFe/e2PFXz+HH7dRwxdsWOqGBzmXYLMhPf0CUYJAhEbBN8bD/vM3Q /Ksw== X-Gm-Message-State: AAQBX9dNcV3RWhTs4fjkH0fXr7XhsSJ7MT8kJWKQQpUGBcnd3tX7Fbir tQ/P/jgPGdt69es/zXlYR4LSRQ== X-Received: by 2002:a17:90a:1d1:b0:23b:4f1d:f5d9 with SMTP id 17-20020a17090a01d100b0023b4f1df5d9mr32242983pjd.30.1680281042094; Fri, 31 Mar 2023 09:44:02 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1c5e:53ce:1f39:30a5:d20f:f205]) by smtp.gmail.com with ESMTPSA id x13-20020a170902b40d00b0019b089bc8d7sm1798767plr.78.2023.03.31.09.43.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 Mar 2023 09:44:01 -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 v4 06/11] dt-bindings: qcom-qce: Add compatibles for SM6115 and QCM2290 Date: Fri, 31 Mar 2023 22:13:18 +0530 Message-Id: <20230331164323.729093-7-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230331164323.729093-1-bhupesh.sharma@linaro.org> References: <20230331164323.729093-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?1761904044347436322?= X-GMAIL-MSGID: =?utf-8?q?1761904044347436322?= 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 Fri Mar 31 16:43:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 77898 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp702361vqo; Fri, 31 Mar 2023 09:54:49 -0700 (PDT) X-Google-Smtp-Source: AK7set9F0vYdvu6h/b0p0l8JaTuWRkfGb5QF25SyhMkJNrbtfdJPvNxSSIIiwoVsFMsyRzn+CHPu X-Received: by 2002:a05:6a20:c2a7:b0:d6:ba0b:c82c with SMTP id bs39-20020a056a20c2a700b000d6ba0bc82cmr24362002pzb.38.1680281689019; Fri, 31 Mar 2023 09:54:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680281688; cv=none; d=google.com; s=arc-20160816; b=vWWMTPVWYAaAOq1aYpginOjXLNu2J3IpabhdnxvaP8GJy08gAtGIgdE06LelfHV23E UIvLtyxFeMPCPuzZ7Sx6sP4erwkztZvgIemVXqW4yNJCmeQcfiBtqpMcSFYvrQDxslrs Sue0sUpXDH+ygVapbz3VP4dAfM/zc2ksZ9/Iv5ggwM6t0gY091+n4GMonwQUn9LZYBQ0 JAFwPyNWFlVEwsr5p642ECq+ybwskwhiwAKPCn2dnikfjInA1VHSdQ7d4uefRSW1cyHA 2V6WxQoeC+wOxtlBzbjkaaWB/6vkIj7/mT7/V8E12ge1wknJVcSkschU5FEPlOcNHwIi czWw== 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=kLdr6CaKbSAPZ/BeSNwASXwcMO7KzUIHyhrVkoet8KNSLJSC6PBNfhIucpNcpRCppS EsXoV46SflbuTMBNWl+g8jgGYwhQldolw35B8TOjJPpE4LTgtBafxDw7fckY2huQ9pxt UtFD8MFyzZ3s7Y57DexN3z+7k08H5Uag186ZHULY491oZCH4Nz0rMIQzf4td3y0eFdxu pu6LU5b3V3XoGghr4FsLytsiBVDIhil6UdamzPhFtRQ8qTABPCknrTXlLsayDFiOFoQy 7o3DsOYDpxhIdXfr4x0HW6Y/qkjHTRhhG+Ptswg/s8UJjRVFzoPZSedxlonvNv/FnRQE lUQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ux+Q3qKm; 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 j191-20020a638bc8000000b0051372e8f9b5si2585198pge.791.2023.03.31.09.54.35; Fri, 31 Mar 2023 09:54: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=Ux+Q3qKm; 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 S232933AbjCaQqO (ORCPT + 99 others); Fri, 31 Mar 2023 12:46:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37518 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230339AbjCaQpU (ORCPT ); Fri, 31 Mar 2023 12:45:20 -0400 Received: from mail-pj1-x1029.google.com (mail-pj1-x1029.google.com [IPv6:2607:f8b0:4864:20::1029]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7CD11CC05 for ; Fri, 31 Mar 2023 09:44:09 -0700 (PDT) Received: by mail-pj1-x1029.google.com with SMTP id h12-20020a17090aea8c00b0023d1311fab3so23961268pjz.1 for ; Fri, 31 Mar 2023 09:44:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680281046; 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=Ux+Q3qKm93LGW1CPI1uH9edfXV60TnNyp231STi5a0jylVo3YVPtuFwGbfLcKnphCq suXMco85bicN22P5FfzSSIKWDGaUpFO/PAXuWxGsV3TlPKXTnj7FlOfnr1HxcCzMDgGq GIQQu5zGRy7xh9ym91vUK8bjbWq2iIpQdu8wYOifkrndI4f2/keq74jtn5+P+/18EDFD OdPyvDhzt/0auzhWvdF6+Ga8Gdi+VEBGhEy4PGnzk7tUr4QIaYVigT329Z9wVf5NPQ21 YPP4p3wiyQ7586U95iZEedGGAWl1vZrlFyH/YytW9n6N4D//2T9vUuzDI2ndC4uXUUcT +nOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680281046; 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=WNhB3C/KHLttTD3Hw2qKq0UH2VzhVG0zfnJ5sn3JHOn93i4aYh50+WGYj1azYrJpr1 Ksi0zu2DF1bniy8ubYJAOzeN++nxv//kYo/Ui2uoqILc0mPHSzSBTcidGd+14Wx977Fd NHPjeGeNQFPin9vM98XTGWsG+Clz6NVISRHqIiAYODdir9AN19Rq1WezdAfd92ZGgoKT j538jLCYt4hB1P+RFveBO1EVGDCUJxf0NY8wYmWhdCmH3XD8XyVFhaqmvlMDHPMI6qBI XXi5kvxGnbBEnhPP027I7GB6wY8dwNDfw0JaYzf88WaDNGPBtOpjZIDWtV4+1tCOZBmb PQGA== X-Gm-Message-State: AAQBX9fnpNFg0A1mLwwe+Hwyg54+uCdvGipMklN2m3SYhvpQMZmyyxDd q+BgsKpVOWBx/hmet6gevbPk/g== X-Received: by 2002:a17:90b:1a88:b0:23e:aba9:d51d with SMTP id ng8-20020a17090b1a8800b0023eaba9d51dmr30114332pjb.7.1680281046637; Fri, 31 Mar 2023 09:44:06 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1c5e:53ce:1f39:30a5:d20f:f205]) by smtp.gmail.com with ESMTPSA id x13-20020a170902b40d00b0019b089bc8d7sm1798767plr.78.2023.03.31.09.44.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 Mar 2023 09:44:06 -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 v4 07/11] arm64: dts: qcom: sm6115: Add Crypto Engine support Date: Fri, 31 Mar 2023 22:13:19 +0530 Message-Id: <20230331164323.729093-8-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230331164323.729093-1-bhupesh.sharma@linaro.org> References: <20230331164323.729093-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?1761903052124907291?= X-GMAIL-MSGID: =?utf-8?q?1761903052124907291?= 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 Fri Mar 31 16:43:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 77899 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp702390vqo; Fri, 31 Mar 2023 09:54:54 -0700 (PDT) X-Google-Smtp-Source: AKy350b/w0q3fnkv7RG8aLoVGQ0oAAsQZsU6dFv+GzVFa2D2xj7ZGxMrZOgXwveg9RhZYIEHU4ub X-Received: by 2002:a17:903:2448:b0:1a0:5349:6606 with SMTP id l8-20020a170903244800b001a053496606mr32621674pls.56.1680281694116; Fri, 31 Mar 2023 09:54:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680281694; cv=none; d=google.com; s=arc-20160816; b=Jz+SdDzR5ky8Vh6zwkHSkfvVJvpZhO2y8uFAz0e6fyFEzDl/M2iIe4uq5Wx9HdOltd phIfZkNIZpEOVWFrTy4/9dKmew9rxSty2xZYa1xgh+qk4BbLcUjqZ6M894+XiVHx+HLt Bylr/7JD0paW0/V2RTPwK3QERZc2vQHJvD4oiHCH/P82vQ0soSBj6LY6osNgVQvdHTO6 +/BjVkh1cJ0rBTGmqu4I8VmV6xnq5ecRX3m92G5/e9ykXVrjC5GSWyte/KOROF/obpAC cRDH/S+X0rxMqD9XjHHXUYlmyof8/hZUghFrwPIE64T4FBB2fHRACvJCNERjPKmR/cGB Xkrg== 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=cw24B3tDjYMpgxzjzo5k+esjlxc0MRgrnKJvByvQFiSDctpP9DDb/nnMRoLtieeQNs mli+Eaj7s0v4zJ7i6q3+82DzoRXo5312/6+DOreIDf1E4TTZ/iXvaDD7/2xnnt+bzFBz xT0mf4WFgtu0/p4NBe6pl0GMY7ouMwfELc3k1uKQ7ib6dMJsBTA/xQ1giTevkYCic2JV iy3eslC9/oUvgqE4KwoXi/qkMPON3nIfy/RiLSL1POv5hHNU8zS+XMHmPu5960tHbGm+ XP8jDntF/F06dM+I8YaRdcDP6hV/Nh5wU5oqpthI+AAmKB/+QNHhS+P4nXHpDSs3u0Qn +GJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TQiB4R55; 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 r13-20020a63ce4d000000b0050f66d53c3fsi2738247pgi.299.2023.03.31.09.54.39; Fri, 31 Mar 2023 09:54: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=TQiB4R55; 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 S232007AbjCaQqS (ORCPT + 99 others); Fri, 31 Mar 2023 12:46:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36456 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232682AbjCaQpV (ORCPT ); Fri, 31 Mar 2023 12:45:21 -0400 Received: from mail-pj1-x1029.google.com (mail-pj1-x1029.google.com [IPv6:2607:f8b0:4864:20::1029]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9211520DB1 for ; Fri, 31 Mar 2023 09:44:11 -0700 (PDT) Received: by mail-pj1-x1029.google.com with SMTP id r7-20020a17090b050700b002404be7920aso21984079pjz.5 for ; Fri, 31 Mar 2023 09:44:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680281051; 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=TQiB4R55/WdgZqihCOYe0hueyPFgcPTGGlzurKjQi4zPOhVvb+Vj0JY+mU0T1jtfDY 3O6UZDf4/BS3N568NmYa4WWYNYlNmArkIgDpo37otAykKLnTusTpDzwg8DKRERZWHGwR h3kjAAdraoAVsrCD+KA50NrAnxpiD5LHpnHrISqgLrSPB4gmd0KdNdaRYGfbBo8hIxZ/ vqJWY3IPBprw9/peWQjs5dnH+K8oqR4DIbBBhy+UDkWNlcTNEExf8eN9KFkLV3HEBAGP 1rJs7irFhXp0YDeiUqhBilMc5ZegFS2sFTg5igN2mldfRJzo7WWCO28YwGALDlcLGo/m iX6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680281051; 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=0KyJAP3oP5a5H0jNKXNx6okqaMaBIFOIxOfOQXKEp1NuJwfNfb6Kdid597/zGXCGVH OUQBiFdlY57ONB6VTdi1SHnaBvq1HrF2eizQ70/QdlCFGI1d53hUfOj8sbgxfsW9EcLp jbAYojIMuKMYkNXQyNPZZF8tejzSxN6BVJ/fR71gZP3p1vBnRhZKbavqaiOhRzZsJpRF YuJ4fZnEyQPtfoV02YOp9IDN++sqFVUaqSBEu1qdSl+ALNrumW7jIRiXP9FINeQFZ0rK e1omzgpvtG4b//pKtJtuoJecQhzSs9qtBgCHgLRYPcNHX5BNtAzDALaTUDkCFQiXNDKd bLWQ== X-Gm-Message-State: AAQBX9cwqtPayJ2yTKTcvlI/qNx7X8N0j/RY/ii7TOFM/FYsmksbtyih DGaG//YFO6E/jmtSOE//rRwP6g== X-Received: by 2002:a17:90b:4b8d:b0:239:fd9b:85bd with SMTP id lr13-20020a17090b4b8d00b00239fd9b85bdmr32370105pjb.27.1680281051234; Fri, 31 Mar 2023 09:44:11 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1c5e:53ce:1f39:30a5:d20f:f205]) by smtp.gmail.com with ESMTPSA id x13-20020a170902b40d00b0019b089bc8d7sm1798767plr.78.2023.03.31.09.44.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 Mar 2023 09:44:10 -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 v4 08/11] arm64: dts: qcom: sm8150: Add Crypto Engine support Date: Fri, 31 Mar 2023 22:13:20 +0530 Message-Id: <20230331164323.729093-9-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230331164323.729093-1-bhupesh.sharma@linaro.org> References: <20230331164323.729093-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?1761903057525073632?= X-GMAIL-MSGID: =?utf-8?q?1761903057525073632?= 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 Fri Mar 31 16:43:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 77900 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp702551vqo; Fri, 31 Mar 2023 09:55:10 -0700 (PDT) X-Google-Smtp-Source: AKy350bv4bNN4T/vINtgLc8eL89pXibNiafT5nD9vdRFaiqMwLNSkSuIHS7f/z+pRjV40rHNqt8l X-Received: by 2002:a17:902:d101:b0:1a1:c671:8bc9 with SMTP id w1-20020a170902d10100b001a1c6718bc9mr22593148plw.7.1680281710376; Fri, 31 Mar 2023 09:55:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680281710; cv=none; d=google.com; s=arc-20160816; b=XeI+vgCrlU0h1giBUHY0gUwX5HHk9g2stq655/EFJb1HIMhpUbI5AnyYMnyG7jfZ35 dVUQeNQmxrKt7irtbtp/or1fTwDtu0SpGWioaj9WUHucuqqSQaZG6ju7qKKHMVTQwFuf GXQIXy/7i06UtPuVW12kKq+5b9k3pakt6qZyLw4wUsQXqxWvToGX9G7ikbjTK1lJtt9Y duCokYYQYRAf2Df7Rf/B9n9bz/+ecyEYA4mOCZ+/lvndV3+Vg+DjTLIAXy5T76ra4Vra z0DqmA/FqKPlJ4ojM9Cle+3Xcvo8MzVrNW6eI0e2sOnTby3+eElh6awA4aQR+Gs4v9Hs /nlw== 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=Saet7YwWCzVe7flAla1wksFG4OoegcUqLvT77iLztYsVpDjl1m8HpCoruMEcaQTyyx u3HYexszNIM7OhNsCXSleHxVSo2goU+RRchpBtENA5ytkhd/dd/8pNqm7YswrU6g0rUe K4O51hbXJglbj4d8Zw+8hpxCF5TOP+seB1gy+bK4QK/HhE3xHrSgw0dRT9k1p70wN4s7 sITImFRiDGtpYd/IL8xH4ZHwJ46blne9zhQaevNmmgr2EyxdqldQPmSl7KYj3K0vu1nY XFtQ+xifqg4SFsTRb7nxGM8BsCKPXieAVoa576qGkfe3ve7GBF226hpmaTHAD8GVbujM feyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vhvt1bNb; 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 v16-20020a63d550000000b004fab9a24dddsi2759929pgi.732.2023.03.31.09.54.58; Fri, 31 Mar 2023 09:55:10 -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=vhvt1bNb; 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 S232979AbjCaQqc (ORCPT + 99 others); Fri, 31 Mar 2023 12:46:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35840 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232342AbjCaQpn (ORCPT ); Fri, 31 Mar 2023 12:45:43 -0400 Received: from mail-pj1-x1029.google.com (mail-pj1-x1029.google.com [IPv6:2607:f8b0:4864:20::1029]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 00E7D22909 for ; Fri, 31 Mar 2023 09:44:16 -0700 (PDT) Received: by mail-pj1-x1029.google.com with SMTP id d13so21042826pjh.0 for ; Fri, 31 Mar 2023 09:44:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680281056; 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=vhvt1bNb6QkU5yrhCJAjrMCm4NFvN/8wcswt3yPGyH840zrvkgicpCW1ZQXoxRQMAT MdCH92JUOLelQIWBSKgBknCJYoQ5imnQb5whSd1kwPDVFK/EQF1mRYfMGTJ7Qp5ZjxJK IryyT7WZGDYMZuMFlFPpdDnyznh5qJxCb0PaI78OZBQOPjSjTDX8aZcWkwl5WpCEhkWs CSDiIEw9aEyG52ME218fAyNy+ZKGg1dqf1wT2YIAyfb5WG7v42xbgwTWiiABQrIEnhc5 Sv2vmv60UHnDteGgFv3qS7/jLecVSGBk7AXHANLNnZULTybm6GG6En+D9LVUldeTzCLA kaWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680281056; 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=2XC2tDZISnFJmnQYdvNHlSjEOZzes7szJeEnywxsISH2DdVqCLaDlEQeuWog0nG0fP FNZ02gyln3kc6SWDisRO5xlzLuDKIQhz4JHoC/xOlO8AKS9c6m/xaFFWBMD5xWzrIq5b gVblasEg21u9R/84s5dZ16nhqJd8iuTJL4MnhvhWt3RxebAUC+MM2x0h62re+Gic7utQ eG2hJ2wiBTekCzCDNVFR9q50ys04okwH6Srw+MOi/KeAGoopbSO4aQqOuMsWoe4qM4JT hmLMUi56BKpIETGtFD8YuPgE30dJPBUg7yPE0IzOenDbZuh8vgzpee7yomBe2a+axRf+ Wjbw== X-Gm-Message-State: AAQBX9fNZXW8rWsVUuUyAFqfq0GC8EN9KCRxEB3hKP+23XHHY26PXoD/ 4sjVx+LopeppiaPTt6WxD37BPQ== X-Received: by 2002:a17:902:e30b:b0:1a1:7c2b:4aea with SMTP id q11-20020a170902e30b00b001a17c2b4aeamr21635785plc.0.1680281055758; Fri, 31 Mar 2023 09:44:15 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1c5e:53ce:1f39:30a5:d20f:f205]) by smtp.gmail.com with ESMTPSA id x13-20020a170902b40d00b0019b089bc8d7sm1798767plr.78.2023.03.31.09.44.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 Mar 2023 09:44:15 -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 v4 09/11] arm64: dts: qcom: sm8250: Add Crypto Engine support Date: Fri, 31 Mar 2023 22:13:21 +0530 Message-Id: <20230331164323.729093-10-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230331164323.729093-1-bhupesh.sharma@linaro.org> References: <20230331164323.729093-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?1761903074848567540?= X-GMAIL-MSGID: =?utf-8?q?1761903074848567540?= 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 Fri Mar 31 16:43:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 77902 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp702562vqo; Fri, 31 Mar 2023 09:55:11 -0700 (PDT) X-Google-Smtp-Source: AKy350ZeAlHg8a8fRRhnw4jo1NJVgzqjE3EGpWRIiLPwAiWh6h+LFX7tZzb40UFCiVxMPtonYKBz X-Received: by 2002:a17:902:f681:b0:1a2:15af:d53f with SMTP id l1-20020a170902f68100b001a215afd53fmr35788031plg.41.1680281711517; Fri, 31 Mar 2023 09:55:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680281711; cv=none; d=google.com; s=arc-20160816; b=RXS8Xij+JUKLrXO7F1r8uNFdVOtcOd9L32BTXT06nncsLWDaPjINd7Pgqqc+cpkr3t 44wvzw3tWUyoLKgoAbs5WturBaFH9O2ZV5qgGPPXsQqSPXWccEJj8S1zcmNxynHiG0AS Nv3yzun65uVErZ4pKmwlyVhv1FloXsZwQiEMspnXfTSDPanv2gsJwA0PLX7HsEAH9AyR 37WPdLEmhG7tLbVMsjYhkosxlZxj0Fh1cj176YNN/EqnlkoNESo8KTrCAxK7y+86Fvld ugqaYhKFxDqS2w0tuet6BGiLYiNLKch9P4FQI0Z5DQBhHeH5DIgEr6cLN/tD9wYl1AQP OMrA== 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=fXul2Va/K+WStUlZT13S//lqKU0KbDPpzJ0cPCv5MDyuCf8OA7my4dgfGa5wyW6GNV B97lRTKznxrxKRP09Sczbcb64d140LRZpSJ/AdkR10Q+jnUN8vRwy/P8UX8qmgJI2HBH myTqqg1ptNxmWsY4OQ5VQqz99vh+TzYh9u/ACx61XKQYhQE6hw1TwC9Akm4RceOWOogR dUa20SI5Cywh8RoZ71503irKm9jnyZ8fpaThaeE0XcomV6Q/YlWFlpKbXYchwSGTUVSm Mvws2yBkjaTi+G6XrR6hPHW7XrNbh5ufxiAVGziM0anOHRP2WJLqifSkQ/GA7azOEp0o yXTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MgbGb9+B; 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 c2-20020a170902aa4200b001a1b454e535si2447252plr.257.2023.03.31.09.54.59; Fri, 31 Mar 2023 09:55:11 -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=MgbGb9+B; 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 S231539AbjCaQqs (ORCPT + 99 others); Fri, 31 Mar 2023 12:46:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37518 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232543AbjCaQqM (ORCPT ); Fri, 31 Mar 2023 12:46:12 -0400 Received: from mail-pj1-x1036.google.com (mail-pj1-x1036.google.com [IPv6:2607:f8b0:4864:20::1036]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7E5732369E for ; Fri, 31 Mar 2023 09:44:23 -0700 (PDT) Received: by mail-pj1-x1036.google.com with SMTP id f6-20020a17090ac28600b0023b9bf9eb63so23948420pjt.5 for ; Fri, 31 Mar 2023 09:44:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680281060; 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=MgbGb9+BajR7U9Py9m3Waklr7ZRT5TbXE0rkhdrigVGuXvy9FH1Mb9DCA3RNwdC8P+ W7gZj6Ayj1u7v5GHACtoETocx4IX0wY59TWhL2ZoOe3M8NixjXSkKTgWNJTp1RzJICpb S1Tbb0eHpfCXHhRThqTFDgJNW5eKxLs9MLiN5qjnOEoM8X0lB43Wg6tSE2eQDMOZRu2a 5V1QJZ0WcDvQ00tFobV3d3AcdHLlyG7xOw+94sfLv9Wk5WxkXVNTou8mq5050nSyQIT1 wG3x3rq4uE1egPNbGXjb7YRjJMqwssU4MHc1tQg4loQyoM+gzu3yVZPS5tJXspbmaApF yDZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680281060; 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=OHNBE1XxpC1yEgq2bkCZ8pmPaAwnbIVk1ySFtl4p7p4E7wWKzDMwTWk7TMNBiLdeEJ iSykw+Rkp+sEdX+ynLWaglt5QK5evQPl7rpBhpkaIz+CNATgGJ4VRTKImhT4EVZDYzpU NUTs9QlOQnjITjKLKkSKPBMw4t5n7CIVdZQ+kRmeeBhTTiuMZAG7wIjSqozr5ygugfT6 VHaWeMB+2QCuryfIf8vU8TNbi9CJ7EjMmlQsbMR7j05rqpRKYSwStgxdfiEfrVlHqi1r 9ymBecPWYt7X6KZX1JQWcn4NjSMA7TE1jDchQQTRYLnLrF++umK+rZ8qXpzfn9H04Hx1 xI2w== X-Gm-Message-State: AAQBX9dfaSfDCfurYVNiSMhlTxGvh0pFXhBihBFNiCXwmaargDgr6JK6 zaEEIlpk70x0NxxRbPppQYCypw== X-Received: by 2002:a17:903:886:b0:1a1:bcaa:aaea with SMTP id kt6-20020a170903088600b001a1bcaaaaeamr26472474plb.3.1680281060248; Fri, 31 Mar 2023 09:44:20 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1c5e:53ce:1f39:30a5:d20f:f205]) by smtp.gmail.com with ESMTPSA id x13-20020a170902b40d00b0019b089bc8d7sm1798767plr.78.2023.03.31.09.44.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 Mar 2023 09:44: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 Subject: [PATCH v4 10/11] arm64: dts: qcom: sm8350: Add Crypto Engine support Date: Fri, 31 Mar 2023 22:13:22 +0530 Message-Id: <20230331164323.729093-11-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230331164323.729093-1-bhupesh.sharma@linaro.org> References: <20230331164323.729093-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?1761903075555925659?= X-GMAIL-MSGID: =?utf-8?q?1761903075555925659?= 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 Fri Mar 31 16:43:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 77906 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp702985vqo; Fri, 31 Mar 2023 09:55:55 -0700 (PDT) X-Google-Smtp-Source: AKy350byf/e7NMJVk2YBB95U2xX8RqL7OVpzYlGroBnxxjBtTMm8iLKbQ471krKOJwXyVKA8FFGC X-Received: by 2002:a62:1dcc:0:b0:625:2636:9cd2 with SMTP id d195-20020a621dcc000000b0062526369cd2mr24282690pfd.18.1680281754822; Fri, 31 Mar 2023 09:55:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680281754; cv=none; d=google.com; s=arc-20160816; b=Zebxte6NxHhonLxcldFQGHMdO+hZn1/c8szcCxSRwm0ROp0OVHQug7gDRAn+f0uAHg RUGz9TnunZmZzQpdlbtjtaCSxNReoHGzzb1S9WP1NOl7Rx22UF/cExQLYlhp44joC9Oe sEePdqZHAwzF5DBeFL22WQUIRYRXgH7aeeJ8+tVE5f+6FbI6QbzOTmC6/E1woBTNc9s5 kx61LGS71pQBu+7RDkPShKVJBOMpMTg2EF8WfgqJzr36d+whTA21Mudwv5vJ4CTTv4kV B8GTCr18qBYoDI2/h/Krtd3bqlFGJG3qtYTJGZgwckOJM4p3hdeZ0AWOvMpp1gQtSneN 9agQ== 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=VBa6opvvagpmDsvwr8eluSFfST6NKCUDATfdSjKQtn3dQsFoerw15hWAkGB1y4ogXf kSnBPUDRZRMrdv0gfKy68/uTJZnStYgKFxuhFuJKyNTrsPvWah14Axw+7cEbUWvRq/Uh OivjGofeqZOErc1ryIdUJX64rcqjPO1Q7E4q/lWIOd89k1UxVDiej5LsyOZtlvc97EzZ sJehpgUqb+MCzstZWdp8i0YBTI1iJmKQ0E0U3yq1yR71AeooVSF4dWHProrHomr7VXku fgD/aM3BfK5/TzY95VSb39Gk5rDoKiy1Dx9CgQNOxSHY5ac1HDN4SpuvlHqkh1OQJeCa /8/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=il3cTrMb; 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 k63-20020a628442000000b006293f8330fcsi2780170pfd.322.2023.03.31.09.55.42; Fri, 31 Mar 2023 09:55: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=il3cTrMb; 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 S232973AbjCaQqy (ORCPT + 99 others); Fri, 31 Mar 2023 12:46:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36470 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232970AbjCaQqS (ORCPT ); Fri, 31 Mar 2023 12:46:18 -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 66EA123B52 for ; Fri, 31 Mar 2023 09:44:26 -0700 (PDT) Received: by mail-pl1-x635.google.com with SMTP id w4so21745764plg.9 for ; Fri, 31 Mar 2023 09:44:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680281064; 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=il3cTrMbr5JNkWMDf/06GZqg3tgIq0sGJwg2KvEEbljX+AQ0HVXtv+TmdGc9Ez4Tcl SRpgTWmfSEcz9F9gONJV43wEI+M7i5eJDK/SGFKUwzGz7fIyhJ2z5E6Bx2PVLT6fGHE5 90ZGyGe8uFxDDws8xQx5mfFFBzSfjuOrWWAOGvKA9gAcaTAFuQ2SQt/2jv++uGt1O+DZ sn13tRafhaqPlvhCJPVX3nwLM1kEQqkO6Y45OXgNrduoYgrNZfRVEAK3pHUdonbtyHvY aLPkVwxudSj3zXVR4fgY4JMMZlvN/GIWSiWA6lo+noRv/zeKLxdVqCUZ2ZlkZkOMUe/i aBtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680281064; 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=Yh8tE80pTPiVMoMhdtSpyrE3us009FL85x6fFCIAC56j9CjoUMKnioyPRl1zvKhkRm Xt/ZZZxSqzXC4VfAA/WHzNN96UXUSAgxEb24Rphj2+0mAdNjNETFfPYlx+Zx0Juv/F4E Q3vxrnzvOx3hEf5qrwa9qhkQHhxNiZuJglsxtu71SATKzlBf5yGFThhQw7wVzGWi2qhh GrJBgNRvWcDaQKnHn6zdWlCfdbdezDtX+V/AEdHjFDm7uJudkbGpC8i3sH9EadjXcd1L I5l84GZlQAy0Z8OHkfTyl1ltBV0QIyJXM4wcUKqbBL8MoGMTeFJp4U88oRC2r0EVBu4i GZAg== X-Gm-Message-State: AAQBX9f5fJ7aY44A9z5DndtvC6PJg4N/ZXhr+35VGpKYRU0nXjIgEc0f LjzboJcs6KYKtAGArLS94Q+bKw== X-Received: by 2002:a17:902:f983:b0:1a0:50bd:31aa with SMTP id ky3-20020a170902f98300b001a050bd31aamr23244015plb.66.1680281064724; Fri, 31 Mar 2023 09:44:24 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1c5e:53ce:1f39:30a5:d20f:f205]) by smtp.gmail.com with ESMTPSA id x13-20020a170902b40d00b0019b089bc8d7sm1798767plr.78.2023.03.31.09.44.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 Mar 2023 09:44:24 -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 v4 11/11] arm64: dts: qcom: sm8450: add crypto nodes Date: Fri, 31 Mar 2023 22:13:23 +0530 Message-Id: <20230331164323.729093-12-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230331164323.729093-1-bhupesh.sharma@linaro.org> References: <20230331164323.729093-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?1761903121264530984?= X-GMAIL-MSGID: =?utf-8?q?1761903121264530984?= 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>;