Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3661074pxb; Wed, 13 Oct 2021 10:18:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxDNkSu3zGc026+m6cJV2EOrKcpcWvDB8IsveJYJr7hukow0q6ApaeupJU7rfJhd0NPhqrS X-Received: by 2002:a17:906:2f16:: with SMTP id v22mr585511eji.126.1634145514345; Wed, 13 Oct 2021 10:18:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634145514; cv=none; d=google.com; s=arc-20160816; b=PgEzpRmqSs9fmZ9KJsh3z56fN4H3ILpjftohI9CVUicX8TE53V5DIE5k1oRGpgRrNR EDIhadqnRZuEdlOvFJfcIi9nqIeSTkvw0LMZprLxxocmVF7w69mVFxdKMC3D8shWDLD0 i1MWGVpLenhT2I9kW/RTUHGbzFxoVcCQkOqpcTvEuNbcn3fZdx7PaYuVtkWIHtkCGpI/ IzuVvUfVNsTDusYWgbDcngu9MzQRM0saV5Hj/jPk8hd2uFMuaZbIjFrzdmnWjiLdZUZk bFWRX/WWnkSgR6K4JFGk2oYMWmYPj7lWvwNRnHE0jIcY5kBDsLD60499QNL7R35Bnd1c GZ6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=W8nJn1I9+6xqCWimBgakZ0ZykoVGwL72//fXC4D2ENM=; b=kgI7xRJsMs8lRZWhb2Thx4o/E1HeFpY/aSOFB15j1+XxNZHl3X+r/vLPBlI2xrEN6T m9+ea5bmwUZvM1gUmOuA61lYF0OfGs1uWDLqpeaw/LuaI4Tshz741ZjlMoYPyuzcZKLS d8XCF1+qqSITwf2XO8GM7BsLsYpc7NVLJ4GOC4+Aqphffk7InrDFRR3LMjFrorqnJWaz DnR8olxZvD/Ls+YtuPdNb55WvsIH/3mzEqilf7jbodRV2FpW+LpuIFbqe5CRzcmH29Mp JghlzZ/2LG/U1gMs+SmqxBE1ha6tiioD0NCO7EKxvzc/FSWcRN4tnIbYzJc8JAPLADN1 DXdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GI2da+Yf; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q13si180616ejs.609.2021.10.13.10.18.10; Wed, 13 Oct 2021 10:18:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GI2da+Yf; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-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 S237879AbhJMRRv (ORCPT + 99 others); Wed, 13 Oct 2021 13:17:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32876 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236309AbhJMRRu (ORCPT ); Wed, 13 Oct 2021 13:17:50 -0400 Received: from mail-oi1-x22f.google.com (mail-oi1-x22f.google.com [IPv6:2607:f8b0:4864:20::22f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0C583C06174E for ; Wed, 13 Oct 2021 10:15:47 -0700 (PDT) Received: by mail-oi1-x22f.google.com with SMTP id y207so4740702oia.11 for ; Wed, 13 Oct 2021 10:15:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=W8nJn1I9+6xqCWimBgakZ0ZykoVGwL72//fXC4D2ENM=; b=GI2da+Yf8iRRrz33iNLPc7mzogAwHgSYE6UnW3MHkFfv7C00ULlaeRSw+ecfq1ILmK yJIL013x3qXks11y/cjE+AALW6awCN1OArNQUkyBQ+4mgvb0KjtqVqo+kEkh+UoCBt+H 0WDCQuuqVuTNpZJ4fvbpMBA9HV5sEbdiL3Q3jZrxBESwug1StY1cjr8xlboSu4cmw+8j 6pN+Le3SWffPOmsGK3waohlhvtMo927iGVjPzMVlGN/hzh9v4oBqB7lWtvtuVSYvhn99 0dAJdEtstNq+XGfKyAf2tiglHD+mxdHxf9/Y1ZgeXqp3HaNt5gVA40RtAqLUQMUAO5CQ QMrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=W8nJn1I9+6xqCWimBgakZ0ZykoVGwL72//fXC4D2ENM=; b=JgmKucy7eDqggUvbjCnLjuvieh35/JWtZdD+zHQ02USoXQKRvG9eM6gVXRUwVIdwWp q9tP6sRh67RLAFmAVcG98SDvhTmUC2hPg5hKTz4F9GUBYTtoHt6NfUqRhZouDvspZAMx ZTd2qSb+P6Z5kOWEOxeLYuLx03tfQx+bNMUPSlSbOTzDm3rF3YjIqpQJhBGuMHIRzSLY buTqA0wJI8qNxFdblygctwxEcug3XXPOGowzNpB9k1oD/CkSbLdfY+1FVuJpIQjBOz0x SBD4YfUmfUXW96DxrE4PcsZkQ5HIwcyO9C7IdIhkkdPbVAQYW+cmeaCtIyvSEHiHO3JN NTqw== X-Gm-Message-State: AOAM530rUQyZtx4rViFttmj9EbvzKfJFGkzhpHDoqrw311C4yrUQd7DU oyWX8UKJNLlHO5htxrRDytX8MRnAJARqullIeAZPzQ== X-Received: by 2002:a05:6808:1686:: with SMTP id bb6mr246917oib.40.1634145346288; Wed, 13 Oct 2021 10:15:46 -0700 (PDT) MIME-Version: 1.0 References: <20211013105541.68045-1-bhupesh.sharma@linaro.org> <20211013105541.68045-8-bhupesh.sharma@linaro.org> In-Reply-To: From: Bhupesh Sharma Date: Wed, 13 Oct 2021 22:45:35 +0530 Message-ID: Subject: Re: [PATCH v4 07/20] dt-bindings: qcom-qce: Convert bindings to yaml To: Vladimir Zapolskiy Cc: MSM , linux-crypto@vger.kernel.org, bhupesh.linux@gmail.com, Linux Kernel Mailing List , devicetree , Rob Herring , Andy Gross , Herbert Xu , "David S . Miller" , Thara Gopinath , Bjorn Andersson , Rob Herring Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Hi Vladimir, On Wed, 13 Oct 2021 at 18:35, Vladimir Zapolskiy wrote: > > Hi Bhupesh, > > On 10/13/21 1:55 PM, Bhupesh Sharma wrote: > > Convert Qualcomm QCE crypto devicetree binding to YAML. > > > > Cc: Thara Gopinath > > Cc: Bjorn Andersson > > Reviewed-by: Rob Herring > > Signed-off-by: Bhupesh Sharma > > --- > > .../devicetree/bindings/crypto/qcom-qce.yaml | 67 +++++++++++++++++++ > > 1 file changed, 67 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/crypto/qcom-qce.yaml > > > > diff --git a/Documentation/devicetree/bindings/crypto/qcom-qce.yaml b/Documentation/devicetree/bindings/crypto/qcom-qce.yaml > > new file mode 100644 > > index 000000000000..b7ae873dc943 > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/crypto/qcom-qce.yaml > > @@ -0,0 +1,67 @@ > > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > > +%YAML 1.2 > > +--- > > +$id: http://devicetree.org/schemas/crypto/qcom-qce.yaml# > > +$schema: http://devicetree.org/meta-schemas/core.yaml# > > + > > +title: Qualcomm crypto engine driver > > + > > +maintainers: > > + - Bhupesh Sharma > > + > > +description: | > > + This document defines the binding for the QCE crypto > > + controller found on Qualcomm parts. > > + > > +properties: > > + compatible: > > + const: qcom,crypto-v5.1 > > + > > + reg: > > + maxItems: 1 > > + > > + clocks: > > + items: > > + - description: iface clocks register interface. > > + - description: bus clocks data transfer interface. > > + - description: core clocks rest of the crypto block. > > + > > + clock-names: > > + items: > > + - const: iface > > + - const: bus > > + - const: core > > + > > + dmas: > > + items: > > + - description: DMA specifiers for tx dma channel. > > + - description: DMA specifiers for rx dma channel. > > Please consider to swap the description lines, so that they'll > be matching the dma-names below and a regular order found in > dts files. Ok, I will fix it in v5. Regards, Bhupesh > > + > > + dma-names: > > + items: > > + - const: rx > > + - const: tx > > + > > +required: > > + - compatible > > + - reg > > + - clocks > > + - clock-names > > + - dmas > > + - dma-names > > + > > +additionalProperties: false > > + > > +examples: > > + - | > > + #include > > + crypto-engine@fd45a000 { > > + compatible = "qcom,crypto-v5.1"; > > + reg = <0xfd45a000 0x6000>; > > + clocks = <&gcc GCC_CE2_AHB_CLK>, > > + <&gcc GCC_CE2_AXI_CLK>, > > + <&gcc GCC_CE2_CLK>; > > + clock-names = "iface", "bus", "core"; > > + dmas = <&cryptobam 2>, <&cryptobam 3>; > > + dma-names = "rx", "tx"; > > + }; > > > > -- > Best wishes, > Vladimir