Merge tag 'stable/for-linus-3.12-rc2-tag' of git://git.kernel.org/pub/scm/linux/kerne...
[deliverable/linux.git] / include / linux / platform_data / i2c-davinci.h
CommitLineData
95a7f10e 1/*
947af294 2 * DaVinci I2C controller platform_device info
95a7f10e
VB
3 *
4 * Author: Vladimir Barinov, MontaVista Software, Inc. <source@mvista.com>
5 *
6 * 2007 (c) MontaVista Software, Inc. This file is licensed under
7 * the terms of the GNU General Public License version 2. This program
8 * is licensed "as is" without any warranty of any kind, whether express
9 * or implied.
10*/
11
12#ifndef __ASM_ARCH_I2C_H
13#define __ASM_ARCH_I2C_H
14
15/* All frequencies are expressed in kHz */
16struct davinci_i2c_platform_data {
d395e6ad
KS
17 unsigned int bus_freq; /* standard bus frequency (kHz) */
18 unsigned int bus_delay; /* post-transaction delay (usec) */
00642f66
PJ
19 unsigned int sda_pin; /* GPIO pin ID to use for SDA */
20 unsigned int scl_pin; /* GPIO pin ID to use for SCL */
95a7f10e
VB
21};
22
d395e6ad
KS
23/* for board setup code */
24void davinci_init_i2c(struct davinci_i2c_platform_data *);
25
95a7f10e 26#endif /* __ASM_ARCH_I2C_H */
This page took 0.560314 seconds and 5 git commands to generate.