From 7cbbbf6ebdff77af92b710e7e784284c75899285 Mon Sep 17 00:00:00 2001 From: Laxman Dewangan Date: Thu, 12 Aug 2010 12:51:04 +0530 Subject: [arm/tegra] nct1008: Adding board info for temp sensor nct1008. Adding the board information for the device nct1008. This is ON semiconductor temperature sensor and driver compatible with national semicoductor LM90. The board info is getting register if config variable CONFIG_SENSORS_LM90 is selected through def config file. Change-Id: I2d49dec6ef0942823654b8f00cf62742f0136273 Reviewed-on: http://git-master.nvidia.com/r/5078 Tested-by: Laxman Dewangan Reviewed-by: Gary King --- arch/arm/mach-tegra/board-generic.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/mach-tegra/board-generic.c b/arch/arm/mach-tegra/board-generic.c index 4534cd49454c..7ad72114c86a 100644 --- a/arch/arm/mach-tegra/board-generic.c +++ b/arch/arm/mach-tegra/board-generic.c @@ -192,6 +192,11 @@ static struct i2c_board_info bus3_i2c_devices[] = { .irq = (INT_GPIO_BASE + TEGRA_GPIO_PN5), }, #endif +#ifdef CONFIG_SENSORS_LM90 + { + I2C_BOARD_INFO("nct1008", 0x4C), + }, +#endif }; void __init i2c_device_setup(void) -- cgit v1.2.3