diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2018-08-20 18:59:01 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-08-20 18:59:01 -0400 |
| commit | 7a324b3f0535ceb0f6676fa20ca2a7b6213008cb (patch) | |
| tree | 4c03a2f9382ee8264ddbe79a60293f825364fac3 /include/linux/platform_data | |
| parent | 61c4fc1eaf736344904767d201b0d4f7a2ebaf79 (diff) | |
| parent | 1429b47bfe98e63421d207aaae8038809c3f90ce (diff) | |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid
Pull HID updates from Jiri Kosina:
- touch_max detection improvements and quirk handling fixes in wacom
driver from Jason Gerecke and Ping Cheng
- Palm rejection from Dmitry Torokhov and _dial support from Benjamin
Tissoires for hid-multitouch driver
- Low voltage support for i2c-hid driver from Stephen Boyd
- Guitar-Hero support from Nicolas Adenis-Lamarre
- other assorted small fixes and device ID additions
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid: (40 commits)
HID: intel_ish-hid: tx_buf memory leak on probe/remove
HID: intel-ish-hid: Prevent loading of driver on Mehlow
HID: cougar: Add support for the Cougar 500k Gaming Keyboard
HID: cougar: make compare_device_paths reusable
HID: intel-ish-hid: remove redundant variable num_frags
HID: multitouch: handle palm for touchscreens
HID: multitouch: touchscreens also use confidence reports
HID: multitouch: report MT_TOOL_PALM for non-confident touches
HID: microsoft: support the Surface Dial
HID: core: do not upper bound the collection stack
HID: input: enable Totem on the Dell Canvas 27
HID: multitouch: remove one copy of values
HID: multitouch: ditch mt_report_id
HID: multitouch: store a per application quirks value
HID: multitouch: Store per collection multitouch data
HID: multitouch: make sure the static list of class is not changed
input: add MT_TOOL_DIAL
HID: elan: Add support for touchpad on the Toshiba Click Mini L9W
HID: elan: Add USB-id for HP x2 10-n000nd touchpad
HID: elan: Add a flag for selecting if the touchpad has a LED
...
Diffstat (limited to 'include/linux/platform_data')
| -rw-r--r-- | include/linux/platform_data/i2c-hid.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/linux/platform_data/i2c-hid.h b/include/linux/platform_data/i2c-hid.h index 1fb088239d12..c628bb5e1061 100644 --- a/include/linux/platform_data/i2c-hid.h +++ b/include/linux/platform_data/i2c-hid.h | |||
| @@ -12,14 +12,13 @@ | |||
| 12 | #ifndef __LINUX_I2C_HID_H | 12 | #ifndef __LINUX_I2C_HID_H |
| 13 | #define __LINUX_I2C_HID_H | 13 | #define __LINUX_I2C_HID_H |
| 14 | 14 | ||
| 15 | #include <linux/regulator/consumer.h> | ||
| 15 | #include <linux/types.h> | 16 | #include <linux/types.h> |
| 16 | 17 | ||
| 17 | struct regulator; | ||
| 18 | |||
| 19 | /** | 18 | /** |
| 20 | * struct i2chid_platform_data - used by hid over i2c implementation. | 19 | * struct i2chid_platform_data - used by hid over i2c implementation. |
| 21 | * @hid_descriptor_address: i2c register where the HID descriptor is stored. | 20 | * @hid_descriptor_address: i2c register where the HID descriptor is stored. |
| 22 | * @supply: regulator for powering on the device. | 21 | * @supplies: regulators for powering on the device. |
| 23 | * @post_power_delay_ms: delay after powering on before device is usable. | 22 | * @post_power_delay_ms: delay after powering on before device is usable. |
| 24 | * | 23 | * |
| 25 | * Note that it is the responsibility of the platform driver (or the acpi 5.0 | 24 | * Note that it is the responsibility of the platform driver (or the acpi 5.0 |
| @@ -35,7 +34,7 @@ struct regulator; | |||
| 35 | */ | 34 | */ |
| 36 | struct i2c_hid_platform_data { | 35 | struct i2c_hid_platform_data { |
| 37 | u16 hid_descriptor_address; | 36 | u16 hid_descriptor_address; |
| 38 | struct regulator *supply; | 37 | struct regulator_bulk_data supplies[2]; |
| 39 | int post_power_delay_ms; | 38 | int post_power_delay_ms; |
| 40 | }; | 39 | }; |
| 41 | 40 | ||
