diff options
| author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-10-30 03:20:56 -0400 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-10-30 03:20:56 -0400 |
| commit | 53279f36dccffc26ff536003fd6bb97cc21c3b82 (patch) | |
| tree | 9d16e497c0e4158c7c054c479bd0e9ff0388d7bb /include/linux/platform_data/i2c-davinci.h | |
| parent | a6e8c0a25377e27958b11b20e1927885ae7c9857 (diff) | |
| parent | 8f0d8163b50e01f398b14bcd4dc039ac5ab18d64 (diff) | |
Merge tag 'v3.7-rc3' into next to sync up with recent USB and MFD changes
Diffstat (limited to 'include/linux/platform_data/i2c-davinci.h')
| -rw-r--r-- | include/linux/platform_data/i2c-davinci.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/include/linux/platform_data/i2c-davinci.h b/include/linux/platform_data/i2c-davinci.h new file mode 100644 index 000000000000..2312d197dfb7 --- /dev/null +++ b/include/linux/platform_data/i2c-davinci.h | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | /* | ||
| 2 | * DaVinci I2C controller platform_device info | ||
| 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 */ | ||
| 16 | struct davinci_i2c_platform_data { | ||
| 17 | unsigned int bus_freq; /* standard bus frequency (kHz) */ | ||
| 18 | unsigned int bus_delay; /* post-transaction delay (usec) */ | ||
| 19 | unsigned int sda_pin; /* GPIO pin ID to use for SDA */ | ||
| 20 | unsigned int scl_pin; /* GPIO pin ID to use for SCL */ | ||
| 21 | }; | ||
| 22 | |||
| 23 | /* for board setup code */ | ||
| 24 | void davinci_init_i2c(struct davinci_i2c_platform_data *); | ||
| 25 | |||
| 26 | #endif /* __ASM_ARCH_I2C_H */ | ||
