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=-7.4 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_PASS 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 76BC7C43143 for ; Sat, 29 Sep 2018 11:52:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2B42F2084D for ; Sat, 29 Sep 2018 11:52:40 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="rkkIH7zi" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2B42F2084D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728085AbeI2SUs (ORCPT ); Sat, 29 Sep 2018 14:20:48 -0400 Received: from mail.kernel.org ([198.145.29.99]:47546 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727961AbeI2SUs (ORCPT ); Sat, 29 Sep 2018 14:20:48 -0400 Received: from archlinux (cpc91196-cmbg18-2-0-cust659.5-4.cable.virginm.net [81.96.234.148]) (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 8390520666; Sat, 29 Sep 2018 11:52:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1538221957; bh=d6/OPmhgcd2k+4EsQuhP+djsm3LMB48Ldmh7RnlEajw=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=rkkIH7zi3B4iO+OdJplu/OKixWhTo7gQ4268N781ZrD5YIG+GwtRHYTxpvV0bU9wl Y2w/1R6YOOpoDqeU5BFvD4Qz8/3FW7TFF9ONYK5gJVV0W+QqPM8OJ3qKvS4NRl1pKj QELvGadODDhPcBIF9NF3+olMzJnSBVwNDHCVmpcA= Date: Sat, 29 Sep 2018 12:52:31 +0100 From: Jonathan Cameron To: ryang Cc: Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , Rob Herring , Mark Rutland , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 1/2] dt-bindings: iio: light: bh1750: Add device tree binding documentation Message-ID: <20180929125231.3d210ba9@archlinux> In-Reply-To: <20180928002958.3935-1-decatf@gmail.com> References: <20180928002958.3935-1-decatf@gmail.com> X-Mailer: Claws Mail 3.17.1 (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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 27 Sep 2018 20:29:57 -0400 ryang wrote: > Document device tree bindings for ROHM BH1750 ambient light sensor driver. > > Signed-off-by: ryang As I'd already applied v3 (prematurely :() I fixed that up directly. Thanks, Jonathan > --- > Changes in v4: > - Change example node-name to light-sensor > > .../devicetree/bindings/iio/light/bh1750.txt | 18 ++++++++++++++++++ > 1 file changed, 18 insertions(+) > create mode 100644 Documentation/devicetree/bindings/iio/light/bh1750.txt > > diff --git a/Documentation/devicetree/bindings/iio/light/bh1750.txt b/Documentation/devicetree/bindings/iio/light/bh1750.txt > new file mode 100644 > index 000000000000..1e7685797d7a > --- /dev/null > +++ b/Documentation/devicetree/bindings/iio/light/bh1750.txt > @@ -0,0 +1,18 @@ > +ROHM BH1750 - ALS, Ambient light sensor > + > +Required properties: > + > +- compatible: Must be one of: > + "rohm,bh1710" > + "rohm,bh1715" > + "rohm,bh1721" > + "rohm,bh1750" > + "rohm,bh1751" > +- reg: the I2C address of the sensor > + > +Example: > + > +light-sensor@23 { > + compatible = "rohm,bh1750"; > + reg = <0x23>; > +};