mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-23 05:56:14 -04:00
HID: i2c-hid: add DT bindings
Add device tree based support for HID over I2C devices. Tested on an Odroid-X board with a Synaptics touchpad. Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
committed by
Jiri Kosina
parent
3366dd9fa8
commit
3d7d248cf4
@@ -19,7 +19,8 @@
|
||||
* @hid_descriptor_address: i2c register where the HID descriptor is stored.
|
||||
*
|
||||
* Note that it is the responsibility of the platform driver (or the acpi 5.0
|
||||
* driver) to setup the irq related to the gpio in the struct i2c_board_info.
|
||||
* driver, or the flattened device tree) to setup the irq related to the gpio in
|
||||
* the struct i2c_board_info.
|
||||
* The platform driver should also setup the gpio according to the device:
|
||||
*
|
||||
* A typical example is the following:
|
||||
|
||||
Reference in New Issue
Block a user