diff options
| author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2015-06-22 12:26:29 -0400 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2015-06-22 12:26:29 -0400 |
| commit | f7ebc4dcdeb1be7209d94a8c0dc602ab24e36ae1 (patch) | |
| tree | 650c1748df35728e2bce1b8c26c064bfea272f63 /include | |
| parent | 469d7d22cea146e40efe8c330e5164b4d8f13934 (diff) | |
| parent | 84c88ef9affb34f10cb5b66b07e2d496845d1c28 (diff) | |
Merge branch 'next' into for-linus
Prepare first round of input updates for 4.2 merge window.
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/mfd/da9063/pdata.h | 1 | ||||
| -rw-r--r-- | include/linux/mfd/stmpe.h | 44 | ||||
| -rw-r--r-- | include/linux/platform_data/keyboard-spear.h | 2 |
3 files changed, 2 insertions, 45 deletions
diff --git a/include/linux/mfd/da9063/pdata.h b/include/linux/mfd/da9063/pdata.h index 95c8742215a7..612383bd80ae 100644 --- a/include/linux/mfd/da9063/pdata.h +++ b/include/linux/mfd/da9063/pdata.h | |||
| @@ -103,6 +103,7 @@ struct da9063; | |||
| 103 | struct da9063_pdata { | 103 | struct da9063_pdata { |
| 104 | int (*init)(struct da9063 *da9063); | 104 | int (*init)(struct da9063 *da9063); |
| 105 | int irq_base; | 105 | int irq_base; |
| 106 | bool key_power; | ||
| 106 | unsigned flags; | 107 | unsigned flags; |
| 107 | struct da9063_regulators_pdata *regulators_pdata; | 108 | struct da9063_regulators_pdata *regulators_pdata; |
| 108 | struct led_platform_data *leds_pdata; | 109 | struct led_platform_data *leds_pdata; |
diff --git a/include/linux/mfd/stmpe.h b/include/linux/mfd/stmpe.h index c9d869027300..cb83883918a7 100644 --- a/include/linux/mfd/stmpe.h +++ b/include/linux/mfd/stmpe.h | |||
| @@ -118,47 +118,6 @@ extern int stmpe_disable(struct stmpe *stmpe, unsigned int blocks); | |||
| 118 | #define STMPE_GPIO_NOREQ_811_TOUCH (0xf0) | 118 | #define STMPE_GPIO_NOREQ_811_TOUCH (0xf0) |
| 119 | 119 | ||
| 120 | /** | 120 | /** |
| 121 | * struct stmpe_ts_platform_data - stmpe811 touch screen controller platform | ||
| 122 | * data | ||
| 123 | * @sample_time: ADC converstion time in number of clock. | ||
| 124 | * (0 -> 36 clocks, 1 -> 44 clocks, 2 -> 56 clocks, 3 -> 64 clocks, | ||
| 125 | * 4 -> 80 clocks, 5 -> 96 clocks, 6 -> 144 clocks), | ||
| 126 | * recommended is 4. | ||
| 127 | * @mod_12b: ADC Bit mode (0 -> 10bit ADC, 1 -> 12bit ADC) | ||
| 128 | * @ref_sel: ADC reference source | ||
| 129 | * (0 -> internal reference, 1 -> external reference) | ||
| 130 | * @adc_freq: ADC Clock speed | ||
| 131 | * (0 -> 1.625 MHz, 1 -> 3.25 MHz, 2 || 3 -> 6.5 MHz) | ||
| 132 | * @ave_ctrl: Sample average control | ||
| 133 | * (0 -> 1 sample, 1 -> 2 samples, 2 -> 4 samples, 3 -> 8 samples) | ||
| 134 | * @touch_det_delay: Touch detect interrupt delay | ||
| 135 | * (0 -> 10 us, 1 -> 50 us, 2 -> 100 us, 3 -> 500 us, | ||
| 136 | * 4-> 1 ms, 5 -> 5 ms, 6 -> 10 ms, 7 -> 50 ms) | ||
| 137 | * recommended is 3 | ||
| 138 | * @settling: Panel driver settling time | ||
| 139 | * (0 -> 10 us, 1 -> 100 us, 2 -> 500 us, 3 -> 1 ms, | ||
| 140 | * 4 -> 5 ms, 5 -> 10 ms, 6 for 50 ms, 7 -> 100 ms) | ||
| 141 | * recommended is 2 | ||
| 142 | * @fraction_z: Length of the fractional part in z | ||
| 143 | * (fraction_z ([0..7]) = Count of the fractional part) | ||
| 144 | * recommended is 7 | ||
| 145 | * @i_drive: current limit value of the touchscreen drivers | ||
| 146 | * (0 -> 20 mA typical 35 mA max, 1 -> 50 mA typical 80 mA max) | ||
| 147 | * | ||
| 148 | * */ | ||
| 149 | struct stmpe_ts_platform_data { | ||
| 150 | u8 sample_time; | ||
| 151 | u8 mod_12b; | ||
| 152 | u8 ref_sel; | ||
| 153 | u8 adc_freq; | ||
| 154 | u8 ave_ctrl; | ||
| 155 | u8 touch_det_delay; | ||
| 156 | u8 settling; | ||
| 157 | u8 fraction_z; | ||
| 158 | u8 i_drive; | ||
| 159 | }; | ||
| 160 | |||
| 161 | /** | ||
| 162 | * struct stmpe_platform_data - STMPE platform data | 121 | * struct stmpe_platform_data - STMPE platform data |
| 163 | * @id: device id to distinguish between multiple STMPEs on the same board | 122 | * @id: device id to distinguish between multiple STMPEs on the same board |
| 164 | * @blocks: bitmask of blocks to enable (use STMPE_BLOCK_*) | 123 | * @blocks: bitmask of blocks to enable (use STMPE_BLOCK_*) |
| @@ -168,7 +127,6 @@ struct stmpe_ts_platform_data { | |||
| 168 | * @irq_over_gpio: true if gpio is used to get irq | 127 | * @irq_over_gpio: true if gpio is used to get irq |
| 169 | * @irq_gpio: gpio number over which irq will be requested (significant only if | 128 | * @irq_gpio: gpio number over which irq will be requested (significant only if |
| 170 | * irq_over_gpio is true) | 129 | * irq_over_gpio is true) |
| 171 | * @ts: touchscreen-specific platform data | ||
| 172 | */ | 130 | */ |
| 173 | struct stmpe_platform_data { | 131 | struct stmpe_platform_data { |
| 174 | int id; | 132 | int id; |
| @@ -178,8 +136,6 @@ struct stmpe_platform_data { | |||
| 178 | bool irq_over_gpio; | 136 | bool irq_over_gpio; |
| 179 | int irq_gpio; | 137 | int irq_gpio; |
| 180 | int autosleep_timeout; | 138 | int autosleep_timeout; |
| 181 | |||
| 182 | struct stmpe_ts_platform_data *ts; | ||
| 183 | }; | 139 | }; |
| 184 | 140 | ||
| 185 | #endif | 141 | #endif |
diff --git a/include/linux/platform_data/keyboard-spear.h b/include/linux/platform_data/keyboard-spear.h index 9248e3a7e333..5e3ff653900c 100644 --- a/include/linux/platform_data/keyboard-spear.h +++ b/include/linux/platform_data/keyboard-spear.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * Copyright (C) 2010 ST Microelectronics | 2 | * Copyright (C) 2010 ST Microelectronics |
| 3 | * Rajeev Kumar<rajeev-dlh.kumar@st.com> | 3 | * Rajeev Kumar <rajeevkumar.linux@gmail.com> |
| 4 | * | 4 | * |
| 5 | * This file is licensed under the terms of the GNU General Public | 5 | * This file is licensed under the terms of the GNU General Public |
| 6 | * License version 2. This program is licensed "as is" without any | 6 | * License version 2. This program is licensed "as is" without any |
