Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp2278821rwb; Thu, 27 Jul 2023 05:07:48 -0700 (PDT) X-Google-Smtp-Source: APBJJlH45Q1EL4PuFsSSHfNlDhaDXWwk4YK/RyqmqvwPoEDRe/cHFx9hN5Ob7KsDkxgQ7wMYvGvb X-Received: by 2002:a05:6a21:3e04:b0:137:e09b:2184 with SMTP id bk4-20020a056a213e0400b00137e09b2184mr4549977pzc.29.1690459667714; Thu, 27 Jul 2023 05:07:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690459667; cv=none; d=google.com; s=arc-20160816; b=VHpb7/chTGf33FuSzP5hD/zf8Ymncn8Pr6f87b78UseOYypGjcYuUYwkgwHXvE5rPM T7FZPNOgVhVSXV11BG7S32lQr3AZX1724WIT9DB/a6gH195zSimt367rXrUaYByNaZtu oYiwmNrMl59z6aVpAwM+1WC8S13cll6jPNQD89BA4eY7+C3wQqHwAxLOHNtRF1l+eHIW aGz5kgkgIWrk3VLBHqwviZScMi5BPyeavYi4oIXL1wXRSbItJohvIrcDTW30vIMq1sKS sOZ4OPx9LSEWBXeh2bAr1UKIYxUDqq7XDt71kMNTkr218Zo9FbSrtfKHMyBhbOpzdgPm y1jQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=/fChEvxMU1VyjUw70eOU9DlODWk8dCup0qBe13Xv7Vg=; fh=mYPDgRZB+FSLc7zPQkkx8mmrKGzK2zrL0Q+XDTUFQIQ=; b=Gr02iX1Qwns0tKZbcnPefamdjP2cKB8QWUisQtelwIHzdGEe6ac18FiE7Kr0i7aWJz ULggmPyl5sFWang1em0mQ1DbVdbD3hwmvs4HwJ964shDecE7wKuMCtkqZUsC8XAWl089 6mujeUnqCOhOb5ECmQuO7Qoylp5fjl0wfrXW7G3G8Gb8WBMIf3tneYujsAcGAlCONXXA zQT2twChAR4qy/OSUXAFvn6T+bL3YFRA+Ec6gQdFnbNZT+mmu4e1qnUe7i7qEDizfhe2 osdhG2GgHOrg/whVYo6CcHHXhJhCBMfrjj66TH/KDoUgJlFWHnYaFxC7pCwm6nI7tkCa sBsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=X+a8afCT; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g13-20020a63e60d000000b00543e355adb5si1104422pgh.294.2023.07.27.05.07.34; Thu, 27 Jul 2023 05:07:47 -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=@gmail.com header.s=20221208 header.b=X+a8afCT; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233160AbjG0Lkl (ORCPT + 99 others); Thu, 27 Jul 2023 07:40:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36014 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233151AbjG0Lkh (ORCPT ); Thu, 27 Jul 2023 07:40:37 -0400 Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 404102127; Thu, 27 Jul 2023 04:40:35 -0700 (PDT) Received: by mail-ej1-x62e.google.com with SMTP id a640c23a62f3a-99bdd262bb0so58804766b.3; Thu, 27 Jul 2023 04:40:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690458033; x=1691062833; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=/fChEvxMU1VyjUw70eOU9DlODWk8dCup0qBe13Xv7Vg=; b=X+a8afCTrh5zv54f6eSfcGhKmIHwLnoQM1KB7vJz0H2LKiGsjwuisH9A6mN+/LTQd/ MWUH5ZjjD59fZ1M5oqxRB/nVIPz0U360yaEmU/Lat1ss4Rao3cdwycvW2+Dlj56H+gdL QkI4q7Yr85uB7wGt39DIaKs/VNBYgxHA/yZKJ70RcWDrqs2fmYRZsfwDkIOYXf7ZpLjx eZGb+eOf0tRmA3UqHovpsdswQ1eCmneJx7msCfBp/3ruv4S9nDQYj1xH+XTBOy4fPfc3 nJrk5ozS8MvsdjlNWxkAKVsTNtQJpzkxLqgztn3KU4rBLnZp9a/zFjTNokNBhIK4p2V8 3BcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690458033; x=1691062833; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=/fChEvxMU1VyjUw70eOU9DlODWk8dCup0qBe13Xv7Vg=; b=MyN70bEWjxZ/V5gLWlYfFb/07dYPdb8wFkdN2zgopzjDeKI98vckH7T9UJYx8prljV 1OzxQuF9GYVJ5+1ODt/8dnf4tryLZqEX47zl1u66rSql8bBdHPJ9NMzlcj9ef2vGLdAX HtclmJ60nu4ztv5KhAoy5tnhRy0M154MsSC5FDTaddxI/KQ2WRB2zPcvQJQhtkRH03Sr iG+AXHNstcMgwPl0MdZWWKt7/fDyBnmp+jKOnANrjlNPcjjFIgN/8knNcfb+sFiVlxhw nn7mxxpiItbFlHb7+UhYKIP5mdGs6yGzIDAys68Dl5g+WNDMA5L04ssj/OHbIVTEUCYf gw5Q== X-Gm-Message-State: ABy/qLaDulFk4SLaFqbISCd93vkwVDbhd3af7ebz95GvAa7NIDsO7dSE zm5bJKVHkaOZm8iJWHHunTM= X-Received: by 2002:a17:907:762a:b0:993:d6a7:13b with SMTP id jy10-20020a170907762a00b00993d6a7013bmr1679868ejc.22.1690458033416; Thu, 27 Jul 2023 04:40:33 -0700 (PDT) Received: from ?IPv6:2001:a61:35be:1401:2331:c532:1717:d48c? ([2001:a61:35be:1401:2331:c532:1717:d48c]) by smtp.gmail.com with ESMTPSA id qc8-20020a170906d8a800b00989828a42e8sm666431ejb.154.2023.07.27.04.40.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Jul 2023 04:40:32 -0700 (PDT) Message-ID: Subject: Re: [PATCH 1/2] Documentation: bindings: adi,axi-tdd.yaml: Add new TDD engine driver From: Nuno =?ISO-8859-1?Q?S=E1?= To: "Balas, Eliza" , Krzysztof Kozlowski 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" , Jonathan Cameron Date: Thu, 27 Jul 2023 13:40:31 +0200 In-Reply-To: References: <20230726071103.12172-1-eliza.balas@analog.com> <61fce1da-c8dd-f911-e4bb-b2198612e7c6@linaro.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.4 (3.48.4-1.fc38) MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 On Thu, 2023-07-27 at 09:46 +0000, Balas, Eliza wrote: >=20 >=20 > > -----Original Message----- > > From: Krzysztof Kozlowski > > Sent: Thursday, July 27, 2023 12:27 > > To: Balas, Eliza > > Cc: Rob Herring ; Krzysztof Kozlowski > > ; Conor Dooley > > ; Derek Kiernan ; Dragan Cv= etic > > ; Arnd Bergmann > > ; Greg Kroah-Hartman ; > > linux-kernel@vger.kernel.org; devicetree@vger.kernel.org > > Subject: Re: [PATCH 1/2] Documentation: bindings: adi,axi-tdd.yaml: Add= new TDD > > engine driver > >=20 > > [External] > >=20 > > On 27/07/2023 11:05, Balas, Eliza wrote: > > >=20 > > > > -----Original Message----- > > > > From: Krzysztof Kozlowski > > > > Sent: Wednesday, July 26, 2023 21:35 > > > > To: Balas, Eliza > > > > Cc: Rob Herring ; Krzysztof Kozlowski > > > > ; Conor Dooley > > > > ; Derek Kiernan ; Draga= n Cvetic > > > > ; Arnd Bergmann > > > > ; Greg Kroah-Hartman ; > > > > linux-kernel@vger.kernel.org; > > devicetree@vger.kernel.org > > > > Subject: Re: [PATCH 1/2] Documentation: bindings: adi,axi-tdd.yaml:= Add new > > > > TDD engine driver > > > >=20 > > > > [External] > > > >=20 > > > > On 26/07/2023 09:11, Eliza Balas wrote: > > > > > Add device tree documentation for the AXI TDD Core. > > > > > The generic TDD controller is in essence a waveform generator cap= able > > > > > of addressing RF applications which require Time Division Duplexi= ng, > > > > > as well as controlling other modules of general applications thro= ugh > > > > > its dedicated 32 channel outputs. > > > > >=20 > > > > > The reason of creating the generic TDD controller was to reduce t= he > > > > > naming confusion around the existing repurposed TDD core built fo= r > > > > > AD9361, as well as expanding its number of output channels for sy= stems > > > > > which require more than six controlling signals. > > > >=20 > > > > Please use subject prefixes matching the subsystem. You can get the= m for > > > > example with `git log --oneline -- DIRECTORY_OR_FILE` > > on > > > > the directory your patch is touching. > > > >=20 > > > > Subject: drop driver. Bindings are for hardware, not drivers... unl= ess driver > > > > is here a hardware term? > > >=20 > > > It is not a hardware term in this case, I will make the changes. > > >=20 > > > > >=20 > > > > > Signed-off-by: Eliza Balas > > > > > --- > > > > > =C2=A0.../devicetree/bindings/misc/adi,axi-tdd.yaml | 51 ++++++++= +++++++++++ > > > > > =C2=A0MAINTAINERS=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 |=C2=A0 7 +++ > > > > > =C2=A02 files changed, 58 insertions(+) > > > > > =C2=A0create mode 100644 > > > > > Documentation/devicetree/bindings/misc/adi,axi-tdd.yaml > > > > >=20 > > > > > diff --git a/Documentation/devicetree/bindings/misc/adi,axi-tdd.y= aml > > > > > b/Documentation/devicetree/bindings/misc/adi,axi-tdd.yaml > > > > > new file mode 100644 > > > > > index 000000000000..1894c1c34d4f > > > > > --- /dev/null > > > > > +++ b/Documentation/devicetree/bindings/misc/adi,axi-tdd.yaml > > > >=20 > > > > Why is this in misc? No suitable directory? > > >=20 > > > I chose misc because I don't know where it should fit, I did not find= a > > > suitable > > > subsystem to include this driver because this is a driver for an FPGA= IP core. > > > Do you have an idea where I should put it? > >=20 > > Directory based on what this device does. Whether some device is > > implemented as FPGA core or dedicated circuitry, it does not matter. Fe= w > > Time Division Multiplexing devices are related to audio, so they are in > > sound. I don't know if TDD is something else than TDM. If nothing fits, > > can be misc, but again - just because device does no fit, not the drive= rs. >=20 > This device resembles a bit with an IIO device (we are dealing with chann= els and > the > sysfs interface follows the IIO specification), but is not registered int= o the IIO > device tree,=20 > and does not rely on IIO kernel APIs.=20 > Do you think this device is a better fit into the IIO subsystem? >=20 We do have tons of specific attributes (non IIO ones) for this device. The = ones resembling IIO is likely because it feels familiar to us in ADI. Anyways, I= have my doubts this fits (at least as IIO stands right now) but maybe Jonathan thin= ks otherwise. +cc Jonathan... - Nuno S=C3=A1