hid-over-i2c.txt 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. - interrupts: interrupt line
  14. Additional optional properties:
  15. Some devices may support additional optional properties to help with, e.g.,
  16. power sequencing. The following properties can be supported by one or more
  17. device-specific compatible properties, which should be used in addition to the
  18. "hid-over-i2c" string.
  19. - compatible:
  20. * "wacom,w9013" (Wacom W9013 digitizer). Supports:
  21. - vdd-supply (3.3V)
  22. - vddl-supply (1.8V)
  23. - post-power-on-delay-ms
  24. - vdd-supply: phandle of the regulator that provides the supply voltage.
  25. - post-power-on-delay-ms: time required by the device after enabling its regulators
  26. or powering it on, before it is ready for communication.
  27. Example:
  28. i2c-hid-dev@2c {
  29. compatible = "hid-over-i2c";
  30. reg = <0x2c>;
  31. hid-descr-addr = <0x0020>;
  32. interrupt-parent = <&gpx3>;
  33. interrupts = <3 2>;
  34. };