xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/iio/light/max44009.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun* MAX44009 Ambient Light Sensor
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun
5*4882a593Smuzhiyun- compatible: should be "maxim,max44009"
6*4882a593Smuzhiyun- reg: the I2C address of the device (default is <0x4a>)
7*4882a593Smuzhiyun
8*4882a593SmuzhiyunOptional properties:
9*4882a593Smuzhiyun
10*4882a593Smuzhiyun- interrupts: interrupt mapping for GPIO IRQ. Should be configured with
11*4882a593Smuzhiyun  IRQ_TYPE_EDGE_FALLING.
12*4882a593Smuzhiyun
13*4882a593SmuzhiyunRefer to interrupt-controller/interrupts.txt for generic interrupt client
14*4882a593Smuzhiyunnode bindings.
15*4882a593Smuzhiyun
16*4882a593SmuzhiyunExample:
17*4882a593Smuzhiyun
18*4882a593Smuzhiyunlight-sensor@4a {
19*4882a593Smuzhiyun	compatible = "maxim,max44009";
20*4882a593Smuzhiyun	reg = <0x4a>;
21*4882a593Smuzhiyun
22*4882a593Smuzhiyun	interrupt-parent = <&gpio1>;
23*4882a593Smuzhiyun	interrupts = <17 IRQ_TYPE_EDGE_FALLING>;
24*4882a593Smuzhiyun};
25