summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/input/capella-cm3217.txt
blob: d67f9ba820d22f943f284a9e533d9a9aeb9c1269 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
* Capella CM3217 light sensor

Required properties:
- compatible: "capella,cm3217"
- reg : the I2C address of CM3217
- levels : threshold ADC value array for each illuminance levels
- golden_adc : golden ADC value. if adc raw value on step = 0.3 lux, set this to 3.

Example:

cm3217@10 {
	compatible = "capella,cm3217";
	reg = <0x10>;
	levels = <10 160 225 320 640 1280 2600 5800 8000 10240>;
	golden_adc = <3>;
};