]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - Documentation/devicetree/bindings/input/hid-over-i2c.txt
Merge remote-tracking branch 'drivers-x86/for-next'
[karo-tx-linux.git] / Documentation / devicetree / bindings / input / hid-over-i2c.txt
1 * HID over I2C Device-Tree bindings
2
3 HID over I2C provides support for various Human Interface Devices over the
4 I2C bus. These devices can be for example touchpads, keyboards, touch screens
5 or sensors.
6
7 The specification has been written by Microsoft and is currently available here:
8 http://msdn.microsoft.com/en-us/library/windows/hardware/hh852380.aspx
9
10 If this binding is used, the kernel module i2c-hid will handle the communication
11 with the device and the generic hid core layer will handle the protocol.
12
13 Required properties:
14 - compatible: must be "hid-over-i2c"
15 - reg: i2c slave address
16 - hid-descr-addr: HID descriptor address
17 - interrupt-parent: the phandle for the interrupt controller
18 - interrupts: interrupt line
19
20 Example:
21
22         i2c-hid-dev@2c {
23                 compatible = "hid-over-i2c";
24                 reg = <0x2c>;
25                 hid-descr-addr = <0x0020>;
26                 interrupt-parent = <&gpx3>;
27                 interrupts = <3 2>;
28         };