Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp721856pxf; Thu, 1 Apr 2021 11:47:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyYpx1KqXJI8uhB+biyLIEHAUBktAXn6ZhFo9L6VwhW8/ubtXKTYBEIO6s1SvslAWxsDmAI X-Received: by 2002:aa7:d296:: with SMTP id w22mr12050359edq.150.1617302836433; Thu, 01 Apr 2021 11:47:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617302836; cv=none; d=google.com; s=arc-20160816; b=oERJe0/F19fheblXTfhgwCQSeFZWOvA80TiTjsfme2UlrurxuyaIIlKZrgCV12vkwa MdnM2g/41mrRZ/VdOewQk8XT4ouzssovCSArNPpjzirgEK6sxTbtpMpyEvv35R+Mm5Wn OnA0hmoLMuwiWeHf+GSkSQzSOqZrh847/iE0TnxWN8dOC+s3+892MjpRrYWcbnUikjS1 XxOECOCBvSrhbzhg2xZl7aQ4hfW+w2HtkJtTg/XgODYeIAQA+kfLRkSfts/3NjTwjNuG ZkJrgZHGTA9OhmUaxixlIM6037bz4GMqhQykAVfAm9h5rudMHuXsgB3A1uoklv8ZUPyE kkRw== 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; bh=5D2r2XorzrqQ2y/MLaKmxdgOdUDAk5zhO/u8lipD//E=; b=fChpSCLIXdaZpnj+Cmm/pXYOVo1649xJGO38YysAnUUe1iQg/LfItxgEDc2cPYH8GG cQOWI1CaLv321bCBDIkmKEkdDTwChR17Cr4DxsTlXvB41jg7rym7VNI9t/wkHkisPfvZ pvz6KHPb5XPshrf+bvfOI/mpBqXOi0RNlKTOnp/UIWYvC84V5fk+oH8rEBXNlFTaqQ75 vckloIBQguFMdYQelPz7x6JP8IVqyoI6+nxGD9T7lmb30sjo9r1OtNpeBKn+yyPiomSs FCxvXY2YQ0J1ms9DsMFnbI3AnzbIAsG+ME94eT1Sq6LNJyhZNsawO8huQbEgF/g+7mY/ WUkA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 8si5391423ejx.637.2021.04.01.11.46.53; Thu, 01 Apr 2021 11:47:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S240664AbhDASla (ORCPT + 99 others); Thu, 1 Apr 2021 14:41:30 -0400 Received: from mail.kernel.org ([198.145.29.99]:45704 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237026AbhDASSq (ORCPT ); Thu, 1 Apr 2021 14:18:46 -0400 Received: from jic23-huawei (cpc108967-cmbg20-2-0-cust86.5-4.cable.virginm.net [81.101.6.87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id AEE366136A; Thu, 1 Apr 2021 15:12:55 +0000 (UTC) Date: Thu, 1 Apr 2021 16:13:04 +0100 From: Jonathan Cameron To: Puranjay Mohan Cc: alexandru.ardelean@analog.com, devicetree@vger.kernel.org, knaack.h@gmx.de, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, lars@metafoo.de Subject: Re: [PATCH v2 1/2] dt-bindings: iio: temperature: Add DT bindings for TMP117 Message-ID: <20210401161304.70c61fe6@jic23-huawei> In-Reply-To: <20210401091648.87421-2-puranjay12@gmail.com> References: <20210401091648.87421-1-puranjay12@gmail.com> <20210401091648.87421-2-puranjay12@gmail.com> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 1 Apr 2021 14:46:47 +0530 Puranjay Mohan wrote: > Add devicetree binding document for TMP117, a digital temperature sensor. > > Signed-off-by: Puranjay Mohan > --- > .../bindings/iio/temperature/ti,tmp117.yaml | 34 +++++++++++++++++++ > 1 file changed, 34 insertions(+) > create mode 100644 Documentation/devicetree/bindings/iio/temperature/ti,tmp117.yaml > > diff --git a/Documentation/devicetree/bindings/iio/temperature/ti,tmp117.yaml b/Documentation/devicetree/bindings/iio/temperature/ti,tmp117.yaml > new file mode 100644 > index 000000000..1ead22317 > --- /dev/null > +++ b/Documentation/devicetree/bindings/iio/temperature/ti,tmp117.yaml > @@ -0,0 +1,34 @@ > +# SPDX-License-Identifier: GPL-2.0 > +%YAML 1.2 > +--- > +$id: "http://devicetree.org/schemas/iio/temperature/ti,tmp117.yaml#" > +$schema: "http://devicetree.org/meta-schemas/core.yaml#" > + > +title: "TI TMP117 - Digital temperature sensor with integrated NV memory" > + > +description: | > + TI TMP117 - Digital temperature sensor with integrated NV memory that supports > + I2C interface. > + https://www.ti.com/lit/gpn/tmp1 > + > +maintainers: > + - "Puranjay Mohan " > + > +properties: > + compatible: > + enum: > + - "ti,tmp117" > + reg: > + maxItems: 1 > +required: > + - compatible > + - reg > + > +additionalProperties: false > + > +examples: > + - | > + tmp117@48 { > + compatible = "ti,tmp117"; > + reg = <0x48>; > + }; For the example embed it in an appropriate i2c description e.g. i2c { #address-cells = <1>; #size-cells = <0>; tmp117@48 { compatible = "ti,tmp117"; reg = <0x48>; }; };