diff options
author | Manivannan Sadhasivam <manivannanece23@gmail.com> | 2017-03-19 15:53:12 +0100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2017-03-25 17:20:46 +0100 |
commit | 5e7f47e495ad3657e1a7264bf20fb363607161e6 (patch) | |
tree | 7282a9ab1714040a3a0250647099ae070e1db8d9 /Documentation/devicetree/bindings/iio | |
parent | staging: iio: Remove extra Parenthesis. (diff) | |
download | linux-5e7f47e495ad3657e1a7264bf20fb363607161e6.tar.xz linux-5e7f47e495ad3657e1a7264bf20fb363607161e6.zip |
iio:light: Add support for STMicro VL6180 sensor
This patch adds support for STMicro VL6180 - ALS, range and proximity sensor. Sensor is capable of measuring the light
intensity as well as object distance using TOF (Time of Flight) technology.
Signed-off-by: Manivannan Sadhasivam <manivannanece23@gmail.com>
Signed-off-by: Peter Meerwald-Stadler <pmeerw@pmeerw.net>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/iio')
-rw-r--r-- | Documentation/devicetree/bindings/iio/light/vl6180.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/iio/light/vl6180.txt b/Documentation/devicetree/bindings/iio/light/vl6180.txt new file mode 100644 index 000000000000..2c52952715a0 --- /dev/null +++ b/Documentation/devicetree/bindings/iio/light/vl6180.txt @@ -0,0 +1,15 @@ +STMicro VL6180 - ALS, range and proximity sensor + +Link to datasheet: http://www.st.com/resource/en/datasheet/vl6180x.pdf + +Required properties: + + -compatible: should be "st,vl6180" + -reg: the I2C address of the sensor + +Example: + +vl6180@29 { + compatible = "st,vl6180"; + reg = <0x29>; +}; |