diff options
author | Vladimir Barinov <vbarinov@ru.mvista.com> | 2007-10-13 23:56:30 +0200 |
---|---|---|
committer | Jean Delvare <khali@hyperion.delvare> | 2007-10-13 23:56:30 +0200 |
commit | 95a7f10eadcd88cfd6640e44c7b8cf9ac1afafe7 (patch) | |
tree | c37027c073302917249361e8f4ba20693a48f322 /include/asm-arm/arch-davinci | |
parent | 7589a326d1d8c9da575ca4cbc6a3e6af02b57ead (diff) | |
download | kernel-crypto-95a7f10eadcd88cfd6640e44c7b8cf9ac1afafe7.tar.gz kernel-crypto-95a7f10eadcd88cfd6640e44c7b8cf9ac1afafe7.tar.xz kernel-crypto-95a7f10eadcd88cfd6640e44c7b8cf9ac1afafe7.zip |
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/asm-arm/arch-davinci')
-rw-r--r-- | include/asm-arm/arch-davinci/i2c.h | 21 |
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 00000000000..e2f54168abd --- /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 */ |