Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp3478750pxb; Sun, 20 Feb 2022 21:42:18 -0800 (PST) X-Google-Smtp-Source: ABdhPJzR4IRXzEEERCNr0T0ONDfGYoy4XgXQBm/VfJsvXqcxL1Ud7/cwH+Xw3ELm6QWebpKw1Ap+ X-Received: by 2002:a17:902:ee42:b0:14f:c36e:6558 with SMTP id 2-20020a170902ee4200b0014fc36e6558mr2362793plo.118.1645422138725; Sun, 20 Feb 2022 21:42:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645422138; cv=none; d=google.com; s=arc-20160816; b=FscNj9xwl8P4JZBl9M5tNCvh1LfJFW/lZUSppHqpcCWW9SUexZU4U6BVFGXoN2DXgB GPsFos+jiyeRv4vWUj2QBxkvqu1h9XFUZM5SBrm5BdLc4pcMH63gMT5FpYJdwqzK4pa2 gu4uLLcNu3IWs7EDLhWfL9BFzQg9VaQB6/VZaSObWEkhDIX7STxJA2mDzoF4d51FnEhL KU4uG0gFM/HOBuZbyPjr5sM5ocdZtdNpDDbNVZ1/3LpWwxLfWUr29AhwWTLivofCflNK vDfFexMU+Xjzw6Cipuo6O8dU/V94ZjYLHMg6NxNBvwZE3aoLXTUCtyDgq/jL0QzjOhnW 9ivg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=o2BZTZUqbj/n7i9reyFZoNn64d0OySHScMS04/ePEFY=; b=QWBE9Zltf4l+XXxWvwbk9zTPqJpORQQSfMJRoQt+WCkqnyenyPGJ644zMFanxtenUo JapTM5oum5o3K5e6usKpfT5WBMU4E0BMqu6Fs7/tf4lKG8RAqqanq/cVNEdsz+BO3R7E Ru6S7f+clGi5Hqt1Cvxbv2G5/6cUc38DyrqfF2Ed2NtkKlufUIZJaDVqEAgCAQac2Vwy 8k2GB6pc4obSwkkGYptN477JdSF/Iy1I7l1k1egP1tbNTbiiQhOQKUOTgmlBeRG1Yp1s MpMgSMkauB/Hlex1+rEYNQ/QaXiuLs3AUB0BLto3tjK2GlNa4uxiyYDlkShGP4d1rKKU nalw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=ShBnhGtg; 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=canonical.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r6si28411730plo.333.2022.02.20.21.42.03; Sun, 20 Feb 2022 21:42:18 -0800 (PST) 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=@canonical.com header.s=20210705 header.b=ShBnhGtg; 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=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237294AbiBTLmy (ORCPT + 99 others); Sun, 20 Feb 2022 06:42:54 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:48712 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234206AbiBTLmx (ORCPT ); Sun, 20 Feb 2022 06:42:53 -0500 Received: from smtp-relay-internal-1.canonical.com (smtp-relay-internal-1.canonical.com [185.125.188.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CD2742734 for ; Sun, 20 Feb 2022 03:42:32 -0800 (PST) Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 3D7A53F1F3 for ; Sun, 20 Feb 2022 11:42:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1645357351; bh=o2BZTZUqbj/n7i9reyFZoNn64d0OySHScMS04/ePEFY=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=ShBnhGtgeR7uApu//0XzctU1DeMxqF7/BMv/kpESjk5JGIFNBKu7JEaAiA95I2476 vmtzgcz7Ld2Zzq38VP3ssnFyougyposteil7PAz5YH/Z4wqzpGUU8oUN9lDgU1hb/I HOlHmURbNzOkDvvTmxaYDADwRVMYKEAal4YHWcRCMmZfLSHW2mzxp2Zqnwk1YwFZZO Exrw4mCX84LH09rQpXiesS5fqht44DJBxZIGororhcgYE3VBsAxcQUHgZOKb5gca8L xuht/g45bY+g+RxECCV5NScEq9NgcJDPqFuL+mUabS7wficVD8JyiTDIgFv38/fHxW 641dTN+I4qENA== Received: by mail-wm1-f70.google.com with SMTP id l9-20020a05600c1d0900b0037be9e5f7e8so1585264wms.7 for ; Sun, 20 Feb 2022 03:42:31 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=o2BZTZUqbj/n7i9reyFZoNn64d0OySHScMS04/ePEFY=; b=ruDh5cXFFQYY31ToOVzJtUMwe6HlDLqAEHgqslPMGpk9GI2O1kf4thk0XC+PZocGMK z9N2TEVO4V91qROoP8VLMCmu83xXvWhcy1EjAGfARM6geIKCF5t0bwkJVnu1CtG1L9gu Fk0eXajl7Z02LzgITPdsKk92J3JEWz2quK4rk4KYJioAYkzjjxbk3OruriS9LX6HEVdD T5WuCDx9xIuevqGo9f+wXtu5cDW/FnQdhES9winbOncRg+zLAHG1gFTDZMZw2NmEq8R8 73J81UmIxNNLjNtuo7EAj6iId0CZPkfjBWIzL8qbesOJhRvZMS3N26xeP3cMrFYFuLfm Lnlw== X-Gm-Message-State: AOAM532Ik7o9jUefSSQ06Kt7NmVxdqxsscD69g7u5HDmeTvlwUJps121 qLO5hvbDtZEOGR5IuFO6/UFL8nynTMpEpnHnDc25HldaU34og5snqYdBNygOT4Xczd4f8Q08CPJ VlmZIEgTzzHS7WenEOYWnDKNJRdCzNX4PnXQvJfSRYw== X-Received: by 2002:adf:c38e:0:b0:1e4:a236:14bf with SMTP id p14-20020adfc38e000000b001e4a23614bfmr12033880wrf.427.1645357350859; Sun, 20 Feb 2022 03:42:30 -0800 (PST) X-Received: by 2002:adf:c38e:0:b0:1e4:a236:14bf with SMTP id p14-20020adfc38e000000b001e4a23614bfmr12033870wrf.427.1645357350618; Sun, 20 Feb 2022 03:42:30 -0800 (PST) Received: from [192.168.0.117] (xdsl-188-155-181-108.adslplus.ch. [188.155.181.108]) by smtp.gmail.com with ESMTPSA id z17sm4585962wmf.11.2022.02.20.03.42.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 20 Feb 2022 03:42:30 -0800 (PST) Message-ID: <836e3c76-0d4a-6592-5a9f-c664fb056d23@canonical.com> Date: Sun, 20 Feb 2022 12:42:29 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH v3 2/3] dt-bindings:iio:amplifiers: add ada4250 doc Content-Language: en-US To: Jonathan Cameron Cc: Antoniu Miclaus , robh+dt@kernel.org, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20220214094115.48548-1-antoniu.miclaus@analog.com> <20220214094115.48548-2-antoniu.miclaus@analog.com> <69cc2a64-c273-f2f6-b25b-73fc2248bb18@canonical.com> <20220220114816.50a57225@jic23-huawei> From: Krzysztof Kozlowski In-Reply-To: <20220220114816.50a57225@jic23-huawei> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_MED,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 20/02/2022 12:48, Jonathan Cameron wrote: > On Sun, 20 Feb 2022 11:53:55 +0100 > Krzysztof Kozlowski wrote: > >> On 14/02/2022 10:41, Antoniu Miclaus wrote: >>> Add device tree bindings for the ADA4250 driver. >> >> Please put the bindings patch as first in the series. >> >>> >>> Signed-off-by: Antoniu Miclaus >>> --- >>> .../bindings/iio/amplifiers/adi,ada4250.yaml | 48 +++++++++++++++++++ >>> 1 file changed, 48 insertions(+) >>> create mode 100644 Documentation/devicetree/bindings/iio/amplifiers/adi,ada4250.yaml >>> >>> diff --git a/Documentation/devicetree/bindings/iio/amplifiers/adi,ada4250.yaml b/Documentation/devicetree/bindings/iio/amplifiers/adi,ada4250.yaml >>> new file mode 100644 >>> index 000000000000..22283ab48903 >>> --- /dev/null >>> +++ b/Documentation/devicetree/bindings/iio/amplifiers/adi,ada4250.yaml >>> @@ -0,0 +1,48 @@ >>> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) >>> +%YAML 1.2 >>> +--- >>> +$id: http://devicetree.org/schemas/iio/amplifiers/adi,ada4250.yaml# >>> +$schema: http://devicetree.org/meta-schemas/core.yaml# >>> + >>> +title: ADA4250 Programmable Gain Instrumentation Amplifier >>> + >>> +maintainers: >>> + - Antoniu Miclaus >>> + >>> +description: | >>> + Precision Low Power, 110kHz, 26uA, Programmable Gain Instrumentation Amplifier. >>> + >>> +properties: >>> + compatible: >>> + enum: >>> + - adi,ada4250 >>> + >>> + reg: >>> + maxItems: 1 >>> + >>> + avdd-supply: true >> >> Needs a description, not a true. > > For a generic supply where all we really have is a name, I'm not sure > a description adds anything. Of course, if there is more info that can be provided > a description is great to have. Hm, OK, if the description would be "AVDD supply", then indeed does not make much sense. > >> >> As Jonathan said, you should allow spi-max-frequency (so >> spi-max-frequency: true). >> >> No io-channel-cells? > > I'm not sure you'd have a consumer of this type of device, so > it may not make sense... OK. Best regards, Krzysztof