From: Hemanth V Date: Tue, 10 Aug 2010 00:20:25 +0000 (-0700) Subject: drivers/misc: ROHM BH1780GLI ambient light sensor driver X-Git-Tag: v2.6.36-rc1~372 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7efe15f2a4cd9d40826d31d7d5ef56094f8b65f5;p=pandora-kernel.git 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 Reviewed-by: Daniel Mack Acked-by: Jonathan Cameron Cc: Jean Delvare Cc: Wolfram Sang Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed