summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/iio
diff options
context:
space:
mode:
authorManivannan Sadhasivam <manivannanece23@gmail.com>2017-03-19 20:23:12 +0530
committerJonathan Cameron <jic23@kernel.org>2017-03-25 16:20:46 +0000
commit5e7f47e495ad3657e1a7264bf20fb363607161e6 (patch)
tree7282a9ab1714040a3a0250647099ae070e1db8d9 /Documentation/devicetree/bindings/iio
parente29e7b3236672d25d693c23dcf6bc9f1afc25088 (diff)
downloadtalos-op-linux-5e7f47e495ad3657e1a7264bf20fb363607161e6.tar.gz
talos-op-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.txt15
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>;
+};
OpenPOWER on IntegriCloud