hid-over-i2c.txt 886 B

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