diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/i2c-omap.h | 2 | ||||
-rw-r--r-- | include/linux/i2c/i2c-sh_mobile.h | 1 | ||||
-rw-r--r-- | include/linux/platform_data/i2c-cbus-gpio.h | 27 |
3 files changed, 28 insertions, 2 deletions
diff --git a/include/linux/i2c-omap.h b/include/linux/i2c-omap.h index 92a0dc75bc74..babe0cf6d56b 100644 --- a/include/linux/i2c-omap.h +++ b/include/linux/i2c-omap.h | |||
@@ -20,8 +20,6 @@ | |||
20 | #define OMAP_I2C_FLAG_NO_FIFO BIT(0) | 20 | #define OMAP_I2C_FLAG_NO_FIFO BIT(0) |
21 | #define OMAP_I2C_FLAG_SIMPLE_CLOCK BIT(1) | 21 | #define OMAP_I2C_FLAG_SIMPLE_CLOCK BIT(1) |
22 | #define OMAP_I2C_FLAG_16BIT_DATA_REG BIT(2) | 22 | #define OMAP_I2C_FLAG_16BIT_DATA_REG BIT(2) |
23 | #define OMAP_I2C_FLAG_RESET_REGS_POSTIDLE BIT(3) | ||
24 | #define OMAP_I2C_FLAG_APPLY_ERRATA_I207 BIT(4) | ||
25 | #define OMAP_I2C_FLAG_ALWAYS_ARMXOR_CLK BIT(5) | 23 | #define OMAP_I2C_FLAG_ALWAYS_ARMXOR_CLK BIT(5) |
26 | #define OMAP_I2C_FLAG_FORCE_19200_INT_CLK BIT(6) | 24 | #define OMAP_I2C_FLAG_FORCE_19200_INT_CLK BIT(6) |
27 | /* how the CPU address bus must be translated for I2C unit access */ | 25 | /* how the CPU address bus must be translated for I2C unit access */ |
diff --git a/include/linux/i2c/i2c-sh_mobile.h b/include/linux/i2c/i2c-sh_mobile.h index beda7081aead..06e3089795fb 100644 --- a/include/linux/i2c/i2c-sh_mobile.h +++ b/include/linux/i2c/i2c-sh_mobile.h | |||
@@ -5,6 +5,7 @@ | |||
5 | 5 | ||
6 | struct i2c_sh_mobile_platform_data { | 6 | struct i2c_sh_mobile_platform_data { |
7 | unsigned long bus_speed; | 7 | unsigned long bus_speed; |
8 | unsigned int clks_per_count; | ||
8 | }; | 9 | }; |
9 | 10 | ||
10 | #endif /* __I2C_SH_MOBILE_H__ */ | 11 | #endif /* __I2C_SH_MOBILE_H__ */ |
diff --git a/include/linux/platform_data/i2c-cbus-gpio.h b/include/linux/platform_data/i2c-cbus-gpio.h new file mode 100644 index 000000000000..6faa992a9502 --- /dev/null +++ b/include/linux/platform_data/i2c-cbus-gpio.h | |||
@@ -0,0 +1,27 @@ | |||
1 | /* | ||
2 | * i2c-cbus-gpio.h - CBUS I2C platform_data definition | ||
3 | * | ||
4 | * Copyright (C) 2004-2009 Nokia Corporation | ||
5 | * | ||
6 | * Written by Felipe Balbi and Aaro Koskinen. | ||
7 | * | ||
8 | * This file is subject to the terms and conditions of the GNU General | ||
9 | * Public License. See the file "COPYING" in the main directory of this | ||
10 | * archive for more details. | ||
11 | * | ||
12 | * This program is distributed in the hope that it will be useful, | ||
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
15 | * GNU General Public License for more details. | ||
16 | */ | ||
17 | |||
18 | #ifndef __INCLUDE_LINUX_I2C_CBUS_GPIO_H | ||
19 | #define __INCLUDE_LINUX_I2C_CBUS_GPIO_H | ||
20 | |||
21 | struct i2c_cbus_platform_data { | ||
22 | int dat_gpio; | ||
23 | int clk_gpio; | ||
24 | int sel_gpio; | ||
25 | }; | ||
26 | |||
27 | #endif /* __INCLUDE_LINUX_I2C_CBUS_GPIO_H */ | ||