summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2
diff options
context:
space:
mode:
authorHemanth V <hemanthv@ti.com>2010-12-17 18:15:08 -0800
committerTony Lindgren <tony@atomide.com>2010-12-20 18:48:16 -0800
commitd048aca2e2e023204c10ca6b705642c1de54d95c (patch)
tree685c735dfde1a15f86509a70e6c824055b2a4d66 /arch/arm/mach-omap2
parent70e77760639625e6ec4564c262552e6002eb5ba6 (diff)
downloadtalos-obmc-linux-d048aca2e2e023204c10ca6b705642c1de54d95c.tar.gz
talos-obmc-linux-d048aca2e2e023204c10ca6b705642c1de54d95c.zip
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>
Diffstat (limited to 'arch/arm/mach-omap2')
-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[] = {
{
OpenPOWER on IntegriCloud