Received: by 2002:a05:7412:b101:b0:e2:908c:2ebd with SMTP id az1csp2638643rdb; Wed, 15 Nov 2023 06:39:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IGvtJio8KHQvkb1biaO3nrnJEdSNlWODdRny8IYEImREZsloEigUIDqpMnzmb3Iwcul7ilF X-Received: by 2002:a05:6a20:3ca3:b0:186:7c17:62b4 with SMTP id b35-20020a056a203ca300b001867c1762b4mr8897289pzj.62.1700059157073; Wed, 15 Nov 2023 06:39:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700059157; cv=none; d=google.com; s=arc-20160816; b=CfVxBG3DBYbphCQJQPlOdJ6b9e+QrTGE1tGVSE7cbFHwdBuwpUhxqEy+WGVBs17PZi tV1AVAlRmS834UylEacwxuZH0E+r/KNk8EVS87Jwce4C18qorU0D1XysveX2U7llziYj 0dazDNouqje0go0Os35jxp9luESckQQS23dOUwqNoWseXGo0nRJZupgYFJikt7ZOzxKl vSUAcphyYfOVHqahB9ldt8hqdu+02hcO86ZWsHugMwkjZsAB4covjcozn8O+H+JejgT6 tH3/ka4HhIjo2R/Ycv97kJAqlovV78uKv5Nr8cxVQxQwlcRH176b+4ZtO9um8HoJnb9A cQEw== 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=WCv8aRMb9TnaCuw1Vy+QZg0Qwqr/eqFUI8UsSK0QnBc=; fh=VlW9vfG61LtDQ450WdjYCIQg2p2wU0ltZK3Khl4woVU=; b=vIFBCaDk3lCBHUL/fvLVidG71LGGHnDOYBfLT8SFxNaalVybo5Wzt9t/f8CqINtllI IPvW7U6TxFfLPVuiT9Ot02OYxQjf3uLUjCdmsMdqoUnchLOMPxSwsgzgo1gIcSB5bRDy JEr4Ixh6kTXbGun7w5PP5T90qQNdIhhTQt7NXE71B9HnXq138nNsGU1qKmyLuDNg3BW3 T8Xf1Qxeze3xRLKfOGXhKPhSSmWCal/QKRdo/TTpOoDebVXZYGBzglh6dazD1cHuWpY/ 34YZ2i6IpIOcD1ZI9cRuZbUwA0tvulpxbiUDf9tDoghMvrasokGHSq9omLgqx/Pd3z1Y DzGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZCHf3pqh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id g63-20020a636b42000000b005b9293dea1bsi10058580pgc.645.2023.11.15.06.39.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Nov 2023 06:39:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZCHf3pqh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (Postfix) with ESMTP id 4DCC38026AAD; Wed, 15 Nov 2023 06:39:14 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344061AbjKOOjD (ORCPT + 99 others); Wed, 15 Nov 2023 09:39:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44312 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344040AbjKOOjB (ORCPT ); Wed, 15 Nov 2023 09:39:01 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2B6E695 for ; Wed, 15 Nov 2023 06:38:58 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B14A5C433C8; Wed, 15 Nov 2023 14:38:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700059137; bh=V6YbwlGcrf2Z9pv+riw05AJ1AB+MKCO/JbUd36Barhs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ZCHf3pqhF4URY84pt75400f8LCvqCFX9rOe1/AJnXhtMQQYT0KHbR4ow9znYb58lx JmcfqiDM8oTaMGjZPmLodk6uwmKBauUUrk91Wo3fDSTpmnfUHsIoLoNgt536vSprve CBk56G0MBPrhaDxO/zt5Kaw9khOJiAENffeXtryF6cLWyb7rJamSLh4WMOjBPSM1ho cL3vzpvromKAMWA9+rR7s1VjI8fbHbxP6ZQrbFXDan8nX1C5BbSjFe7KXGgFNOlAGf tzB9NT+Hk6oNGAlM8KiXkTqqq78emc5aQjWj5to/KieCytTXdSngjnPmd0tlqNkbU+ 4MmvO85fN9CZQ== Date: Wed, 15 Nov 2023 14:38:54 +0000 From: Conor Dooley To: Anshul Dalal Cc: linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, Conor Dooley , Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , linux-kernel-mentees@lists.linuxfoundation.org, Jonathan Cameron Subject: Re: [PATCH v2 2/3] dt-bindings: trivial-devices: add aosong,ags02ma Message-ID: <20231115-stability-arrive-e0458f6f7b0f@squawk> References: <20231115125810.1394854-1-anshulusr@gmail.com> <20231115125810.1394854-2-anshulusr@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="1U46IvZoQyzS/ftn" Content-Disposition: inline In-Reply-To: <20231115125810.1394854-2-anshulusr@gmail.com> X-Spam-Status: No, score=-1.3 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 agentk.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 (agentk.vger.email [0.0.0.0]); Wed, 15 Nov 2023 06:39:14 -0800 (PST) --1U46IvZoQyzS/ftn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Nov 15, 2023 at 06:28:07PM +0530, Anshul Dalal wrote: > Add bindings for Aosong AGS02MA TVOC sensor. >=20 > The sensor communicates over i2c with the default address 0x1a. > TVOC values can be read in the units of ppb and ug/m^3 at register 0x00. >=20 > Datasheet: > https://asairsensors.com/wp-content/uploads/2021/09/AGS02MA.pdf > Product-Page: > http://www.aosong.com/m/en/products-33.html >=20 > Signed-off-by: Anshul Dalal > --- >=20 > Changes for v2: > - Removed device from trivial-devices Your $subject still says "trivial-devices" though, so please fix that in your next submission. > - Added standalone binding with vdd-supply property > --- > .../bindings/iio/chemical/aosong,ags02ma.yaml | 48 +++++++++++++++++++ > 1 file changed, 48 insertions(+) > create mode 100644 Documentation/devicetree/bindings/iio/chemical/aosong= ,ags02ma.yaml >=20 > diff --git a/Documentation/devicetree/bindings/iio/chemical/aosong,ags02m= a.yaml b/Documentation/devicetree/bindings/iio/chemical/aosong,ags02ma.yaml > new file mode 100644 > index 000000000000..4a0278c6318c > --- /dev/null > +++ b/Documentation/devicetree/bindings/iio/chemical/aosong,ags02ma.yaml > @@ -0,0 +1,48 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/iio/chemical/aosong,ags02ma.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Aosong AGS02MA VOC Sensor > + > +description: | > + AGS02MA is an TVOC (Total Volatile Organic Compounds) i2c sensor with = default > + address of 0x1a. > + > + Datasheet: > + https://asairsensors.com/wp-content/uploads/2021/09/AGS02MA.pdf > + > +maintainers: > + - Anshul Dalal > + > +properties: > + compatible: > + enum: > + - aosong,ags02ma > + - asair,ags02ma Why do you have two compatibles for the same device? Please document and use only one of these. The aoson website says: "Guangzhou ASAIR Electronic Co., Ltd" so I suspect "asair" is a more apt vendor prefix. Thanks, Conor. > + > + reg: > + maxItems: 1 > + > + vdd-supply: true > + > +required: > + - compatible > + - reg > + > +additionalProperties: false > + > +examples: > + - | > + #include > + i2c { > + #address-cells =3D <1>; > + #size-cells =3D <0>; > + > + light-sensor@1a { > + compatible =3D "aosong,ags02ma"; > + reg =3D <0x1a>; > + vdd-supply =3D <&vdd_regulator>; > + }; > + }; > --=20 > 2.42.0 >=20 --1U46IvZoQyzS/ftn Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZVTX6AAKCRB4tDGHoIJi 0p8YAP97yIsknJKuaKNoFLpkjtdd7KHr4eWGOq6p5+3kJSLLdQEArd6XtnHdgfui DfxPLrSxiaGIQHzHgjrlBCnSVV4pLAU= =f488 -----END PGP SIGNATURE----- --1U46IvZoQyzS/ftn--