Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp2920286ybh; Mon, 5 Aug 2019 09:00:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqzQGLw91E3M10wO5MsPif7+OazxTzAC1vPdPrl8iiFMtHYlnoEQzchT6uzcz4kJcDfU+yNu X-Received: by 2002:a17:90a:bc42:: with SMTP id t2mr18717056pjv.121.1565020808328; Mon, 05 Aug 2019 09:00:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565020808; cv=none; d=google.com; s=arc-20160816; b=qa7b0bA2DiZ0sBWDEvAFEio/8Isz4a/T0Oi7usRG4A1GVSLTxTGEn0pD3XzAodMdoA 7YQXqIHyixlgEjsfn1I81+yJPukxI4V2/l0fZM9gNumnrwzS9G7mR3jG64ANeLhHm2oy I6ZeUhtZjP+yJOfpc0XT/EsqWseiGwRH6OxruNC/onOMblH0WftEBf/CrgxkJQGKyL5t ko9VJoInEP0xSTezkdBrQMNRajDFCpOH2tw4hbMMSl/H+erqyt0kOBjH6Q7/IO/X5pis gp0b+T8/4hPhx8tZ0TaglawFygkUcAk/krZPyjIF0CkyFtR+oyo2tN+ltwi43s2y8rM1 Cikw== 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=fXaHZWdsZN69rQBXcbbeE0HVSEP80pJk2HhRgVjg5dM=; b=U5QjVDwF49BKi752EFUAzS/eNzchE7JSUkkeiWqAC8Lj3F2Bz0aBbyXn7VsajG84+3 B3Zc+yEkXLerHLwfP9LhiLUHfLr29vtj/rd76Xzpe8QQdKLupRSPydki5wI4W//SOfYX rQt8w/BDBa8jXJrQns7gDzH15kd1xVxp5WLcZmvw6KsjA3+5KPcUZQa0JxtJHIl2z7zQ /BnRZLxfEvsaC05okPRq3Msj6CgE3B9lk/BpHYvwHehMOYPJPeNfbvbgxj5TOGCb9toE NIyhE/W32p+g4+ysa9hGJx1hOeL/hZHkv/KG3CCG5Oaxm97sFfP60xfJLjbwjvdGRD7w lhfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=SYXV73Iu; 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 d10si41518501pla.135.2019.08.05.08.59.52; Mon, 05 Aug 2019 09:00:08 -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=SYXV73Iu; 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 S1729334AbfHEP6C (ORCPT + 99 others); Mon, 5 Aug 2019 11:58:02 -0400 Received: from mail.kernel.org ([198.145.29.99]:50526 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728829AbfHEP6C (ORCPT ); Mon, 5 Aug 2019 11:58:02 -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 145012064A; Mon, 5 Aug 2019 15:57:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565020681; bh=44qgJUZzegg1qFcAcmz2R5AwMHNsv5gye238cohSRcI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=SYXV73IuJ/sD/y/Y5vesdDWtWtxspS6jUR9Rop7Bl6Auf0NG3gkf3XHKk2AXitxg8 61QRWEoG15KVBZ2q/ciDygr5duQTmv1JRx0c/9OMxxSpiVf5wWd6i/PxAYN9LmncK1 kiP9qBNNROJ6IhQesh5sHJCRkZAiHJBzdgvaRmVs= Date: Mon, 5 Aug 2019 16:57:55 +0100 From: Jonathan Cameron To: Martyn Welch Cc: Mark Rutland , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@lists.collabora.co.uk, devicetree@vger.kernel.org, Rob Herring Subject: Re: [PATCH v4 1/2] dt-bindings: Add binding document for NOA1305 Message-ID: <20190805165755.10c0bde3@archlinux> In-Reply-To: <20190802114228.1278-1-martyn.welch@collabora.com> References: <20190802114228.1278-1-martyn.welch@collabora.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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2 Aug 2019 12:42:27 +0100 Martyn Welch wrote: > Document the ON Semiconductor NOA1305 ambient light sensor devicetree > bindings. > > Signed-off-by: Martyn Welch > Reviewed-by: Rob Herring Applied to the togreg branch of iio.git and pushed out as testing. Thanks, Jonathan > --- > > Changes: > v2: Same as v1. > v3: Same as v2. > v4: Same as v3. > > .../bindings/iio/light/noa1305.yaml | 44 +++++++++++++++++++ > 1 file changed, 44 insertions(+) > create mode 100644 Documentation/devicetree/bindings/iio/light/noa1305.yaml > > diff --git a/Documentation/devicetree/bindings/iio/light/noa1305.yaml b/Documentation/devicetree/bindings/iio/light/noa1305.yaml > new file mode 100644 > index 000000000000..17e7f140b69b > --- /dev/null > +++ b/Documentation/devicetree/bindings/iio/light/noa1305.yaml > @@ -0,0 +1,44 @@ > +# SPDX-License-Identifier: GPL-2.0 > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/iio/light/noa1305.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: ON Semiconductor NOA1305 Ambient Light Sensor > + > +maintainers: > + - Martyn Welch > + > +description: | > + Ambient sensing with an i2c interface. > + > + https://www.onsemi.com/pub/Collateral/NOA1305-D.PDF > + > +properties: > + compatible: > + enum: > + - onnn,noa1305 > + > + reg: > + maxItems: 1 > + > + vin-supply: > + description: Regulator that provides power to the sensor > + > +required: > + - compatible > + - reg > + > +examples: > + - | > + i2c { > + > + #address-cells = <1>; > + #size-cells = <0>; > + > + light@39 { > + compatible = "onnn,noa1305"; > + reg = <0x39>; > + }; > + }; > +...