diff options
| author | Hemanth V <[email protected]> | 2010-08-09 17:20:25 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2010-08-09 20:45:05 -0700 |
| commit | 7efe15f2a4cd9d40826d31d7d5ef56094f8b65f5 (patch) | |
| tree | 45af1fbfad02c2db98ebca52888b5bfcec65a5e5 /tools/perf/scripts/python | |
| parent | 37ed19d5cce35a40d3913cf9aa208ce9f60db3d7 (diff) | |
drivers/misc: ROHM BH1780GLI ambient light sensor driver
Add support for ROHM BH1780GLI Ambient light sensor.
BH1780 supports I2C interface. Driver supports read/update of power state
and read of lux value (through SYSFS). Writing value 3 to power_state
enables the sensor and current lux value could be read.
Currently this driver follows the same sysfs convention as supported by
drivers/misc/isl29003.c.
Signed-off-by: Hemanth V <[email protected]>
Reviewed-by: Daniel Mack <[email protected]>
Acked-by: Jonathan Cameron <[email protected]>
Cc: Jean Delvare <[email protected]>
Cc: Wolfram Sang <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions