summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/iio/light/isl29018.txt
blob: b9bbde3e13edcc1ffa5fba12b2217e60a4e4cca2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
* ISL 29018/29023/29035 I2C ALS, Proximity, and Infrared sensor

Required properties:

  - compatible: Should be one of
		"isil,isl29018"
		"isil,isl29023"
		"isil,isl29035"
  - reg: the I2C address of the device

Optional properties:

  - interrupts: the sole interrupt generated by the device

  Refer to interrupt-controller/interrupts.txt for generic interrupt client
  node bindings.

  - vcc-supply: phandle to the regulator that provides power to the sensor.

Example:

isl29018@44 {
	compatible = "isil,isl29018";
	reg = <0x44>;
	interrupt-parent = <&gpio>;
	interrupts = <TEGRA_GPIO(Z, 2) IRQ_TYPE_LEVEL_HIGH>;
};