summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/staging/iio/light/cm3217-als.txt
blob: 2694b20bc1db28325b7ad86a9906ec7bad9d2d20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
* Capella CM3217 ambient light sensor

Required properties:
- compatible: must be "capella,cm3217"
- reg: i2c address of the device. It should be 0x10.
- vdd-supply: regulator supply for the chip

Optional propertied:
- illuminance,integration-time: minimum sampling period in nano seconds.
  default: ""480000""
- illuminance,max-range: maximum range of this sensor's value in SI units.
  default: "78643.2"
- illuminance,resolution: conversion factor from sensor raw units to lux.
  default: "307"
- illuminance,power-consumed: rough estimate of this sensor's power consumption in mA.
  default: "1670"

Example:
	cm3217@10 {
		compatible = "capella,cm3217";
		reg = <0x10>;
		vdd-supply = <&palmas_smps9>;
		illuminance,integration-time = "480000";
		illuminance,max-range = "78643.2";
		illuminance,resolution = "7675";
		illuminance,power-consumed = "1670"; /* milli Watt */
	};