aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/iio/light
diff options
context:
space:
mode:
authorParthiban Nallathambi <pn@denx.de>2018-11-07 18:08:21 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2018-11-16 18:32:29 +0000
commit74a257a0b5f0118b183a3be4b35530a30e30de48 (patch)
tree7d1ed0a7af9e2772123faced4b625323978058b4 /Documentation/devicetree/bindings/iio/light
parentiio: light: Add support for vishay vcnl4035 (diff)
downloadlinux-dev-74a257a0b5f0118b183a3be4b35530a30e30de48.tar.xz
linux-dev-74a257a0b5f0118b183a3be4b35530a30e30de48.zip
iio: light: Add device tree binding for vishay vcnl4035
Adding device tree binding for vcnl4035 and vendor prefix for Vishay Intertechnology Signed-off-by: Parthiban Nallathambi <pn@denx.de> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'Documentation/devicetree/bindings/iio/light')
-rw-r--r--Documentation/devicetree/bindings/iio/light/vcnl4035.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/iio/light/vcnl4035.txt b/Documentation/devicetree/bindings/iio/light/vcnl4035.txt
new file mode 100644
index 000000000000..c07c7f052556
--- /dev/null
+++ b/Documentation/devicetree/bindings/iio/light/vcnl4035.txt
@@ -0,0 +1,18 @@
+VISHAY VCNL4035 - Ambient Light and proximity sensor
+
+Link to datasheet: https://www.vishay.com/docs/84251/vcnl4035x01.pdf
+
+Required properties:
+
+ -compatible: should be "vishay,vcnl4035"
+ -reg: I2C address of the sensor, should be 0x60
+ -interrupts: interrupt mapping for GPIO IRQ (level active low)
+
+Example:
+
+light-sensor@60 {
+ compatible = "vishay,vcnl4035";
+ reg = <0x60>;
+ interrupt-parent = <&gpio4>;
+ interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
+};