Merge branch 'parisc-4.10-1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / iio / light / isl29018.txt
1 * ISL 29018/29023/29035 I2C ALS, Proximity, and Infrared sensor
2
3 Required properties:
4
5   - compatible: Should be one of
6                 "isil,isl29018"
7                 "isil,isl29023"
8                 "isil,isl29035"
9   - reg: the I2C address of the device
10
11 Optional properties:
12
13   - interrupt-parent: should be the phandle for the interrupt controller
14   - interrupts: the sole interrupt generated by the device
15
16   Refer to interrupt-controller/interrupts.txt for generic interrupt client
17   node bindings.
18
19   - vcc-supply: phandle to the regulator that provides power to the sensor.
20
21 Example:
22
23 isl29018@44 {
24         compatible = "isil,isl29018";
25         reg = <0x44>;
26         interrupt-parent = <&gpio>;
27         interrupts = <TEGRA_GPIO(Z, 2) IRQ_TYPE_LEVEL_HIGH>;
28 };