Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp2117253rdb; Sun, 3 Dec 2023 03:24:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IFJBrKjW6dwNYmKs3ad4Y/RfApVPHVY8MfMEGsNvF35KVN5dxa22ihzlapQYWK8xJc0fxhi X-Received: by 2002:a92:d907:0:b0:35d:6220:ac8b with SMTP id s7-20020a92d907000000b0035d6220ac8bmr2604241iln.58.1701602689807; Sun, 03 Dec 2023 03:24:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701602689; cv=none; d=google.com; s=arc-20160816; b=pI01lFcsjnQCTxx8LLMun40nPlbzV9TDl2zJUZp0Q471JPvNbEdyX1FMM2EEcXlROL YLbvYE2fNJ594lJbCkTPMW1Qe/Cv/1IXoMy2ZdU69k1OrruC6k4fmLBO7WBbmL2d7b8x kfWyaT/w/zxJvdAAE5ZSUysCm1zs7lGHBt40kClhUn+VL9QcIc+ZqC2MuMT/vKqBsfUK xGYRs3+BOrqDwXIV+FtNuuXb60bex578VZoCaoLjMArCM5LglHKGjrnQQ9z/MXmFlu9M HNasx+Q2Jf7gycUcgq0UHwteyaMOxT/nDA10UxQc7EYGylhF9IcNG3kLdSJ297tLJg8N NhGQ== 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=uTAp1fkKinAwwuxcyzznhn73wR0TQkF0nv5vYH/4kxo=; fh=KuyV4Cqk7Sp4GxDTrJUtPZ+qxuw0gzSphRbNkLd8wNk=; b=B0uoMk2LRhS9upQe7bjazqbfC09jYywvyv8NTFP1XxOL/wdZ/m6Q5823UIPgug8opy H8fIcw2XAzq2/HGSTzdBd8ya4JjizVslcoYP/Oc2aPLdbmPySGr66dZtiQusrinm2W5J mDWd1lQomANvO6cm/ZckmDhG6fnxhzsQfoSSSR9TROLPWyQ3Teuc8YoFFOn/00N1KiGx ZAHI2f96GXjiPo+J6SmZGRP22sboDYz8B9N0QKeGS2H5RVgMq4pFOnzaVueUTdRqIqA/ klt3oGXCbLCqqjN0nF4FfJrbx4nGOr73JHjMWKMaEqDAPiKfGsKUuRDVlV47jIEC6L0z WF9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Os2huNSn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id a8-20020a17090a854800b0027769032e57si843519pjw.52.2023.12.03.03.24.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Dec 2023 03:24:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Os2huNSn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (Postfix) with ESMTP id C780F8089E5F; Sun, 3 Dec 2023 03:24:45 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229995AbjLCLYa (ORCPT + 99 others); Sun, 3 Dec 2023 06:24:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55488 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229450AbjLCLYa (ORCPT ); Sun, 3 Dec 2023 06:24:30 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5DBA0C1 for ; Sun, 3 Dec 2023 03:24:36 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 08CD3C433C7; Sun, 3 Dec 2023 11:24:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701602675; bh=+hli562zk5dYtpGn2rXW8IygBpXXsf4LYyXt8bwX9bU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Os2huNSnaTDA7CdOUExN3Wa+xKx51n8bWFYxm8eA4gj0wytV/c0WPB6H57qGpiunV IGIL+3iWZwS+iFfByNCZ2BYUvdkh1/ULbjDpL2+Y+IjfZbM9EGEAyxvTHxH7A2fwxB Dtxue4iTcEw0BB1IUhPoVFJTq79bOKdAqANc5sul1Qlqt9hvpoqlrYOEElotWE60n/ SBdJMGQRnkJF2fqJFpLq/1PGaSeDpBoEO86kaIOPMTZk/MJB0lwrcPntivqrAGrbMh 4Xm/wLJVsmnxT6Cf3sxoZoi2XNZKfaR6tivXRGiidDicxnibhZIH/tmi0W3h39GIH6 YHJ2SlnFznMLQ== Date: Sun, 3 Dec 2023 11:24:31 +0000 From: Conor Dooley To: Abdel Alkuor 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: <20231203-wrecking-sneer-d34f19c39f04@spud> References: <20231202041651.719963-1-alkuor@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="VO1eO5mEsXF2CF0y" Content-Disposition: inline In-Reply-To: <20231202041651.719963-1-alkuor@gmail.com> 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 groat.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 (groat.vger.email [0.0.0.0]); Sun, 03 Dec 2023 03:24:45 -0800 (PST) --VO1eO5mEsXF2CF0y Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Dec 01, 2023 at 11:16:50PM -0500, Abdel Alkuor wrote: > as6200 is high accuracy temperature sensor of -/+ 0.4C degree Is +/- 0.4 degrees really "high accuracy"? > with a range between -40C to 125C degrees >=20 > Signed-off-by: Abdel Alkuor > --- > Changes in v2: > - Add vdd-supply >=20 > .../bindings/iio/temperature/ams,as6200.yaml | 49 +++++++++++++++++++ > 1 file changed, 49 insertions(+) > create mode 100644 Documentation/devicetree/bindings/iio/temperature/ams= ,as6200.yaml >=20 > diff --git a/Documentation/devicetree/bindings/iio/temperature/ams,as6200= =2Eyaml 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. Thanks, Conor. > + 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 =3D <1>; > + #size-cells =3D <0>; > + > + temperature-sensor@48 { > + compatible =3D "ams,as6200"; > + reg =3D <0x48>; > + vdd-supply =3D <&vdd>; > + interrupt-parent =3D <&gpio1>; > + interrupts =3D <17 IRQ_TYPE_EDGE_BOTH>; > + }; > + }; > +... > --=20 > 2.34.1 >=20 --VO1eO5mEsXF2CF0y Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZWxlbwAKCRB4tDGHoIJi 0vpyAQCfmd+i6NPXT2jdvO2gdFD/qBee+EWn0M4wbPRYUWeBFwEAiu4RIcctDI90 G7b23mXguq1l0mFtK5hAdkZjABenWAU= =0u24 -----END PGP SIGNATURE----- --VO1eO5mEsXF2CF0y--