From 95a7f10eadcd88cfd6640e44c7b8cf9ac1afafe7 Mon Sep 17 00:00:00 2001 From: Vladimir Barinov Date: Sat, 13 Oct 2007 23:56:30 +0200 Subject: i2c: Add DaVinci I2C controller support Signed-off-by: Vladimir Barinov Acked-by: Trilok Soni Signed-off-by: Jean Delvare --- include/asm-arm/arch-davinci/i2c.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 include/asm-arm/arch-davinci/i2c.h (limited to 'include/asm-arm/arch-davinci') diff --git a/include/asm-arm/arch-davinci/i2c.h b/include/asm-arm/arch-davinci/i2c.h new file mode 100644 index 000000000000..e2f54168abd1 --- /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. + * + * 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 */ -- cgit v1.2.3-59-g8ed1b