Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 183217
b: refs/heads/master
c: 00642f6
h: refs/heads/master
i:
  183215: 0e22828
v: v3
  • Loading branch information
Philby John authored and Kevin Hilman committed Feb 4, 2010
1 parent bd06050 commit 13bb6af
Show file tree
Hide file tree
Showing 4 changed files with 7 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: 3f995f2fd7e0814630f55be37c650a5983e4077e
refs/heads/master: 00642f6616a0d1893ab1dcfec4d833210f310e95
2 changes: 2 additions & 0 deletions trunk/arch/arm/mach-davinci/board-dm355-evm.c
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ static struct platform_device davinci_nand_device = {
static struct davinci_i2c_platform_data i2c_pdata = {
.bus_freq = 400 /* kHz */,
.bus_delay = 0 /* usec */,
.sda_pin = 15,
.scl_pin = 14,
};

static struct snd_platform_data dm355_evm_snd_data;
Expand Down
2 changes: 2 additions & 0 deletions trunk/arch/arm/mach-davinci/board-dm644x-evm.c
Original file line number Diff line number Diff line change
Expand Up @@ -629,6 +629,8 @@ static struct i2c_board_info __initdata i2c_info[] = {
static struct davinci_i2c_platform_data i2c_pdata = {
.bus_freq = 20 /* kHz */,
.bus_delay = 100 /* usec */,
.sda_pin = 44,
.scl_pin = 43,
};

static void __init evm_init_i2c(void)
Expand Down
2 changes: 2 additions & 0 deletions trunk/arch/arm/mach-davinci/include/mach/i2c.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
struct davinci_i2c_platform_data {
unsigned int bus_freq; /* standard bus frequency (kHz) */
unsigned int bus_delay; /* post-transaction delay (usec) */
unsigned int sda_pin; /* GPIO pin ID to use for SDA */
unsigned int scl_pin; /* GPIO pin ID to use for SCL */
};

/* for board setup code */
Expand Down

0 comments on commit 13bb6af

Please sign in to comment.