From patchwork Wed Jun 13 14:00:15 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Borys Movchan X-Patchwork-Id: 10462285 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 12CA4603B4 for ; Wed, 13 Jun 2018 14:02:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F249228975 for ; Wed, 13 Jun 2018 14:02:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B092B28CA9; Wed, 13 Jun 2018 14:02:09 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9EE8B28D8C for ; Wed, 13 Jun 2018 14:01:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935704AbeFMOBK (ORCPT ); Wed, 13 Jun 2018 10:01:10 -0400 Received: from bastet.se.axis.com ([195.60.68.11]:50405 "EHLO bastet.se.axis.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934436AbeFMOBJ (ORCPT ); Wed, 13 Jun 2018 10:01:09 -0400 Received: from localhost (localhost [127.0.0.1]) by bastet.se.axis.com (Postfix) with ESMTP id 751D918990; Wed, 13 Jun 2018 16:01:07 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at bastet.se.axis.com Received: from bastet.se.axis.com ([IPv6:::ffff:127.0.0.1]) by localhost (bastet.se.axis.com [::ffff:127.0.0.1]) (amavisd-new, port 10024) with LMTP id xf_l6aVyPICG; Wed, 13 Jun 2018 16:01:02 +0200 (CEST) Received: from boulder03.se.axis.com (boulder03.se.axis.com [10.0.8.17]) by bastet.se.axis.com (Postfix) with ESMTPS id 718A2185C3; Wed, 13 Jun 2018 16:01:01 +0200 (CEST) Received: from boulder03.se.axis.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 5349F1E076; Wed, 13 Jun 2018 16:01:01 +0200 (CEST) Received: from boulder03.se.axis.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 46AA11E070; Wed, 13 Jun 2018 16:01:01 +0200 (CEST) Received: from seth.se.axis.com (unknown [10.0.2.172]) by boulder03.se.axis.com (Postfix) with ESMTP; Wed, 13 Jun 2018 16:01:01 +0200 (CEST) Received: from XBOX03.axis.com (xbox03.axis.com [10.0.5.17]) by seth.se.axis.com (Postfix) with ESMTP id 3994C56A; Wed, 13 Jun 2018 16:01:01 +0200 (CEST) Received: from lnxborysmn.se.axis.com (10.0.5.60) by XBOX03.axis.com (10.0.5.17) with Microsoft SMTP Server (TLS) id 15.0.1365.1; Wed, 13 Jun 2018 16:01:00 +0200 From: Borys Movchan To: , CC: Borys Movchan , Borys Movchan , Jonathan Cameron , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , Rob Herring , Mark Rutland , Subject: [PATCH v4 1/2] dt-bindings: iio: light: add ISL29033 device bindings Date: Wed, 13 Jun 2018 16:00:15 +0200 Message-ID: <20180613140043.5802-1-borys.movchan@axis.com> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 X-Originating-IP: [10.0.5.60] X-ClientProxiedBy: XBOX03.axis.com (10.0.5.17) To XBOX03.axis.com (10.0.5.17) X-TM-AS-GCONF: 00 Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Borys Movchan Signed-off-by: Borys Movchan --- .../devicetree/bindings/iio/light/isl29033.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/light/isl29033.txt diff --git a/Documentation/devicetree/bindings/iio/light/isl29033.txt b/Documentation/devicetree/bindings/iio/light/isl29033.txt new file mode 100644 index 000000000000..988e40acc6ed --- /dev/null +++ b/Documentation/devicetree/bindings/iio/light/isl29033.txt @@ -0,0 +1,18 @@ +Intersil ISL29033 Ultra-Low Lux, Low Power, Integrated Digital Ambient Light Sensor + +Required properties: + - compatible : Must be "isil,isl29033". + - reg: the I2C address of the device + +Optional properties: + - isil,rext-kohms: External resistor nominal in kOhms used for ADC + reference. If not specified, 499 kOhm value will be used. + +Example: + + als_sensor@44 { + compatible = "isil,isl29033"; + reg = <0x44>; + isil,rext-kohms = <1000>; + }; +