max440094
Driver for max44009 ambient light sensor
Usage
To compile this driver into the kernel, place the following lines in your kernel configuration file:
device max44009 device iicbus
Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5):
max44009_load="YES"
Overview
The max44009 driver reports illuminance data from MAX44009 Ambient Light Sensor.
The max44009 driver reports data via sysctl(8) entry in the device's node in the sysctl(8) tree:
- illuminance
-
The illuminance, in lux units.
On an FDT(4) based system the following properties must be set:
- compatible
-
Must be set to "maxim,max44009".
- reg
-
The I2C address of
max44009which can be either 0x4a or 0x4b.
Releases
14 releases since FreeBSD 13.1-RELEASE; the text changed 1 time.