Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp1401555ybi; Fri, 2 Aug 2019 15:04:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqyAZsrHPfx3EhuVMS4/R3PFQCYB7waUHi0qioJSFZcN5Qkg41aScDQOCrKGPmMTa8rpxrSf X-Received: by 2002:a63:9d43:: with SMTP id i64mr10189275pgd.306.1564783471838; Fri, 02 Aug 2019 15:04:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564783471; cv=none; d=google.com; s=arc-20160816; b=UCO+rubauApR3oo0y1vUNTeAnkcHdrqVxMM8rWIRAN89LptqAJKKhMZVOlu8GfLyP8 A5PivqfENSYzefoTCh1PeSpBdWCkcGDzkFYvDsmqTcE5UPmGorCfbjLlqBdVvVYSJlfU UUqyFoDcopfs6qvXs256hwHA1guYnwAVbrfgL5Zn+Iu+fHIeEJafTQgxA63VzO+aTxUn bBM4I6cRWN81n0jM4q1j9gKfHXxPcUvDKE3DInu9Dt/LsWONWGSKNkQYEL1Upukd05tA 2CsixmYqKmWjZIUAc4d24hMbyZKLr5y4HHzwwmykOPiw5ikhFMnokfm/+BkqsoVmznUG rkNA== 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 :message-id:date:subject:cc:to:from; bh=Yv0gNeHIzDGgR9FckAnG2jRdGIUK2rvRZ83duA/InMY=; b=vHvICzwiR0nL1qB2TYz7WQd9lbd077lQ+eF1ByM1gL8r5DVqqA6K5VGkcuLD/RHJ4m iDaAqhMLM0jwlg/KQnTshjaeQAVujfsJChoeWRSzJZxCS0T5VAi+w0QoNa4fjQNUdJ9V zjjwogCE0nVbxIdR7VkTokDZ0bYd2ij17QmHD9HWWiIZ1A779mLGVnDfKPmKH0jszqtb b6SdPoVLLNt4qvvsEJuOqNVhG6kUrgClu0oWPXpCorPM3JSO3VLMEF3CHePOsuzQcslO hUe1yOmZbfzikNmgYx2QJ3w00ZXUMjLhN2amF/DFTzN7uUVLJFUXUdg4cwrHXfYy+Oh3 5OoQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p13si34866973plo.33.2019.08.02.15.04.15; Fri, 02 Aug 2019 15:04:31 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391789AbfHBLm4 (ORCPT + 99 others); Fri, 2 Aug 2019 07:42:56 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:49984 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732584AbfHBLm4 (ORCPT ); Fri, 2 Aug 2019 07:42:56 -0400 Received: from hades.home (unknown [IPv6:2a00:23c5:58d:db00:68bb:47d:d5ca:9abd]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: martyn) by bhuna.collabora.co.uk (Postfix) with ESMTPSA id B297228A7E7; Fri, 2 Aug 2019 12:42:54 +0100 (BST) From: Martyn Welch To: Mark Rutland , Jonathan Cameron Cc: 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, Martyn Welch , Rob Herring Subject: [PATCH v4 1/2] dt-bindings: Add binding document for NOA1305 Date: Fri, 2 Aug 2019 12:42:27 +0100 Message-Id: <20190802114228.1278-1-martyn.welch@collabora.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Document the ON Semiconductor NOA1305 ambient light sensor devicetree bindings. Signed-off-by: Martyn Welch Reviewed-by: Rob Herring --- 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>; + }; + }; +... -- 2.20.1