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: 928895 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=axis.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 415T1h1F8Pz9s4Y for ; Thu, 14 Jun 2018 00:01:12 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935348AbeFMOBK (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: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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>; + }; +