Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp5420187rwi; Sun, 23 Oct 2022 05:56:57 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7sOGVbwTNRBfZVc6OlJ5+U+f4Awrqz4HZTVe4he+ZCG87FrkRenVr/qV0YNjlko+c0U8Ki X-Received: by 2002:aa7:c504:0:b0:461:122b:882b with SMTP id o4-20020aa7c504000000b00461122b882bmr15090659edq.14.1666529817005; Sun, 23 Oct 2022 05:56:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666529816; cv=none; d=google.com; s=arc-20160816; b=qnFXnmYTvouSpW3yERtfFFvM8TcVwzm3yHDxZQPnuINqXxvgDFM4vzoD5jYNdk3gOe 9YVGwPKKPu/isEK5DzP761BCAngLnt1Zj2icQ3sGuLa/jYwwjPDwa5HzbvQJ7GBQVUIm 1DNEkJgytum7it5ut7N7D7EGGiauf9oZT7F2dADw021vuDIVxYUzlBXwdgx6JXBFSdjb nDZba1ZJmUg8NAv5Bb+LgyzVl5hWg6RJSIHKPtEWNfBfrh/RPABWUy0+tQLk9JXxW5wh jdM7CtXhGe0Wgtpt7OZYc42q26YKlo0D1H06qEgWJLp1QouvBdw3PQSIv+Kvbn7F258W dF5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=FpytvNaGH0ZklEA29P3tARO8w3dsAazzYugBONGy+OU=; b=FaL0D+If3uk/wtQ61YHy8mKDXOjfcG5hnvSqxBeXPUsFRE7SuJ025M4eiE09UuAtF+ jLFqgNwtVCgReIMsO30q7z1TU+MzQwecjSgUkX1rK7bRhzJNy8S515BzxroAv+TrwZ+G 6uaoOY8XuMKn+ywcpr+p+N7UlJV2HVcDH92bgXcCU28+ksmZ5+xj0wAHlDeARUI0GRYJ jRPCzGEcljScZ30fBJ6aPHJ7UhLvQ7DxBtd6OgMBjpxQ3QvxObs1/3gS69zIT4AuVO9e VhdtbhwhrRA1PTNJJDT7x7ZtpRJmYI7uLGsbRwh8KETIygLlIqFT6UrzCDgsV28Oi2qC bFew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rTCHEHXE; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m3-20020a1709061ec300b0078c25fb3842si23964285ejj.370.2022.10.23.05.56.31; Sun, 23 Oct 2022 05:56:56 -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=@kernel.org header.s=k20201202 header.b=rTCHEHXE; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230315AbiJWMu4 (ORCPT + 99 others); Sun, 23 Oct 2022 08:50:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51646 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230297AbiJWMuy (ORCPT ); Sun, 23 Oct 2022 08:50:54 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 51BC96113B; Sun, 23 Oct 2022 05:50:52 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 04F09B80D90; Sun, 23 Oct 2022 12:50:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 22EA8C433D6; Sun, 23 Oct 2022 12:50:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1666529449; bh=0V4LYT13xnR1I06Gp/9Rn+rpUpGXEOBQ8/KSUy7AvXA=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=rTCHEHXEDRX2V2EmkUnUxCl+y7Z7f1uxCLxuriRiJMJBRnsHs6bl7NY9nDGPn1ZUp pmQIuvWZhX3Q/X1Wkm3Kn5dHwJQXfks0s/r3NPuxIZaVYeXKQPQBdCOtK+hiafIING SHsd9zBTwJg0vWCkJUbgmoegoifCWDia9DzHZblABigqYo6GY99x5+pL/+Nmnb8xpg mGXox15Z9+aT3fZH2mJKO3VlevcvSiLgwg6WsrlFILKZWLxhNIeJi75587ZrqFucSW 6kb+jb0/ddHT2id2tt8bHzCd0dqwI9H5sXr+IafeI2Xzfo88aGahBoSDY0aOdycfdP Ju5vm9vYzoY7w== Date: Sun, 23 Oct 2022 13:51:24 +0100 From: Jonathan Cameron To: Cosmin Tanislav Cc: Nuno =?UTF-8?B?U8Oh?= , Lars-Peter Clausen , Michael Hennerich , Rob Herring , Krzysztof Kozlowski , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Cosmin Tanislav Subject: Re: [PATCH v2 3/5] dt-bindings: iio: temperature: ltc2983: refine Message-ID: <20221023135124.1fdeab5e@jic23-huawei> In-Reply-To: <20221020090257.1717053-4-demonsingur@gmail.com> References: <20221020090257.1717053-1-demonsingur@gmail.com> <20221020090257.1717053-4-demonsingur@gmail.com> X-Mailer: Claws Mail 4.1.0 (GTK 3.24.34; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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, 20 Oct 2022 12:02:55 +0300 Cosmin Tanislav wrote: > From: Cosmin Tanislav > > * make sure addresses are represented as hex > * add note about wrong unit value for adi,mux-delay-config-us > * simplify descriptions > * add descriptions for the items of custom sensor tables > * add default property values where applicable > * use conditionals to extend minimum reg value > for single ended sensors > * remove " around phandle schema $ref > * remove label from example and use generic temperature > sensor name > > Signed-off-by: Cosmin Tanislav Hi Cosmin, Just one question inline from me (other than the build bot report that I'll assume you'll fix for v3). Otherwise looks like a nice cleanup to me. I wonder a bit on whether it is worth splitting up, but that would be rather messy to actually do so will leave that to the dt experts to comment on. Jonathan > --- > .../bindings/iio/temperature/adi,ltc2983.yaml | 309 +++++++++++------- > 1 file changed, 182 insertions(+), 127 deletions(-) > > diff --git a/Documentation/devicetree/bindings/iio/temperature/adi,ltc2983.yaml b/Documentation/devicetree/bindings/iio/temperature/adi,ltc2983.yaml > index 722781aa4697..3e97ec841fd6 100644 > --- a/Documentation/devicetree/bindings/iio/temperature/adi,ltc2983.yaml > +++ b/Documentation/devicetree/bindings/iio/temperature/adi,ltc2983.yaml > @@ -26,25 +26,25 @@ properties: > > adi,mux-delay-config-us: > description: > - The LTC2983 performs 2 or 3 internal conversion cycles per temperature > - result. Each conversion cycle is performed with different excitation and > - input multiplexer configurations. Prior to each conversion, these > - excitation circuits and input switch configurations are changed and an > - internal 1ms delay ensures settling prior to the conversion cycle in most > - cases. An extra delay can be configured using this property. The value is > - rounded to nearest 100us. > + Extra delay prior to each conversion, in addition to the internal 1ms > + delay, for the multiplexer to switch input configurations and > + excitation values. > + > + This property is supposed to be in microseconds, but to maintain > + compatibility, this value will be multiplied by 100 before usage. This new text has me a little confused. Previously we talked rounding, now it is saying the value is multiplied (which would make it definitely not in micro secs!).. So are we papering over a driver bug here?