Board changes for tmp105 temperature sensor
Subsystems (3)
RFC PATCH 1/1 Board changes for tmp105 temperature sensor
Adding board configuration for the tmp105
temperature sensor. The interface to the sensor
is I2C.
-Removing unwanted file mode change
Signed-off-by Shubhrajyoti D <[email protected]>
--- arch/arm/mach-omap2/board-4430sdp.c | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-)
arch/arm/mach-omap2/board-4430sdp.c +7 -1
@@ -353,6 +353,11 @@ static struct i2c_board_info __initdata sdp4430_i2c_boardinfo[] = { .platform_data = &sdp4430_twldata, }, }; +static struct i2c_board_info __initdata sdp4430_i2c_3_boardinfo[] = { + { +I2C_BOARD_INFO ("tmp105" ,0x48 ), + }, +};static int __init omap4_i2c_init (void ) {/*
@@ -362,7 +367,8 @@ static int __init omap4_i2c_init(void)omap_register_i2c_bus (1 ,400 , sdp4430_i2c_boardinfo,ARRAY_SIZE (sdp4430_i2c_boardinfo));omap_register_i2c_bus (2 ,400 ,NULL ,0 ); -omap_register_i2c_bus (3 ,400 ,NULL ,0 ); +omap_register_i2c_bus (3 ,400 , sdp4430_i2c_3_boardinfo, +ARRAY_SIZE (sdp4430_i2c_3_boardinfo));omap_register_i2c_bus (4 ,400 ,NULL ,0 );return 0 ; }
Signature · 1 line
1.5.4.7
Tony Lindgren
maintainerRFC PATCH 1/1 Board changes for tmp105 temperature sensor
This patch has been applied to the linux-omap
by youw fwiendly patch wobot.
Branch in linux-omap: devel-boards
Initial commit ID (Likely to change): b5a7e6e8dceb167f2b5617a3ef936947a344b0f5
PatchWorks
http://patchwork.kernel.org/patch/109101/
Git (Likely to change, and takes a while to get mirrored)
http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.git;a=commit;h=b5a7e6e8dceb167f2b5617a3ef936947a344b0f5