Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 216889
b: refs/heads/master
c: 366498d
h: refs/heads/master
i:
  216887: eab21fe
v: v3
  • Loading branch information
Jarkko Nikula authored and Tony Lindgren committed Sep 24, 2010
1 parent 17b4b92 commit 4791b6e
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a7f97d25c707e1020bd7bcb443e183860e5abf48
refs/heads/master: 366498d4f2aef7640ae467a986d69d1cc06a141b
16 changes: 16 additions & 0 deletions trunk/arch/arm/mach-omap2/board-n8x0.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
#include <linux/i2c.h>
#include <linux/spi/spi.h>
#include <linux/usb/musb.h>
#include <sound/tlv320aic3x.h>

#include <asm/mach/arch.h>
#include <asm/mach-types.h>
Expand Down Expand Up @@ -633,6 +634,17 @@ static struct i2c_board_info __initdata n8x0_i2c_board_info_1[] __initdata = {
},
};

static struct aic3x_pdata n810_aic33_data __initdata = {
.gpio_reset = 118,
};

static struct i2c_board_info n810_i2c_board_info_2[] __initdata = {
{
I2C_BOARD_INFO("tlv320aic3x", 0x18),
.platform_data = &n810_aic33_data,
},
};

static void __init n8x0_map_io(void)
{
omap2_set_globals_242x();
Expand Down Expand Up @@ -662,6 +674,10 @@ static void __init n8x0_init_machine(void)
ARRAY_SIZE(n800_spi_board_info));
omap_register_i2c_bus(1, 400, n8x0_i2c_board_info_1,
ARRAY_SIZE(n8x0_i2c_board_info_1));
omap_register_i2c_bus(2, 400, NULL, 0);
if (machine_is_nokia_n810())
i2c_register_board_info(2, n810_i2c_board_info_2,
ARRAY_SIZE(n810_i2c_board_info_2));

omap_serial_init();
n8x0_onenand_init();
Expand Down

0 comments on commit 4791b6e

Please sign in to comment.