Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp2184756ybp; Sat, 5 Oct 2019 07:14:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqxxY2sKynqbyjBVDtPtJsNyD/xSu2BmZZUqWnzxoRXSMFVjw2OvXj39odjNVWIsS89P5wsI X-Received: by 2002:a17:906:164d:: with SMTP id n13mr16892488ejd.75.1570284882450; Sat, 05 Oct 2019 07:14:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570284882; cv=none; d=google.com; s=arc-20160816; b=xJTHNorFhS03y3ev6JpWgNRVG3nBfdRNJaqFMEHnaiKSlU3h3GHnmdGPCmLP+jQtr0 sC4kOHod1nTypm9jUCeUUNgFTjiiHoW317Hw1iIa+lalU9uuz22K6+NS3e3o8NLxYZXx NCdsKJoAmokeJ1pjbz3AkBCwcupNP38Fpi7ZU25hg3kzx9+cMKXTssKLa2rxeeOMfTdj jzwoJutkJolm8vQzikMC+Nqc1OP5fksiW2Vgg6oI0EKGHWLqhd1sUs24703U80EUfczz 05iXHpOnmU6W6A3JoYLidc0r0XHq5WJqsJmwWOdofCvPqTtk0VfjXJFLpsScR/8AunkK VRvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=N7Sek5TzG0m2Mvb83Su8cySefaULwBYU7LSgVuMVyZw=; b=b5qMISnH9BoxBgcSisuGhLYC11ePE/x/VtZOarc619MTHaluXy53RYlLmqfXx7SpyH bLy5+s/9+ij68mnKqIPOnL2mrh0+Y16oBKsD3Cb8IITc3jt1f193KaaLnjwtyC0Dyv8P IW8v/zASTQaBelJDIL7wUs9BJC9dhrBSX5enmTd0bVuoSCO1BLYlBYZwpaHJqLjtWxd6 Pbw0XNUXMlfhQqFQMsDQEfzcLi42cpvBHfcJBYKnXdCWyzsGd/WyEUv4JzzOPDgQRREc hDoGmP7g6zi6W88d+zk1n/KUphsKI7r+UCHWAD15FKcl7L7a1c3za40nSD8mGNiUV7zV d4aA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=VciFKt0g; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id 20si4533831ejv.342.2019.10.05.07.14.18; Sat, 05 Oct 2019 07:14:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=VciFKt0g; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1728006AbfJEOON (ORCPT + 99 others); Sat, 5 Oct 2019 10:14:13 -0400 Received: from mail.kernel.org ([198.145.29.99]:59400 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726269AbfJEOOM (ORCPT ); Sat, 5 Oct 2019 10:14:12 -0400 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 2F8D120862; Sat, 5 Oct 2019 14:14:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1570284851; bh=TuHflHmEutPUZp7LZpISROZKG+shrx1bA5GiMj2kLHA=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=VciFKt0glXSsiTwp/G8D2YxJNiHTtUbK3rLe3DFTDFDxBWY8NSTbcJx5JahZ3Evn/ p3NzfmXg4fJHQ4Mrp5hrnv057OZ5411sWDZ/7fyQclVbepiff0yMBxdfSMSXO2ZNOp Srg4VNhYrD0Au7or1nm4O1ewIAwPW+KWxFR6CBjY= Date: Sat, 5 Oct 2019 15:14:04 +0100 From: Jonathan Cameron To: Rishi Gupta Cc: knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, gregkh@linuxfoundation.org, tglx@linutronix.de, allison@lohutok.net, alexios.zavras@intel.com, angus@akkea.ca, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, hslester96@gmail.com, wsa+renesas@sang-engineering.com, Rob Herring , Mark Rutland , devicetree@vger.kernel.org Subject: Re: [RESEND PATCH v2 2/3] dt-bindings: iio: light: add veml6030 ALS bindings Message-ID: <20191005151404.5fc7386f@archlinux> In-Reply-To: References: 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 24 Sep 2019 16:21:57 +0530 Rishi Gupta wrote: > This commit adds device tree bindings for veml6030 ambient > light sensor. > > Signed-off-by: Rishi Gupta looks fine to me, but... DT bindings should always be sent to the DT-bindings maintainers and mailing list for review. +CC Rob, Mark and devicetree list. Jonathan > --- > Changes in v2: > * Corrected grammatical mistake from 'is' to 'are' in description of bindings > > .../devicetree/bindings/iio/light/veml6030.yaml | 62 ++++++++++++++++++++++ > 1 file changed, 62 insertions(+) > create mode 100644 Documentation/devicetree/bindings/iio/light/veml6030.yaml > > diff --git a/Documentation/devicetree/bindings/iio/light/veml6030.yaml b/Documentation/devicetree/bindings/iio/light/veml6030.yaml > new file mode 100644 > index 0000000..969b314 > --- /dev/null > +++ b/Documentation/devicetree/bindings/iio/light/veml6030.yaml > @@ -0,0 +1,62 @@ > +# SPDX-License-Identifier: GPL-2.0+ > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/iio/light/veml6030.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: VEML6030 Ambient Light Sensor (ALS) > + > +maintainers: > + - Rishi Gupta > + > +description: | > + Bindings for the ambient light sensor veml6030 from Vishay > + Semiconductors over an i2c interface. > + > + Irrespective of whether interrupt is used or not, application > + can get the ALS and White channel reading from IIO raw interface. > + > + If the interrupts are used, application will receive an IIO event > + whenever configured threshold is crossed. > + > + Specifications about the sensor can be found at: > + https://www.vishay.com/docs/84366/veml6030.pdf > + > +properties: > + compatible: > + enum: > + - vishay,veml6030 > + > + reg: > + description: > + I2C address of the device. If the ADDR pin on veml6030 > + is pulled up, this address is 0x48. If the ADDR pin is > + pulled down, this address is 0x10. > + maxItems: 1 > + > + interrupts: > + description: > + interrupt mapping for IRQ. Configure with IRQ_TYPE_LEVEL_LOW. > + Refer to interrupt-controller/interrupts.txt for generic > + interrupt client node bindings. > + maxItems: 1 > + > +required: > + - compatible > + - reg > + > +examples: > + - | > + #include > + > + i2c { > + #address-cells = <1>; > + #size-cells = <0>; > + > + light-sensor@10 { > + compatible = "vishay,veml6030"; > + reg = <0x10>; > + interrupts = <12 IRQ_TYPE_LEVEL_LOW>; > + }; > + }; > +...