am335x: tsl2550: Add ambient light sensor support
authorAnilKumar Ch <anilkumar@ti.com>
Sun, 27 Nov 2011 17:26:32 +0000 (22:56 +0530)
committerVaibhav Hiremath <hvaibhav@ti.com>
Mon, 23 Jan 2012 19:14:39 +0000 (00:44 +0530)
This patch enables the TAOS, ambient light sensor of am335x

Also adds the tsl2550, ambient light sensor configuration to
default am335x_evm_defconfig kernel configuration

Signed-off-by: AnilKumar Ch <anilkumar@ti.com>
arch/arm/configs/am335x_evm_defconfig
arch/arm/mach-omap2/board-am335xevm.c

index 6edf1621bbcf2f2fa9f3236bc036bec11734cdb4..06c060e8579af993b24cf93e0ba88d071d64161c 100644 (file)
@@ -861,7 +861,7 @@ CONFIG_MISC_DEVICES=y
 # CONFIG_APDS9802ALS is not set
 # CONFIG_ISL29003 is not set
 # CONFIG_ISL29020 is not set
 # CONFIG_APDS9802ALS is not set
 # CONFIG_ISL29003 is not set
 # CONFIG_ISL29020 is not set
-# CONFIG_SENSORS_TSL2550 is not set
+CONFIG_SENSORS_TSL2550=y
 # CONFIG_SENSORS_BH1780 is not set
 # CONFIG_SENSORS_BH1770 is not set
 # CONFIG_SENSORS_APDS990X is not set
 # CONFIG_SENSORS_BH1780 is not set
 # CONFIG_SENSORS_BH1770 is not set
 # CONFIG_SENSORS_APDS990X is not set
index 48d0bdd592e561d773be1bf554e2ee30fc8be6aa..cd8ca3ab958c856b2a12735f1f81dfe95aae7158 100644 (file)
@@ -1087,6 +1087,9 @@ static struct i2c_board_info am335x_i2c_boardinfo1[] = {
                I2C_BOARD_INFO("lis331dlh", 0x18),
                .platform_data = &lis331dlh_pdata,
        },
                I2C_BOARD_INFO("lis331dlh", 0x18),
                .platform_data = &lis331dlh_pdata,
        },
+       {
+               I2C_BOARD_INFO("tsl2550", 0x39),
+       },
        {
                I2C_BOARD_INFO("tmp275", 0x48),
        },
        {
                I2C_BOARD_INFO("tmp275", 0x48),
        },