diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-02-11 12:32:08 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-02-11 12:32:08 -0500 |
| commit | 718749d56214aa97015fe01b76b6d6dd0c171796 (patch) | |
| tree | 2f7355a3527c5579dc76721203d8a0011a40b19b /include/linux/platform_data | |
| parent | e0c8453769fcaec654cd5870e84c63175658c842 (diff) | |
| parent | 4ba24fef3eb3b142197135223b90ced2f319cd53 (diff) | |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
Pull input updates from Dmitry Torokhov:
"The first round of updates for the input subsystem.
A few new drivers (power button handler for AXP20x PMIC, tps65218
power button driver, sun4i keys driver, regulator haptic driver, NI
Ettus Research USRP E3x0 button, Alwinner A10/A20 PS/2 controller).
Updates to Synaptics and ALPS touchpad drivers (with more to come
later), brand new Focaltech PS/2 support, update to Cypress driver to
handle Gen5 (in addition to Gen3) devices, and number of other fixups
to various drivers as well as input core"
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: (54 commits)
Input: elan_i2c - fix wrong %p extension
Input: evdev - do not queue SYN_DROPPED if queue is empty
Input: gscps2 - fix MODULE_DEVICE_TABLE invocation
Input: synaptics - use dmax in input_mt_assign_slots
Input: pxa27x_keypad - remove unnecessary ARM includes
Input: ti_am335x_tsc - replace delta filtering with median filtering
ARM: dts: AM335x: Make charge delay a DT parameter for TSC
Input: ti_am335x_tsc - read charge delay from DT
Input: ti_am335x_tsc - remove udelay in interrupt handler
Input: ti_am335x_tsc - interchange touchscreen and ADC steps
Input: MT - add support for balanced slot assignment
Input: drv2667 - remove wrong and unneeded drv2667-haptics modalias
Input: drv260x - remove wrong and unneeded drv260x-haptics modalias
Input: cap11xx - remove wrong and unneeded cap11xx modalias
Input: sun4i-ts - add support for touchpanel controller on A31
Input: serio - add support for Alwinner A10/A20 PS/2 controller
Input: gtco - use sign_extend32() for sign extension
Input: elan_i2c - verify firmware signature applying it
Input: elantech - remove stale comment from Kconfig
Input: cyapa - off by one in cyapa_update_fw_store()
...
Diffstat (limited to 'include/linux/platform_data')
| -rw-r--r-- | include/linux/platform_data/regulator-haptic.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/include/linux/platform_data/regulator-haptic.h b/include/linux/platform_data/regulator-haptic.h new file mode 100644 index 000000000000..5658e58e0738 --- /dev/null +++ b/include/linux/platform_data/regulator-haptic.h | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | /* | ||
| 2 | * Regulator Haptic Platform Data | ||
| 3 | * | ||
| 4 | * Copyright (c) 2014 Samsung Electronics Co., Ltd. | ||
| 5 | * Author: Jaewon Kim <jaewon02.kim@samsung.com> | ||
| 6 | * Author: Hyunhee Kim <hyunhee.kim@samsung.com> | ||
| 7 | * | ||
| 8 | * This program is free software; you can redistribute it and/or modify | ||
| 9 | * it under the terms of the GNU General Public License version 2 as | ||
| 10 | * published by the Free Software Foundation. | ||
| 11 | */ | ||
| 12 | |||
| 13 | #ifndef _REGULATOR_HAPTIC_H | ||
| 14 | #define _REGULATOR_HAPTIC_H | ||
| 15 | |||
| 16 | /* | ||
| 17 | * struct regulator_haptic_data - Platform device data | ||
| 18 | * | ||
| 19 | * @max_volt: maximum voltage value supplied to the haptic motor. | ||
| 20 | * <The unit of the voltage is a micro> | ||
| 21 | * @min_volt: minimum voltage value supplied to the haptic motor. | ||
| 22 | * <The unit of the voltage is a micro> | ||
| 23 | */ | ||
| 24 | struct regulator_haptic_data { | ||
| 25 | unsigned int max_volt; | ||
| 26 | unsigned int min_volt; | ||
| 27 | }; | ||
| 28 | |||
| 29 | #endif /* _REGULATOR_HAPTIC_H */ | ||
