1 # SPDX-License-Identifier: GPL-2.0+
4 $id: http://devicetree.org/schemas/iio/light/veml6030.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: VEML6030 Ambient Light Sensor (ALS)
10 - Rishi Gupta <gupt21@gmail.com>
13 Bindings for the ambient light sensor veml6030 from Vishay
14 Semiconductors over an i2c interface.
16 Irrespective of whether interrupt is used or not, application
17 can get the ALS and White channel reading from IIO raw interface.
19 If the interrupts are used, application will receive an IIO event
20 whenever configured threshold is crossed.
22 Specifications about the sensor can be found at:
23 https://www.vishay.com/docs/84366/veml6030.pdf
32 I2C address of the device.
34 - 0x10 # ADDR pin pulled down
35 - 0x48 # ADDR pin pulled up
39 interrupt mapping for IRQ. Configure with IRQ_TYPE_LEVEL_LOW.
40 Refer to interrupt-controller/interrupts.txt for generic
41 interrupt client node bindings.
48 additionalProperties: false
52 #include <dt-bindings/interrupt-controller/irq.h>
59 compatible = "vishay,veml6030";
61 interrupts = <12 IRQ_TYPE_LEVEL_LOW>;