diff options
author | Chaithrika U S <chaithrika@ti.com> | 2009-08-25 08:20:05 -0400 |
---|---|---|
committer | Kevin Hilman <khilman@deeprootsystems.com> | 2009-08-26 04:56:31 -0400 |
commit | 1a7ff8ff6eebfa732ca2abe00a0878136bfb2d01 (patch) | |
tree | 6ac4f5df451b74c3df7f44c794503f529f708f2d /arch/arm/mach-davinci/board-da850-evm.c | |
parent | 213765d7b40a455ced8596edfa3cc51b5f69d515 (diff) |
davinci: audio: move tlv320aic33 i2c setup into board files
Tested on DM6446, DM355, DM6447, DA850 EVMs.
Signed-off-by: Chaithrika U S <chaithrika@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/mach-davinci/board-da850-evm.c')
-rw-r--r-- | arch/arm/mach-davinci/board-da850-evm.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/board-da850-evm.c b/arch/arm/mach-davinci/board-da850-evm.c index f2946a0cf6f..c759d72494e 100644 --- a/arch/arm/mach-davinci/board-da850-evm.c +++ b/arch/arm/mach-davinci/board-da850-evm.c | |||
@@ -143,6 +143,12 @@ static struct platform_device da850_evm_nandflash_device = { | |||
143 | .resource = da850_evm_nandflash_resource, | 143 | .resource = da850_evm_nandflash_resource, |
144 | }; | 144 | }; |
145 | 145 | ||
146 | static struct i2c_board_info __initdata da850_evm_i2c_devices[] = { | ||
147 | { | ||
148 | I2C_BOARD_INFO("tlv320aic3x", 0x18), | ||
149 | } | ||
150 | }; | ||
151 | |||
146 | static struct davinci_i2c_platform_data da850_evm_i2c_0_pdata = { | 152 | static struct davinci_i2c_platform_data da850_evm_i2c_0_pdata = { |
147 | .bus_freq = 100, /* kHz */ | 153 | .bus_freq = 100, /* kHz */ |
148 | .bus_delay = 0, /* usec */ | 154 | .bus_delay = 0, /* usec */ |
@@ -343,6 +349,9 @@ static __init void da850_evm_init(void) | |||
343 | 349 | ||
344 | davinci_serial_init(&da850_evm_uart_config); | 350 | davinci_serial_init(&da850_evm_uart_config); |
345 | 351 | ||
352 | i2c_register_board_info(1, da850_evm_i2c_devices, | ||
353 | ARRAY_SIZE(da850_evm_i2c_devices)); | ||
354 | |||
346 | /* | 355 | /* |
347 | * shut down uart 0 and 1; they are not used on the board and | 356 | * shut down uart 0 and 1; they are not used on the board and |
348 | * accessing them causes endless "too much work in irq53" messages | 357 | * accessing them causes endless "too much work in irq53" messages |