Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1166191rdb; Wed, 6 Dec 2023 10:15:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IEl+GglC38O66wyVGuXmf0FTnMMAgksyfG2XiWNq5ICpIXQQuASGIVxnrj0nIOnLGsTuuiE X-Received: by 2002:a05:6a20:3944:b0:18b:3168:d1a1 with SMTP id r4-20020a056a20394400b0018b3168d1a1mr1465659pzg.46.1701886510794; Wed, 06 Dec 2023 10:15:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701886510; cv=none; d=google.com; s=arc-20160816; b=xjmIbnn0lnatN4Zvo3A5L/UIc5fD5/vMGIyqzdq+67sFWm1NhI7Bu+hcMQf0iuD5lt Qqb4fSkuBkuxgCI03KhfcGpFIyJKFyyz0g+bvILPxar3ehR+Otu7U5oioZovzh14Bxkd /jKPo5YeH/INwrD4aa2leLESM9wUs04QZJJaxmcVmdFS9iAOjui2fJzDx6xP/sKMIyZ6 jURBFvYPtGasFR8oMlfpsnQ90VZKksIFl1EndurSU2Vv66PqNeK3RQEfnVQfLGEpIQie 7TWFXkXQoTrmAof1OKsS9WJiYehgbp6T81c2aXMERuzClFaLyi2NRyuchnNzKIMwaQf8 dI2w== 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=mxMrbbvkspueZkwcS3LVERSkdTyUmiNRocCC47i0a8E=; fh=EfRr+GWi1pz+qLhhGI6mQp9ovzPhr+vBoZr2lK10xLo=; b=bNEIMuN0y39tLzzPJpECdYisPyMrMNFtrVvPdXNshywavlsj3wjwMk7pcatkv3z55q p22sexZaz3O6r5j/DU3qbeLNe2CZhaYe1yZ3fFNb78YSvGD6uzFR02S0TxbnZzE1+wd0 pG9YRL/hgT8FNn/Mz555vK31WNlJ/DIji8glYeI8x4oMmwZNSpTJwzcBw9Z1DzPAkZab FVjWKjio9zVEYSa5qPpHFL5N0wX8V6bX1hQWW3ZpM6nb7Zmwy6JXzDxW6WtqnstrgYCE Npr5/1AAgxGISGgytI8QQhmvLf9I/hxCuWPkGENfFZ+S2JuyCdvsV1Ej92bNk3/s/Reh qvGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XiKEqaut; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id n30-20020a634d5e000000b005bdfb8a9048si276285pgl.67.2023.12.06.10.14.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Dec 2023 10:15:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XiKEqaut; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (Postfix) with ESMTP id 02596801C027; Wed, 6 Dec 2023 10:14:56 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1442758AbjLFRlB (ORCPT + 99 others); Wed, 6 Dec 2023 12:41:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42830 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231416AbjLFRkx (ORCPT ); Wed, 6 Dec 2023 12:40:53 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 76887137 for ; Wed, 6 Dec 2023 09:41:00 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6BA17C433C7; Wed, 6 Dec 2023 17:40:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701884460; bh=ha/WzCOsQe3G+coUldXRa0OE2YfkZhh+fxESdFI6heA=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=XiKEqautHbq72b4VhUNaN3Y1psiZAOIoJu8izwzTVqxMfHFSTWaXqr5NItM69xil8 02YlOLBg0kwJk73sZN2J1S43UT9rV39PbQ+VPW05ojhS1GNfcNR6zmgJqzWfsMdwIj WZbYgLsy6L3gIHh7cLChLV8RGNSJcuS9U7xfwLKi1c9kqrnKHz3AU2GpX/8aUtcrri +3ZaaMfd5aEJZggjz/joKAb0o5wkokWmesjhyWRVU5cgDSOpouma7O5qC21DPTX+KU g9CyCAWyHtk/rxAHzFX+ID4rUC3AM2gxWRbIyZQFhtWgPLKAjRA5Sb15Kkar05ssLP XABqbLzga30hA== Date: Wed, 6 Dec 2023 17:40:50 +0000 From: Jonathan Cameron To: Abdel Alkuor Cc: Conor Dooley , krzysztof.kozlowski+dt@linaro.org, robh+dt@kernel.org, lars@metafoo.de, conor+dt@kernel.org, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH v2 1/2] dt-bindings: iio: temperature: Add AMS AS6200 Message-ID: <20231206174050.12ad1c98@jic23-huawei> In-Reply-To: References: <20231202041651.719963-1-alkuor@gmail.com> <20231203-wrecking-sneer-d34f19c39f04@spud> X-Mailer: Claws Mail 4.2.0 (GTK 3.24.38; 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=-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,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.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 (lipwig.vger.email [0.0.0.0]); Wed, 06 Dec 2023 10:14:56 -0800 (PST) On Mon, 4 Dec 2023 21:19:22 -0500 Abdel Alkuor wrote: > On Sun, Dec 03, 2023 at 11:24:31AM +0000, Conor Dooley wrote: > > On Fri, Dec 01, 2023 at 11:16:50PM -0500, Abdel Alkuor wrote: > > > as6200 is high accuracy temperature sensor of -/+ 0.4C degree > > > Hi Conor, > > Is +/- 0.4 degrees really "high accuracy"? > > > That's what the datasheet says :D. I'll remove it. I'd not noticed this. Why is this an IIO driver rather than an hwmon one? Mostly we do that only for very high accuracy or weird temperature sensors (infrared ones for example or things with complex thermocouple handling). Simpler devices meant for hardware monitoring type applications typically go in hwmon. We have the iio to hwmon bridge driver for things that naturally have uses where IIO features are needed, but which get used for hwmon sometimes. Not sure this is enough IIO focused though, so perhaps list out why you think it should be in IIO? Jonathan