Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp3120191rwb; Mon, 19 Sep 2022 15:31:28 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7v60NUee3nIrYbBQ2tLiXNngQ29LZ/tmTxtDX8Y49WeHIWGgYnEA7cUtD1ub79lF9pukdb X-Received: by 2002:a17:90a:4590:b0:203:3947:1a81 with SMTP id v16-20020a17090a459000b0020339471a81mr432241pjg.11.1663626687931; Mon, 19 Sep 2022 15:31:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663626687; cv=none; d=google.com; s=arc-20160816; b=ZOR2OTnf9EvrmdUtWVDt9w+PblpQbFa1H6Sj9gButVjsfdGGr9u/6OnIvyFWoTnhjs wT3hIwf2k5BEsjHhbff5/GaVWb8lgs7jPCMHHAMNXVwsPJcmWN7KWNyQsYBJ+seKWjXI oWacKBSdcQTr3tyNO14bRLAj/0bPnCgJGikoExPmaszj/Ykd7kGJEOODlw0p+y5ZF0Xh VDWUFiWE1EjAh4dJlCxZy9xwFAKzrLdjiwR4FT24RDFqLAR0u8nFF8kkgMaUaGATF6+M 74XAcGu21pDfISyydEmOl2+YnumOihzql/NXkZLLss/0bGb3Hsln8aYiZw3oozWdikg4 Z9BA== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=gz59VWx5nz0YJXzmCogPNEDPJtcNnH5l3T4l3SeJhzY=; b=up5i2X2gmKj7n5MhD9CuQNobrGysQIcIo/bm+zLVsD7zEOwEbuve5ZLb81EDXpnYcq MU/9jTcgnY55vF4IeoYDBTHddCwQuXJhM8Zit5XQn2u7p+RHFDq4lI8D5k3lRgimU+Gu 1OdrMxZgdbL4uQv2leHXLDPzUz4luDaz6if5SLnRbog0u5DRhtdwXAeC/76TFA9D2sbr 657yjrzfCcnlwhoL8hql+6LlI5HMei8OIW/CL+iwa358bd2g8pWbT1Kq6dUc+i0HpNYv GqwuIu5YQ+mfc5TxmAxjYZ9GESYem1OnhNImHBppkYJUOB56b+pyeQIAvwlTg5P1CYkV aq3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OuJs8yBR; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id my10-20020a17090b4c8a00b00202e9e96380si13825036pjb.147.2022.09.19.15.31.15; Mon, 19 Sep 2022 15:31:27 -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=OuJs8yBR; 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 S229456AbiISWIS (ORCPT + 99 others); Mon, 19 Sep 2022 18:08:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50158 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229503AbiISWIR (ORCPT ); Mon, 19 Sep 2022 18:08:17 -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 3E8AF48EB7 for ; Mon, 19 Sep 2022 15:08:16 -0700 (PDT) Received: by mail-pj1-x102e.google.com with SMTP id fs14so1034882pjb.5 for ; Mon, 19 Sep 2022 15:08:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date; bh=gz59VWx5nz0YJXzmCogPNEDPJtcNnH5l3T4l3SeJhzY=; b=OuJs8yBRQWHb2NNqUrbybvk2KaJ1FDQfcfkl1NAvGr9+CfaVcOx/3meKK+mdxorsAu 0+iy9Yg+b1sX53SW6lGS/rvME6GBW/dMU5TuA9ru5JBGfGsXnRcgRtwIjpAumbAyauSH 2D1bZ0qe7uhLduo8ieOEvXolioYAnEeK7Z6XarRJFoUymkbXrfGJcXAgxRIlckUp6cBF pka+XnDagpnMKezgG37TW8+jElG8UY1K/kWWrY5sHW/rI5/SLJou/zZbOUPPfHBJmvq/ mehkinxDWq/KhvF3t3ExhSi0vVQnDYiP3xfyxaijJKEdWep8nK1lwbvaOL3w8hS77Xl3 Yntw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date; bh=gz59VWx5nz0YJXzmCogPNEDPJtcNnH5l3T4l3SeJhzY=; b=r4adompz0zF+TPJrvneyoHoZ8dEUnPzx9AGWbrLuCrdQuXHhY0IJs5GC6XT5BOiFwe TYY5vAfZ7ZxTnKsu/h29nks1Usr0Kgiy7cHLGkyp3rDbR7t4df6IKFstWZCjkdoQ9Wdh nKigOI3LyVOM1v1nUb60FOm3w9bwBV38muf0GkGZABONS4RlW2Kcr4HjP5MuNsEG7LQf NnBVQCc+Ny0Liewux+qbWRoGL0Ntgkzp+d/K/pR+rgb25Q/Cbu9qVAFSSsfYRIC9y0QP jHXDxIPXJijsv6seU56rAPtcxkrOhgSGj4t2sMvuhczBKxoQEUn+BOD4SMetE2CULIau F2AA== X-Gm-Message-State: ACrzQf0B31yf7fSud44rdbqpYshlFYJPJPMnYh9SNH+CadwLRMeJEBSJ bIYTV3ff6D5AgMEaqEAlzBwNog== X-Received: by 2002:a17:903:1c4:b0:176:e348:c386 with SMTP id e4-20020a17090301c400b00176e348c386mr1804453plh.3.1663625295495; Mon, 19 Sep 2022 15:08:15 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1c61:6535:ca5f:67d1:670d:e188]) by smtp.gmail.com with ESMTPSA id u2-20020a17090a6a8200b001eee8998f2esm7068167pjj.17.2022.09.19.15.08.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Sep 2022 15:08:15 -0700 (PDT) From: Bhupesh Sharma To: linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org Cc: agross@kernel.org, linux-kernel@vger.kernel.org, robh+dt@kernel.org, thara.gopinath@gmail.com, devicetree@vger.kernel.org, robh@kernel.org, krzysztof.kozlowski@linaro.org, andersson@kernel.org, bhupesh.sharma@linaro.org, bhupesh.linux@gmail.com, Jordan Crouse Subject: [PATCH v6 0/4] dt-bindings: qcom-qce: Convert bindings to yaml & related changes Date: Tue, 20 Sep 2022 03:38:00 +0530 Message-Id: <20220919220804.1047292-1-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.37.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 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 Changes since v5: ================= - v5 can be seen here: https://lore.kernel.org/lkml/20211110105922.217895-1-bhupesh.sharma@linaro.org/ - As per Bjorn's suggestion on irc, broke down the patchset into 4 separate patchsets, one each for the following areas to allow easier review and handling from the respective maintainer(s): 'arm-msm', 'crypto', 'dma' and 'devicetree' This patchset is directed for the 'arm-msm' tree / area. - Addressed Rob's, Vladimir's and Bjorn's review comments on v5. - Added Tested-by from Jordan received on the v5. - Also added a 'defconfig' change where I enabled the QCE block as a module. Changes since v4: ================= - v4 for sm8250 can be seen here: https://lore.kernel.org/linux-arm-msm/20211013105541.68045-1-bhupesh.sharma@linaro.org/ - v1 for sm8150 qce enablement can be seen here: https://lore.kernel.org/linux-arm-msm/20211013165823.88123-1-bhupesh.sharma@linaro.org/ - Merged the sm8150 and sm8250 enablement patches in the same patchset, as per suggestions from Bjorn. - Dropped a couple of patches from v4, as these have been picked by Bjorn already via his tree. - Addressed review comments from Vladimir, Thara and Rob. - Collect Reviewed-by from Rob and Thara on some of the patches from the v4 patchset. Changes since v3: ================= - v3 can be seen here: https://lore.kernel.org/linux-arm-msm/20210519143700.27392-1-bhupesh.sharma@linaro.org/ - Dropped a couple of patches from v3, on basis of the review comments: ~ [PATCH 13/17] crypto: qce: core: Make clocks optional ~ [PATCH 15/17] crypto: qce: Convert the device found dev_dbg() to dev_info() - Addressed review comments from Thara, Rob and Stephan Gerhold. - Collect Reviewed-by from Rob and Thara on some of the patches from the v3 patchset. Changes since v2: ================= - v2 can be seen here: https://lore.kernel.org/dmaengine/20210505213731.538612-1-bhupesh.sharma@linaro.org/ - Drop a couple of patches from v1, which tried to address the defered probing of qce driver in case bam dma driver is not yet probed. Replace it instead with a single (simpler) patch [PATCH 16/17]. - Convert bam dma and qce crypto dt-bindings to YAML. - Addressed review comments from Thara, Bjorn, Vinod and Rob. Changes since v1: ================= - v1 can be seen here: https://lore.kernel.org/linux-arm-msm/20210310052503.3618486-1-bhupesh.sharma@linaro.org/ - v1 did not work well as reported earlier by Dmitry, so v2 contains the following changes/fixes: ~ Enable the interconnect path b/w BAM DMA and main memory first before trying to access the BAM DMA registers. ~ Enable the interconnect path b/w qce crytpo and main memory first before trying to access the qce crypto registers. ~ Make sure to document the required and optional properties for both BAM DMA and qce crypto drivers. ~ Add a few debug related print messages in case the qce crypto driver passes or fails to probe. ~ Convert the qce crypto driver probe to a defered one in case the BAM DMA or the interconnect driver(s) (needed on specific Qualcomm parts) are not yet probed. Qualcomm crypto engine (qce) is available on several Snapdragon SoCs. The qce block supports hardware accelerated algorithms for encryption and authentication. It also provides support for aes, des, 3des encryption algorithms and sha1, sha256, hmac(sha1), hmac(sha256) authentication algorithms. Note that this patchset is dependent on the dt-bindings patchset (see [1]) sent to devicetree list. [1]. https://lore.kernel.org/linux-arm-msm/20220919195618.926227-1-bhupesh.sharma@linaro.org/ Cc: thara.gopinath@gmail.com Cc: robh@kernel.org Cc: andersson@kernel.org Tested-by: Jordan Crouse Bhupesh Sharma (4): ARM: dts: qcom: Use new compatibles for crypto nodes arm64: dts: qcom: sm8250: Add dt entries to support crypto engine. arm64: dts: qcom: sm8150: Add dt entries to support crypto engine. arm64: defconfig: Enable Qualcomm QCE crypto arch/arm/boot/dts/qcom-ipq4019.dtsi | 2 +- arch/arm64/boot/dts/qcom/ipq6018.dtsi | 2 +- arch/arm64/boot/dts/qcom/ipq8074.dtsi | 2 +- arch/arm64/boot/dts/qcom/msm8996.dtsi | 2 +- arch/arm64/boot/dts/qcom/sdm845.dtsi | 2 +- arch/arm64/boot/dts/qcom/sm8150.dtsi | 28 +++++++++++++++++++++++++++ arch/arm64/boot/dts/qcom/sm8250.dtsi | 28 +++++++++++++++++++++++++++ arch/arm64/configs/defconfig | 1 + 8 files changed, 62 insertions(+), 5 deletions(-) -- 2.37.1