From mboxrd@z Thu Jan 1 00:00:00 1970 From: Borys Movchan 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> Mime-Version: 1.0 Content-Type: text/plain Return-path: Sender: linux-kernel-owner@vger.kernel.org To: linux-iio@vger.kernel.org, devicetree@vger.kernel.org Cc: Borys Movchan Borys Movchan , Jonathan Cameron , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , Rob Herring , Mark Rutland , linux-kernel@vger.kernel.org List-Id: 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>; + }; + -- 2.11.0