summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/include/mach/i2c.h
diff options
context:
space:
mode:
authorPhilby John <pjohn@in.mvista.com>2010-01-11 15:53:31 +0530
committerKevin Hilman <khilman@deeprootsystems.com>2010-02-04 13:30:06 -0800
commit00642f6616a0d1893ab1dcfec4d833210f310e95 (patch)
tree1ae6009b615b4039d8fb80145c31e0ec8da65a57 /arch/arm/mach-davinci/include/mach/i2c.h
parent3f995f2fd7e0814630f55be37c650a5983e4077e (diff)
Add SDA and SCL pin numbers to i2c platform data
Patch adds SDA and SCL pin numbers to the i2c platform data structure for Davinci DM355 and DM6446. This at present is used for i2c bus recovery. TODO: Add SDA and SCL pin number information to include all Davinci platforms such as dm355-leopard, dm365, dm646x, da8xx etc. Signed-off-by: Philby John <pjohn@in.mvista.com> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/mach-davinci/include/mach/i2c.h')
-rw-r--r--arch/arm/mach-davinci/include/mach/i2c.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/include/mach/i2c.h b/arch/arm/mach-davinci/include/mach/i2c.h
index c248e9b7e82..39fdceac841 100644
--- a/arch/arm/mach-davinci/include/mach/i2c.h
+++ b/arch/arm/mach-davinci/include/mach/i2c.h
@@ -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 */