diff options
Diffstat (limited to 'include/linux/i2c')
-rw-r--r-- | include/linux/i2c/tsc2007.h | 8 | ||||
-rw-r--r-- | include/linux/i2c/twl.h | 5 |
2 files changed, 6 insertions, 7 deletions
diff --git a/include/linux/i2c/tsc2007.h b/include/linux/i2c/tsc2007.h index 506a9f7af51e..4f35b6ad3889 100644 --- a/include/linux/i2c/tsc2007.h +++ b/include/linux/i2c/tsc2007.h | |||
@@ -7,16 +7,14 @@ struct tsc2007_platform_data { | |||
7 | u16 model; /* 2007. */ | 7 | u16 model; /* 2007. */ |
8 | u16 x_plate_ohms; /* must be non-zero value */ | 8 | u16 x_plate_ohms; /* must be non-zero value */ |
9 | u16 max_rt; /* max. resistance above which samples are ignored */ | 9 | u16 max_rt; /* max. resistance above which samples are ignored */ |
10 | unsigned long poll_delay; /* delay (in ms) after pen-down event | ||
11 | before polling starts */ | ||
12 | unsigned long poll_period; /* time (in ms) between samples */ | 10 | unsigned long poll_period; /* time (in ms) between samples */ |
13 | int fuzzx; /* fuzz factor for X, Y and pressure axes */ | 11 | int fuzzx; /* fuzz factor for X, Y and pressure axes */ |
14 | int fuzzy; | 12 | int fuzzy; |
15 | int fuzzz; | 13 | int fuzzz; |
16 | 14 | ||
17 | int (*get_pendown_state)(void); | 15 | int (*get_pendown_state)(struct device *); |
18 | void (*clear_penirq)(void); /* If needed, clear 2nd level | 16 | /* If needed, clear 2nd level interrupt source */ |
19 | interrupt source */ | 17 | void (*clear_penirq)(void); |
20 | int (*init_platform_hw)(void); | 18 | int (*init_platform_hw)(void); |
21 | void (*exit_platform_hw)(void); | 19 | void (*exit_platform_hw)(void); |
22 | }; | 20 | }; |
diff --git a/include/linux/i2c/twl.h b/include/linux/i2c/twl.h index 673a3ce67f31..ade1c06d4ceb 100644 --- a/include/linux/i2c/twl.h +++ b/include/linux/i2c/twl.h | |||
@@ -175,6 +175,9 @@ static inline int twl_class_is_ ##class(void) \ | |||
175 | TWL_CLASS_IS(4030, TWL4030_CLASS_ID) | 175 | TWL_CLASS_IS(4030, TWL4030_CLASS_ID) |
176 | TWL_CLASS_IS(6030, TWL6030_CLASS_ID) | 176 | TWL_CLASS_IS(6030, TWL6030_CLASS_ID) |
177 | 177 | ||
178 | /* Set the regcache bypass for the regmap associated with the nodule */ | ||
179 | int twl_set_regcache_bypass(u8 mod_no, bool enable); | ||
180 | |||
178 | /* | 181 | /* |
179 | * Read and write several 8-bit registers at once. | 182 | * Read and write several 8-bit registers at once. |
180 | */ | 183 | */ |
@@ -667,8 +670,6 @@ struct twl4030_codec_data { | |||
667 | unsigned int digimic_delay; /* in ms */ | 670 | unsigned int digimic_delay; /* in ms */ |
668 | unsigned int ramp_delay_value; | 671 | unsigned int ramp_delay_value; |
669 | unsigned int offset_cncl_path; | 672 | unsigned int offset_cncl_path; |
670 | unsigned int check_defaults:1; | ||
671 | unsigned int reset_registers:1; | ||
672 | unsigned int hs_extmute:1; | 673 | unsigned int hs_extmute:1; |
673 | int hs_extmute_gpio; | 674 | int hs_extmute_gpio; |
674 | }; | 675 | }; |