Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp1534244rdb; Mon, 2 Oct 2023 12:33:34 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE+rVW50bhvBjbd0IIeuOs+1XWNgZkQwRItxktuSlIvD5VFLC8hRBP7/YR1hGvSy67VQt8k X-Received: by 2002:a05:6808:148:b0:3a7:7988:9916 with SMTP id h8-20020a056808014800b003a779889916mr12586902oie.59.1696275213926; Mon, 02 Oct 2023 12:33:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696275213; cv=none; d=google.com; s=arc-20160816; b=pDr2NOF0fNPK6wlB8DRy3tRCuJ2Ol7M9gemLH4k5zrSD5eDFsgsdUY0+cxvKlKyrZ5 HgMUsw4vsc9tQ/1XILOx6wo90Et32RjPMax1forC3yR7QS5iNquONeeLWon14xKFOOGS avMHm+skjgVh2kasYisaFy6vXEpur7sBrZJEaJ1LdACzoGaJMaOuflkggAzyMxX2uTrc QG0vBLM12ihjmoxafo60uXvxdVQS0O/YmEKgoyAmkf1URqyggn/UDFl+P9MSVUfYWoO3 GG4fCKTRlrVW98+ajoMoSI9au10HOyAUs6aFEsB38wJghfYJFONQKuDmbLyds++slu0B 89wQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Bsuy6UB3N+H7BOcSjYN/nuLg6KOZWtqer43mqjkEtmA=; fh=odVqJs3438plV6bKXhBShTCuxGgth+cFPIfh3sHVE7o=; b=O0I4opIOp2DbstFjjySisO+vF5xBCLd5eGHEZLUtxxw9aUKU9OqngYNnUDU8YH03Qm CXwNR46fxGi8BWikDTz78TCGeqDoOuMj6C9kNYDO9I+wbceVfQuA4g7zsiy47SXRu8ky qb8mYzUlkukoAJWgEL2Edzx9a52Hj1NbMVw5PrzQ7U2wYyneAHGYaGpd355uVCrn5Y8o 0asCSuSfonzKEAO+ZoctuhpcjmOItvN90l3PlkcrnoVMnAqCHm+DLrEtKpcAz9Ilur43 bXlUcBUhwIui58tH5DItHapskITM11+RrShnPvliF9Z/2EQPZdJYajkBFTeIYLcMpmZ5 hbKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ujxy3EA7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id s29-20020a63925d000000b0058556272a80si13506371pgn.371.2023.10.02.12.33.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Oct 2023 12:33:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ujxy3EA7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 112D48090E95; Mon, 2 Oct 2023 12:21:24 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238552AbjJBTVL (ORCPT + 99 others); Mon, 2 Oct 2023 15:21:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33622 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229536AbjJBTVK (ORCPT ); Mon, 2 Oct 2023 15:21:10 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 877D3AC for ; Mon, 2 Oct 2023 12:21:07 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0B629C433C8; Mon, 2 Oct 2023 19:21:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696274467; bh=WeIQDK9C+Lg7sfwz7aMXeYG+hNY0EwrPIT8ROstC1zE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ujxy3EA76/Hrc6fXpKGNxLtcvwKse/DIua954gfHgtf92hdzm5adhY3WNGPkgeSew xMIrKJLzdjfrFVbB0+SMTcLXRBgfebAbR+jRf9J8ECj/85zQJGi3/akE58aKiZM7yV Urh41IF6V9IB1e75adR1zz2JK4FOIVTgjulExHKMAt6hBym8Yd3602xKrcqGJuDfZM J67zMDGbmS1HOLGbacowB7DHavlAHMa5bi1orU35l34rXz/uB0qqqg6PIlGTlRKP39 jV0YK6rbSw/AR8Vp1UW4ZU+Q+rDNbH0fqQDtG4GHofC1HuoJyRSKMYK2BNZhgpFJre qRto3ILnFFLVg== Date: Mon, 2 Oct 2023 20:21:02 +0100 From: Conor Dooley To: "Balas, Eliza" Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Derek Kiernan , Dragan Cvetic , Arnd Bergmann , Greg Kroah-Hartman , "linux-kernel@vger.kernel.org" , "devicetree@vger.kernel.org" Subject: Re: [PATCH v2 1/2] dt-bindings: misc: adi,axi-tdd: Add device-tree binding for TDD engine Message-ID: <20231002-aggregate-scanner-3ca2ae69cf0c@spud> References: <20230928092804.22612-1-eliza.balas@analog.com> <20230928092804.22612-2-eliza.balas@analog.com> <20231002163244.GA1886905-robh@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="89n6cpjAet9oXeM3" Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, 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 agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Mon, 02 Oct 2023 12:21:24 -0700 (PDT) --89n6cpjAet9oXeM3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Oct 02, 2023 at 04:46:26PM +0000, Balas, Eliza wrote: > > -----Original Message----- > > From: Rob Herring > > Sent: Monday, October 2, 2023 19:33 > > To: Balas, Eliza > > Cc: Krzysztof Kozlowski ; Conor Dool= ey ; Derek Kiernan > > ; Dragan Cvetic ; Arnd Be= rgmann ; Greg Kroah-Hartman > > ; linux-kernel@vger.kernel.org; devicetree@= vger.kernel.org > > Subject: Re: [PATCH v2 1/2] dt-bindings: misc: adi,axi-tdd: Add device-= tree binding for TDD engine > >=20 > > [External] > >=20 > > On Thu, Sep 28, 2023 at 12:28:03PM +0300, Eliza Balas wrote: > > > Add device tree documentation for the AXI TDD Core. > > > The generic TDD controller is in essence a waveform generator > > > capable of addressing RF applications which require Time Division > > > Duplexing, as well as controlling other modules of general > > > applications through its dedicated 32 channel outputs. > > > > > > The reason of creating the generic TDD controller was to reduce > > > the naming confusion around the existing repurposed TDD core > > > built for AD9361, as well as expanding its number of output > > > channels for systems which require more than six controlling signals. > > > > > > Signed-off-by: Eliza Balas > > > --- > > > .../devicetree/bindings/misc/adi,axi-tdd.yaml | 65 +++++++++++++++++= ++ > > > MAINTAINERS | 7 ++ > > > 2 files changed, 72 insertions(+) > > > create mode 100644 Documentation/devicetree/bindings/misc/adi,axi-td= d.yaml > > > > > > diff --git a/Documentation/devicetree/bindings/misc/adi,axi-tdd.yaml = b/Documentation/devicetree/bindings/misc/adi,axi-tdd.yaml > > > new file mode 100644 > > > index 000000000000..8938da801b95 > > > --- /dev/null > > > +++ b/Documentation/devicetree/bindings/misc/adi,axi-tdd.yaml > > > @@ -0,0 +1,65 @@ > > > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > > > +# Copyright 2023 Analog Devices Inc. > > > +%YAML 1.2 > > > +--- > > > +$id: https://urldefense.com/v3/__http://devicetree.org/schemas/misc/= adi,axi- > > tdd.yaml*__;Iw!!A3Ni8CS0y2Y!5Cxus2huppjhkiJZLWTpJEgA0IXdLZx4t0fS9J1yt0x= gjp9g3Y1N5PbZ7pAcIkKU4WPbS_TR9yjTKw$ > > > +$schema: https://urldefense.com/v3/__http://devicetree.org/meta- > > schemas/core.yaml*__;Iw!!A3Ni8CS0y2Y!5Cxus2huppjhkiJZLWTpJEgA0IXdLZx4t0= fS9J1yt0xgjp9g3Y1N5PbZ7pAcIkKU4WPbS_RK8aQ9xw$ > > > + > > > +title: Analog Devices AXI TDD Core > > > + > > > +maintainers: > > > + - Eliza Balas > > > + > > > +description: | > > > + The TDD controller is a waveform generator capable of addressing RF > > > + applications which require Time Division Duplexing, as well as con= trolling > > > + other modules of general applications through its dedicated 32 cha= nnel > > > + outputs. It solves the synchronization issue when transmitting and= receiving > > > + multiple frames of data through multiple buffers. > > > + The TDD IP core is part of the Analog Devices hdl reference design= s and has > > > + the following features: > > > + * Up to 32 independent output channels > > > + * Start/stop time values per channel > > > + * Enable and polarity bit values per channel > > > + * 32 bit-max internal reference counter > > > + * Initial startup delay before waveform generation > > > + * Configurable frame length and number of frames per burst > > > + * 3 sources of synchronization: external, internal and software = generated > > > + For more information see the wiki: > > > + https://wiki.analog.com/resources/fpga/docs/axi_tdd > > > + > > > +properties: > > > + compatible: > > > + enum: > > > + - adi,axi-tdd-2.00.a > >=20 > > Where does this version number come from? I looked at the above link and > > see versions such as '2021_R2', '2019_r2', etc. I didn't dig deeper > > whether there's some per IP version. > >=20 > > If you want to use version numbers, please document the versioning > > scheme. For example, see > > Documentation/devicetree/bindings/sifive/sifive-blocks-ip-versioning.tx= t. > >=20 > > Rob >=20 > The version refers to the IP version. The version of the IP is also > specified in its VERSION register (there is a drop down to expand the > register map on the wiki page) which is verified by the driver during > probe. "2021_R2" refers to the compatible tool version used for > creating the FPGAIP Core. If you have version registers in these IPs, what benefit does version numbers in the compatible string bring? Rather than using the version numbers to validate what the DT gave you, which not the kernel's job IMO, why not just use the information from the register to determine the version? Cheers, Conor. --89n6cpjAet9oXeM3 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZRsYHgAKCRB4tDGHoIJi 0hNTAQDQKnn2rQiKo7g3PzTiisgKqyTMNHeg9GOBd8i9KiUhPAEAixAZhoF4bcci ysMUNIYsa5zOPzAy4Vd24Y4FftL65wQ= =zP/g -----END PGP SIGNATURE----- --89n6cpjAet9oXeM3--