summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorVladimir Barinov <vbarinov@ru.mvista.com>2007-10-13 23:56:30 +0200
committerJean Delvare <khali@hyperion.delvare>2007-10-13 23:56:30 +0200
commit95a7f10eadcd88cfd6640e44c7b8cf9ac1afafe7 (patch)
treec37027c073302917249361e8f4ba20693a48f322 /include
parent7589a326d1d8c9da575ca4cbc6a3e6af02b57ead (diff)
downloadop-kernel-dev-95a7f10eadcd88cfd6640e44c7b8cf9ac1afafe7.zip
op-kernel-dev-95a7f10eadcd88cfd6640e44c7b8cf9ac1afafe7.tar.gz
i2c: Add DaVinci I2C controller support
Signed-off-by: Vladimir Barinov <vbarinov@ru.mvista.com> Acked-by: Trilok Soni <soni.trilok@gmail.com> Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'include')
-rw-r--r--include/asm-arm/arch-davinci/i2c.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/asm-arm/arch-davinci/i2c.h b/include/asm-arm/arch-davinci/i2c.h
new file mode 100644
index 0000000..e2f5416
--- /dev/null
+++ b/include/asm-arm/arch-davinci/i2c.h
@@ -0,0 +1,21 @@
+/*
+ * DaVinci I2C controller platfrom_device info
+ *
+ * Author: Vladimir Barinov, MontaVista Software, Inc. <source@mvista.com>
+ *
+ * 2007 (c) MontaVista Software, Inc. This file is licensed under
+ * the terms of the GNU General Public License version 2. This program
+ * is licensed "as is" without any warranty of any kind, whether express
+ * or implied.
+*/
+
+#ifndef __ASM_ARCH_I2C_H
+#define __ASM_ARCH_I2C_H
+
+/* All frequencies are expressed in kHz */
+struct davinci_i2c_platform_data {
+ unsigned int bus_freq; /* standard bus frequency */
+ unsigned int bus_delay; /* transaction delay */
+};
+
+#endif /* __ASM_ARCH_I2C_H */
OpenPOWER on IntegriCloud