Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp14730rdb; Mon, 4 Dec 2023 18:19:44 -0800 (PST) X-Google-Smtp-Source: AGHT+IHPjogNMxlF75U7TIxX25qpxwU+UUsbUWZJomqiho8dfTMvgTSklSsUXVFmrz6N9oOx7Ge/ X-Received: by 2002:a17:903:22cf:b0:1d0:a9fa:593c with SMTP id y15-20020a17090322cf00b001d0a9fa593cmr2724734plg.129.1701742784118; Mon, 04 Dec 2023 18:19:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701742784; cv=none; d=google.com; s=arc-20160816; b=xcO+lx5WUix7PGsu7B/UqEertOfNanvyW+Xqa21X1+bl/DN3I0PgrxT+BrV2om8Fxn NoBaYSgfPp29yXYaM7HEbUaiB/iBd/UX39dG1d/Gzpk9EzGbE0GC4+tS2eyi/jUfW+Nk Yo3kh66s6ja3HVhxbBEsIU+dBVhU1vm8QpBQ6YQSKC6KYdrQYaP8HqHw44/fCdY8ZiqZ CKHGlkrPK66FEYuL5Ato5wDSgUswfhs9uOOHcELTLtgKlS9rwYcxfNn4ljMcuHVpwXFl t5X8/pNU29b5c/XZxd1qiK+bLDMglkhSEKA/J/RN3dWejQksmyCHljCKJWB9HVBP5Ije 2yoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=vphQhhcDfHQB3HrvKSiie3dMqka1KtYIdFVLBfGKx+s=; fh=3WPJHAQW4KeTJXpKKqnE6O2UHw+d/iIuwcNS7sRbFMw=; b=uano5NTc78Jxmwhr8M8I4P+7IS6/9HP7GEq4OqIBMiDLjPkB2tbt0nI9kfD04uAYa7 Lu8O+rLJOi0rfsfWj13bqr6cINGAOtbypK2AYb2/uMGEKTQz5JcXFNv4db3GgPaxBJbS UjFeOQY4cakSy/EiX5ZOIgmE8O09cQh501xQ53jJwBkpVD/3hClQEaUx0wmheEjP9kv3 chkEu2T0dklEjjWwDKz+Jr/cIso86BtVGfqVK27YbHDYf8fi9kSQ2dcD/uooEzJT7qab DDmSVynZ/SVyuZckD1f/Ues+iahZxnwVc1s/aNr69W3LJUl3DtRbuqQo8dxkkH6VmNr+ +Hsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=PDcPDltk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id mh9-20020a17090b4ac900b00286bb6f1a91si2180776pjb.149.2023.12.04.18.19.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 18:19:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=PDcPDltk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id B2D28804C213; Mon, 4 Dec 2023 18:19:41 -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 S1343867AbjLECT2 (ORCPT + 99 others); Mon, 4 Dec 2023 21:19:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48084 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231860AbjLECT1 (ORCPT ); Mon, 4 Dec 2023 21:19:27 -0500 Received: from mail-ot1-x334.google.com (mail-ot1-x334.google.com [IPv6:2607:f8b0:4864:20::334]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8C1C2A0; Mon, 4 Dec 2023 18:19:33 -0800 (PST) Received: by mail-ot1-x334.google.com with SMTP id 46e09a7af769-6d875809921so2069186a34.3; Mon, 04 Dec 2023 18:19:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701742773; x=1702347573; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=vphQhhcDfHQB3HrvKSiie3dMqka1KtYIdFVLBfGKx+s=; b=PDcPDltkK3XmqtX/V+AweuAs1WKf5N9gnaTp6jv5I6q19AiCfp7Yzntj0em0SVtoQd fQwsZYyzf/7B9J1uvHLjpXK3CGIAsQEtcqW3qoeHYaSDrMYMp01IVbcWhZPMUCSm1IJr 9GRq/PEQbgnTC9uTo3Ebutg+F2gszwDi/Qw7o6ahAYlRDuLW6ydpUKDrotbyqCs95wZH cLuBgnIpJWMBnXBcTwEYOXiS6jQaDObTwgJvC1Jqi/5zRvu3QN0CMWOVjps8di+kNCEq vY6IrKLvQffauejmTSuOlZd2waFT7YSepdJFOIW4tESrMtNJtnp1l4hhtfJZIWYbBSCA EplA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701742773; x=1702347573; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=vphQhhcDfHQB3HrvKSiie3dMqka1KtYIdFVLBfGKx+s=; b=wbSz49U335EXQQtpwWBuOfoNeOJmshnPpeynR4AwW7GQZMLmOD2wX+nYJSOxTPh45z cX84KM4vYWFXeae+3CUH5yhGRNW+EalOTD38CJQDCK1B8+/4SbzF+boGXQSNKK7MNiVf DhoTWBLHTHnJ9Cy/2470XQTET8UjiPqTANSY2ucHghykVOfeDdmA/dviVXf4BG4r+L7c /cbPUaIyFHmFzDf9s7BSYAy5VE/nWrJ2L1dFQNjnSaUmTZu2taTH3GefCwYeZLsSKdDo uJMXNccRashu22cjdoCSBiRRHpNVWBy9eH0PFTWoDcLeEVgCbqnKEqgZMO/YQvdMCD5X iQ1w== X-Gm-Message-State: AOJu0YyhZkcsFky+r7ES5nHJFJKlP7j1MAkrdt1L2gsM2O5Kw4Zmx2xh 0lD0Smpj95KTNCvsOMtun8xgS1o2iDqvBw== X-Received: by 2002:a05:6830:719c:b0:6d3:132a:5350 with SMTP id el28-20020a056830719c00b006d3132a5350mr5429847otb.11.1701742772561; Mon, 04 Dec 2023 18:19:32 -0800 (PST) Received: from abdel ([174.95.13.129]) by smtp.gmail.com with ESMTPSA id p3-20020a0ce183000000b0067a4f49a13csm4758176qvl.127.2023.12.04.18.19.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 18:19:32 -0800 (PST) Date: Mon, 4 Dec 2023 21:19:22 -0500 From: Abdel Alkuor To: Conor Dooley Cc: jic23@kernel.org, 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: References: <20231202041651.719963-1-alkuor@gmail.com> <20231203-wrecking-sneer-d34f19c39f04@spud> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231203-wrecking-sneer-d34f19c39f04@spud> X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,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]); Mon, 04 Dec 2023 18:19:41 -0800 (PST) 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. > > with a range between -40C to 125C degrees > > > > Signed-off-by: Abdel Alkuor > > --- > > Changes in v2: > > - Add vdd-supply > > > > .../bindings/iio/temperature/ams,as6200.yaml | 49 +++++++++++++++++++ > > 1 file changed, 49 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/iio/temperature/ams,as6200.yaml > > > > diff --git a/Documentation/devicetree/bindings/iio/temperature/ams,as6200.yaml b/Documentation/devicetree/bindings/iio/temperature/ams,as6200.yaml > > new file mode 100644 > > index 000000000000..a1817795cdca > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/iio/temperature/ams,as6200.yaml > > @@ -0,0 +1,49 @@ > > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > > +%YAML 1.2 > > +--- > > +$id: http://devicetree.org/schemas/iio/temperature/ams,as6200.yaml# > > +$schema: http://devicetree.org/meta-schemas/core.yaml# > > + > > +title: AMS AS6200 Temperature Sensor > > + > > +maintainers: > > + - Abdel Alkuor > > + > > +description: | > > Please add the text from your commit message (although perhaps dropping > the "high accuracy" section) here. > > Otherwise, this looks okay to me. Sounds good. Will add it in v3. > > Thanks, > Conor. > Thanks, Abdel > > + https://ams.com/documents/20143/36005/AS6200_DS000449_4-00.pdf > > + > > +properties: > > + compatible: > > + const: ams,as6200 > > + > > + reg: > > + maxItems: 1 > > + > > + vdd-supply: true > > + > > + interrupts: > > + maxItems: 1 > > + > > +required: > > + - compatible > > + - reg > > + - vdd-supply > > + > > +additionalProperties: false > > + > > +examples: > > + - | > > + #include > > + i2c { > > + #address-cells = <1>; > > + #size-cells = <0>; > > + > > + temperature-sensor@48 { > > + compatible = "ams,as6200"; > > + reg = <0x48>; > > + vdd-supply = <&vdd>; > > + interrupt-parent = <&gpio1>; > > + interrupts = <17 IRQ_TYPE_EDGE_BOTH>; > > + }; > > + }; > > +... > > -- > > 2.34.1 > >