Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp1050013pxy; Wed, 28 Apr 2021 21:28:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwPn3B0+BjJcdu2+c+XrFhpa0HXK3SlnskF9rzzfu+wobr1qU7X+pI5LQ4k7wZGul/pO3Gs X-Received: by 2002:a17:902:7c0d:b029:ed:61b5:337a with SMTP id x13-20020a1709027c0db02900ed61b5337amr10577286pll.20.1619670522084; Wed, 28 Apr 2021 21:28:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619670522; cv=none; d=google.com; s=arc-20160816; b=GqnbVsBA+HqWzuC70RiMisSf8N1WahuhIZrz4IK+FLAXjb1sgSYBP0hLbpAqj2bh/Z vFoHcZO0XsJam1LPts3yhr3jIHeGYdglcRZVFqpTI8Sc5Ij9cfJCBmJdpuydya8lSnjo vNgZ6AeAKEsU63xX89nPOA/VRR0YARx8Uo5ECwQsuDcviYXjqbKls5zq5osRYiDgPBzi NA/Xy32J/+TOfhVtCHasYyAvxvW/n6vm79K70e2sEC+HlJa9XvDXsE0921BvdewWESbH d6CeHw6NBQqdQtz9ofxHLYDf0CP7Juvnb8yqywARlNNIdZGaeiS0/i6UNQT/DOZy6xsu BGAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=I5nzXguxgy0UyecJwCHvQzOKmntYDqbVKRw6NjpSQ80=; b=v8xNG9J1cB2Y2wYgB/QlQ7IGERlOgvt/DbAar86PtM2RQrtR6danvU9fz82eWbetCb VetD+9ODNu+aPQaDbznuXJGbyhqXQ+7qeODCjZTIUlkxi3dt2/RiDHwQkiIG+t1FEiPL z9K3YHRoZtwAPiKQb8ezkJtI/yJlc4kdS5/C6fqGbgTn9UqWBRtTLcGpaQSaQz30BR1J 31XBRhNoZxzixXMUTvHJj0Q3mWxzn2Vw3nc1ZJDn0L8WiWcs3nOXM3WAevoqPrudZ2iD 8wvOKX07PHgcPmrM3OwavlkUHYnCpFz6n1NnHqp+2IGu5EL6iuFGjH2ldAhT4Xw3XE3n FGNQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e10si1916185plh.159.2021.04.28.21.28.27; Wed, 28 Apr 2021 21:28:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230103AbhD2E2f (ORCPT + 99 others); Thu, 29 Apr 2021 00:28:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48524 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231356AbhD2E2d (ORCPT ); Thu, 29 Apr 2021 00:28:33 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 87CF0C06138D for ; Wed, 28 Apr 2021 21:27:13 -0700 (PDT) Received: from pty.hi.pengutronix.de ([2001:67c:670:100:1d::c5]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lbyGU-0006mq-Fp; Thu, 29 Apr 2021 06:27:02 +0200 Received: from ore by pty.hi.pengutronix.de with local (Exim 4.89) (envelope-from ) id 1lbyGR-0007Ca-4z; Thu, 29 Apr 2021 06:26:59 +0200 Date: Thu, 29 Apr 2021 06:26:59 +0200 From: Oleksij Rempel To: Jonathan Cameron Cc: devicetree@vger.kernel.org, Lars-Peter Clausen , Peter Meerwald-Stadler , linux-iio@vger.kernel.org, Robin van der Gracht , Dmitry Torokhov , linux-kernel@vger.kernel.org, Rob Herring , Pengutronix Kernel Team , David Jander , Jonathan Cameron Subject: Re: [PATCH v6 1/3] dt-bindings:iio:adc: add generic settling-time-us and oversampling-ratio channel properties Message-ID: <20210429042659.rioipw3sqdmtmymy@pengutronix.de> References: <20210428073208.19570-1-o.rempel@pengutronix.de> <20210428073208.19570-2-o.rempel@pengutronix.de> <20210428175931.00002a7e@Huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20210428175931.00002a7e@Huawei.com> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain X-Uptime: 06:26:38 up 147 days, 18:33, 33 users, load average: 0.15, 0.06, 0.01 User-Agent: NeoMutt/20170113 (1.7.2) X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c5 X-SA-Exim-Mail-From: ore@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 28, 2021 at 05:59:31PM +0100, Jonathan Cameron wrote: > On Wed, 28 Apr 2021 09:32:06 +0200 > Oleksij Rempel wrote: > > > Settling time and over sampling is a typical challenge for different IIO ADC > > devices. So, introduce channel specific settling-time-us and oversampling-ratio > > properties to cover this use case. > > > > Signed-off-by: Oleksij Rempel > This and patch 2 both look good to me. Given Rob gave a minor comment on the > previous version I don't feel I need him to look at this again. > > Will pick up in a few days if no other reviews come in to require a v7. Ok, thank you! > Thanks, > > Jonathan > > > --- > > Documentation/devicetree/bindings/iio/adc/adc.yaml | 12 ++++++++++++ > > 1 file changed, 12 insertions(+) > > > > diff --git a/Documentation/devicetree/bindings/iio/adc/adc.yaml b/Documentation/devicetree/bindings/iio/adc/adc.yaml > > index 912a7635edc4..db348fcbb52c 100644 > > --- a/Documentation/devicetree/bindings/iio/adc/adc.yaml > > +++ b/Documentation/devicetree/bindings/iio/adc/adc.yaml > > @@ -39,4 +39,16 @@ properties: > > The first value specifies the positive input pin, the second > > specifies the negative input pin. > > > > + settling-time-us: > > + description: > > + Time between enabling the channel and first stable readings. > > + > > + oversampling-ratio: > > + $ref: /schemas/types.yaml#/definitions/uint32 > > + description: > > + Oversampling is used as replacement of or addition to the low-pass filter. > > + In some cases, the desired filtering characteristics are a function the > > + device design and can interact with other characteristics such as > > + settling time. > > + > > additionalProperties: true > > > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |