xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/iio/light/apds9300.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun* Avago APDS9300 ambient light sensor
2*4882a593Smuzhiyun
3*4882a593Smuzhiyunhttps://www.avagotech.com/docs/AV02-1077EN
4*4882a593Smuzhiyun
5*4882a593SmuzhiyunRequired properties:
6*4882a593Smuzhiyun
7*4882a593Smuzhiyun  - compatible : should be "avago,apds9300"
8*4882a593Smuzhiyun  - reg : the I2C address of the sensor
9*4882a593Smuzhiyun
10*4882a593SmuzhiyunOptional properties:
11*4882a593Smuzhiyun
12*4882a593Smuzhiyun  - interrupts : interrupt mapping for GPIO IRQ
13*4882a593Smuzhiyun
14*4882a593SmuzhiyunExample:
15*4882a593Smuzhiyun
16*4882a593Smuzhiyunapds9300@39 {
17*4882a593Smuzhiyun	compatible = "avago,apds9300";
18*4882a593Smuzhiyun	reg = <0x39>;
19*4882a593Smuzhiyun	interrupt-parent = <&gpio2>;
20*4882a593Smuzhiyun	interrupts = <29 8>;
21*4882a593Smuzhiyun};
22