summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>2013-06-13 09:50:35 +0200
committerJiri Kosina <jkosina@suse.cz>2013-07-31 12:10:31 +0200
commit3d7d248cf484fe37595698e0ca31a9bcecc85a42 (patch)
tree33b668ffdf0409e3efda2b6f12a3ffe1e57aa87b /include
parent3366dd9fa887ebbda4872e9554f853eaeda764be (diff)
downloadlinux-stable-3d7d248cf484fe37595698e0ca31a9bcecc85a42.tar.gz
linux-stable-3d7d248cf484fe37595698e0ca31a9bcecc85a42.tar.bz2
linux-stable-3d7d248cf484fe37595698e0ca31a9bcecc85a42.zip
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>
Diffstat (limited to 'include')
-rw-r--r--include/linux/i2c/i2c-hid.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/i2c/i2c-hid.h b/include/linux/i2c/i2c-hid.h
index 60e411d764d4..7aa901d92058 100644
--- a/include/linux/i2c/i2c-hid.h
+++ b/include/linux/i2c/i2c-hid.h
@@ -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: