Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp2302824pxf; Sat, 20 Mar 2021 10:53:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzQGxJ3WhkYlISPQ34qSJ4O7NYHOC8oaccTH/UjDXmAMbBHjJgZDC9cXU3cRhgn2KTluF3N X-Received: by 2002:aa7:ca04:: with SMTP id y4mr16542575eds.339.1616262806964; Sat, 20 Mar 2021 10:53:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616262806; cv=none; d=google.com; s=arc-20160816; b=rqb1IwpwgkKn5qw0+LKsHuU18pdIU6rF7d2y+TI0am2H2xdiGeZBiQk1LezQmvkwi8 t2xb5oDQVPCedUj7LP/Ceo0q+ex0eUV9e60hKgskPMtXv296PS+7MkaaLVn71cptYNem CKR3axI3SfFfzJdsuBp4fLFJSFMf/ujYAc7tLgT1Fns+6RRtA42M+N1awakmhgrGOtGo k4TR9RtrBpMTjv5R3f7RFdUnTQ30IF8UKwfVUXjX9ZeYPzzn3pVnzHoLZPeOdvkB+vR2 CA4knT4SvxfHZbqhhD9C85C3IbAe70utmLc3GA/Wl2/hFRz4zRyPH8whdp1Q70EnVSx3 oOBg== 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=8YAdmUWrDOq4iXe4bbDaphgi12uwF0mpMZtxumpf8oc=; b=g9pXsODAiEHdocNtWDUujE6DYyG9B1NOjV4Ofs9Gti/YCmDUvZWFpe8CoE0gWHTTSt 5MWqG64P8MEamEqR+D6OLzY9OEOKWzvVRJ4nLAxeNl+iOjl3oXY4TLhuO5MA66pPv00I tqM3ihWJQQGrYAkvv8Y26K7K5luCqe6lKxe0ogyKvAJdTgLl/tgdsGsaGMb6r7PVZNOl 2Dc3gSM4e47AuU8WOLbNgNPnKp5R8AMZcEd7iXHR8gcZ4QnaIH70kaSBQwlfL6+WT02N opDAQF+4BrbZE9YrzpkgcNquykJCo6bgPC/nr1J4JEe9/pmGJdwbnwbcJVYDaL0/w9/0 OYew== 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 bn9si7055807ejb.23.2021.03.20.10.53.04; Sat, 20 Mar 2021 10:53:26 -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 S229791AbhCTRv6 (ORCPT + 99 others); Sat, 20 Mar 2021 13:51:58 -0400 Received: from mail.kernel.org ([198.145.29.99]:34794 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229618AbhCTRva (ORCPT ); Sat, 20 Mar 2021 13:51:30 -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 5F4F96192D; Sat, 20 Mar 2021 17:51:28 +0000 (UTC) Date: Sat, 20 Mar 2021 17:51:25 +0000 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 Subject: Re: [PATCH v1 1/2] dt-bindings: iio: temperature: Add DT bindings for TMP117 Message-ID: <20210320175125.3d6e5b01@jic23-huawei> In-Reply-To: <20210320064509.119878-2-puranjay12@gmail.com> References: <20210320064509.119878-1-puranjay12@gmail.com> <20210320064509.119878-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 Sat, 20 Mar 2021 12:15:08 +0530 Puranjay Mohan wrote: > Add devicetree binding document for TMP117, a digital temperature sensor. Contents looks fine, but the ordering is unusual. Vast majority of bindings I've seen have document in an order that makes sense for human readers (not alphabetical!) Use whitespace to help readability as well. Something like: > @@ -0,0 +1,27 @@ > +# 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 Avoid repeating info in the title. > + I2C interface. > + https://www.ti.com/lit/gpn/tmp1 > +maintainers: > + - "Puranjay Mohan " > +properties: > + compatible: > + enum: > + - "ti,tmp117" > + reg: > + maxItems: 1 > +required: > + - compatible > + - reg > +examples: | > + tmp117@48 { > + compatible = "ti,tmp117"; > + reg = <0x48>; > + }; > > Signed-off-by: Puranjay Mohan > --- > .../bindings/iio/temperature/ti,tmp117.yaml | 27 +++++++++++++++++++ > 1 file changed, 27 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..927660461 > --- /dev/null > +++ b/Documentation/devicetree/bindings/iio/temperature/ti,tmp117.yaml > @@ -0,0 +1,27 @@ > +# 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#" > +description: | > + TI TMP117 - Digital temperature sensor with integrated NV memory that supports > + I2C interface. > + https://www.ti.com/lit/gpn/tmp1 > +examples: | > + tmp117@48 { > + compatible = "ti,tmp117"; > + reg = <0x48>; > + }; > +maintainers: > + - "Puranjay Mohan " > +properties: > + compatible: > + enum: > + - "ti,tmp117" > + reg: > + maxItems: 1 > +required: > + - compatible > + - reg > +title: "TI TMP117 - Digital temperature sensor with integrated NV memory" > +