Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-src
Path: blob/main/sys/contrib/device-tree/Bindings/iio/light/max44009.txt
48406 views
1
* MAX44009 Ambient Light Sensor
2
3
Required properties:
4
5
- compatible: should be "maxim,max44009"
6
- reg: the I2C address of the device (default is <0x4a>)
7
8
Optional properties:
9
10
- interrupts: interrupt mapping for GPIO IRQ. Should be configured with
11
IRQ_TYPE_EDGE_FALLING.
12
13
Refer to interrupt-controller/interrupts.txt for generic interrupt client
14
node bindings.
15
16
Example:
17
18
light-sensor@4a {
19
compatible = "maxim,max44009";
20
reg = <0x4a>;
21
22
interrupt-parent = <&gpio1>;
23
interrupts = <17 IRQ_TYPE_EDGE_FALLING>;
24
};
25
26