From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_2 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9C015C43603 for ; Fri, 6 Dec 2019 17:14:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7161B24675 for ; Fri, 6 Dec 2019 17:14:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1575652455; bh=9JpTaDgIVyzU2wRzhv291fihCdjvrJVjxLn/vHo0e1I=; h=Date:From:To:Cc:Subject:In-Reply-To:References:List-ID:From; b=uundmJPasQ7Ld+JtRyBwmL8j4KbG2YcY0UmeENPjQ00zETmmQoU6CRJK0xF2csWWT mr2Tb3v3S1IML8X/xgsGYgkXk1HfIpevbjYgeqHi7vJtHQQecCLhfCnkQ3UFIAus7H 0LoAF8Yz+5thwC2MxZDBWgTx3j5uOtEQhDqLNc3A= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726287AbfLFROP (ORCPT ); Fri, 6 Dec 2019 12:14:15 -0500 Received: from mail.kernel.org ([198.145.29.99]:55978 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726284AbfLFROO (ORCPT ); Fri, 6 Dec 2019 12:14:14 -0500 Received: from archlinux (cpc149474-cmbg20-2-0-cust94.5-4.cable.virginm.net [82.4.196.95]) (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 3426321835; Fri, 6 Dec 2019 17:14:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1575652454; bh=9JpTaDgIVyzU2wRzhv291fihCdjvrJVjxLn/vHo0e1I=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=MXsAw+PmsM6gEdwyT9WQx0yeTvmUo6VjSnujVqfGOpmB6GZzAoqsl3NymIfrlsp6Y trIDQeen3yM4WINOVBL8KbC3rzXecveLfEIbxkTIkfTTmT1SNbyHeIVd0zAg6y6JNC FvXXAWPXSiUOLO7H+iQQW3WT3haLKoee7jkIFjzc= Date: Fri, 6 Dec 2019 17:14:09 +0000 From: Jonathan Cameron To: Eugene Zalkonnikov Cc: Hartmut Knaack , Lars-Peter Clausen , "development@norphonic.com" , "linux-iio@vger.kernel.org" Subject: Re: [PATCH v2 2/2] Driver for TI HDC20x0 humidity and temperature sensors Message-ID: <20191206171409.35f7f776@archlinux> In-Reply-To: <76F5F343-49E1-4D7D-9A7C-FB5A3C1C5862@norphonic.com> References: <1FA22019-2D01-45B2-9C6B-0F6720F1B4A2@norphonic.com> <20191201123807.41f62181@archlinux> <76F5F343-49E1-4D7D-9A7C-FB5A3C1C5862@norphonic.com> X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org On Tue, 3 Dec 2019 11:41:20 +0000 Eugene Zalkonnikov wrote: > The previous was mis-formatted, sorry for that. > > Signed-off-by: Eugene Zaikonnikov Please resend as a separate thread. It should not be in reply to the previous one or have a title that makes no sense for this patch. Otherwise looks fine to me. Thanks, Jonathan > > diff -uprN linux-5.3.8/Documentation/ABI/testing/sysfs-bus-iio-humidity-hdc2010 linux-5.3.8_docs/Documentation/ABI/testing/sysfs-bus-iio-humidity-hdc2010 > --- linux-5.3.8/Documentation/ABI/testing/sysfs-bus-iio-humidity-hdc2010 1970-01-01 01:00:00.000000000 +0100 > +++ linux-5.3.8_docs/Documentation/ABI/testing/sysfs-bus-iio-humidity-hdc2010 2019-12-02 11:09:25.803326999 +0100 > @@ -0,0 +1,9 @@ > +What: /sys/bus/iio/devices/iio:deviceX/out_current_heater_raw > +What: /sys/bus/iio/devices/iio:deviceX/out_current_heater_raw_available > +KernelVersion: 5.3.8 > +Contact: linux-iio@vger.kernel.org > +Description: > + Controls the heater device within the humidity sensor to get > + rid of excess condensation. > + > + Valid control values are 0 = OFF, and 1 = ON. > diff -uprN linux-5.3.8/Documentation/devicetree/bindings/iio/humidity/hdc2010.yaml linux-5.3.8_docs/Documentation/devicetree/bindings/iio/humidity/hdc2010.yaml > --- linux-5.3.8/Documentation/devicetree/bindings/iio/humidity/hdc2010.yaml 1970-01-01 01:00:00.000000000 +0100 > +++ linux-5.3.8_docs/Documentation/devicetree/bindings/iio/humidity/hdc2010.yaml 2019-12-02 08:43:32.508277082 +0100 > @@ -0,0 +1,43 @@ > +# SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/iio/humidity/hdc2010.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: HDC2010/HDC2080 humidity and temperature iio sensors > + > +maintainers: > + - Eugene Zaikonnikov > + > +description: | > + Relative humidity and tempereature sensors on I2C bus > + > + Datasheets are available at: > + http://www.ti.com/product/HDC2010/datasheet > + http://www.ti.com/product/HDC2080/datasheet > + > +properties: > + compatible: > + enum: > + - ti,hdc2010 > + - ti,hdc2080 > + > + interrupts: > + description: > + interrupt mapping for IRQ > + maxItems: 1 > + > +required: > + - compatible > + > +examples: > + - | > + i2c0 { > + #address-cells = <1>; > + #size-cells = <0>; > + > + hdc200x@40 { > + compatible = "ti,hdc2010"; > + reg = <0x40>; > + }; > + }; >