summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHemanth V <hemanthv@ti.com>2010-12-18 05:15:08 +0300
committerTony Lindgren <tony@atomide.com>2010-12-21 05:48:16 +0300
commitd048aca2e2e023204c10ca6b705642c1de54d95c (patch)
tree685c735dfde1a15f86509a70e6c824055b2a4d66
parent70e77760639625e6ec4564c262552e6002eb5ba6 (diff)
downloadlinux-d048aca2e2e023204c10ca6b705642c1de54d95c.tar.xz
omap4: Add platform changes for Ambient Light sensor
Register BH1780GLI Ambient light sensor, which is an I2C device for 4430SDP board. Signed-off-by: Hemanth V <hemanthv@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r--arch/arm/mach-omap2/board-4430sdp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/board-4430sdp.c b/arch/arm/mach-omap2/board-4430sdp.c
index 8842ec5e51e3..66f894371db2 100644
--- a/arch/arm/mach-omap2/board-4430sdp.c
+++ b/arch/arm/mach-omap2/board-4430sdp.c
@@ -464,6 +464,9 @@ static struct i2c_board_info __initdata sdp4430_i2c_3_boardinfo[] = {
{
I2C_BOARD_INFO("tmp105", 0x48),
},
+ {
+ I2C_BOARD_INFO("bh1780", 0x29),
+ },
};
static struct i2c_board_info __initdata sdp4430_i2c_4_boardinfo[] = {
{