forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
* MAX44009 Ambient Light Sensor
 
Required properties:
 
- compatible: should be "maxim,max44009"
- reg: the I2C address of the device (default is <0x4a>)
 
Optional properties:
 
- interrupts: interrupt mapping for GPIO IRQ. Should be configured with
  IRQ_TYPE_EDGE_FALLING.
 
Refer to interrupt-controller/interrupts.txt for generic interrupt client
node bindings.
 
Example:
 
light-sensor@4a {
   compatible = "maxim,max44009";
   reg = <0x4a>;
 
   interrupt-parent = <&gpio1>;
   interrupts = <17 IRQ_TYPE_EDGE_FALLING>;
};