From 7efe15f2a4cd9d40826d31d7d5ef56094f8b65f5 Mon Sep 17 00:00:00 2001 From: Hemanth V Date: Mon, 9 Aug 2010 17:20:25 -0700 Subject: 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 --- drivers/misc/Kconfig | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'drivers/misc/Kconfig') diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index 488f25472291..2483183419b9 100644 --- a/drivers/misc/Kconfig +++ b/drivers/misc/Kconfig @@ -304,6 +304,16 @@ config SENSORS_TSL2550 This driver can also be built as a module. If so, the module will be called tsl2550. +config SENSORS_BH1780 + tristate "ROHM BH1780GLI ambient light sensor" + depends on I2C && SYSFS + help + If you say yes here you get support for the ROHM BH1780GLI + ambient light sensor. + + This driver can also be built as a module. If so, the module + will be called bh1780gli. + config EP93XX_PWM tristate "EP93xx PWM support" depends on ARCH_EP93XX -- cgit v1.2.3