mirror of
https://github.com/genesi/linux-legacy.git
synced 2026-11-15 00:11:53 +00:00
ENGR00120615-2 Add light sensor device for imx51_BBG
Add light sensor device for imx51_BBG Signed-off-by: Sammy He <r62914@freescale.com>
This commit is contained in:
@@ -596,11 +596,21 @@ static struct i2c_board_info mxc_i2c0_board_info[] __initdata = {
|
||||
};
|
||||
#endif
|
||||
#ifdef CONFIG_I2C_MXC_SELECT2
|
||||
static struct mxc_lightsensor_platform_data ls_data = {
|
||||
.vdd_reg = "VIOHI",
|
||||
.rext = 100,
|
||||
};
|
||||
|
||||
static struct i2c_board_info mxc_i2c1_board_info[] __initdata = {
|
||||
{
|
||||
.type = "sgtl5000-i2c",
|
||||
.addr = 0x0a,
|
||||
},
|
||||
{
|
||||
.type = "isl29003",
|
||||
.addr = 0x44,
|
||||
.platform_data = &ls_data,
|
||||
},
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user