1 # SPDX-License-Identifier: GPL-2.0-only
4 $id: http://devicetree.org/schemas/input/hid-over-i2c.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: HID over I2C Devices
10 - Benjamin Tissoires <benjamin.tissoires@redhat.com>
11 - Jiri Kosina <jkosina@suse.cz>
14 HID over I2C provides support for various Human Interface Devices over the
15 I2C bus. These devices can be for example touchpads, keyboards, touch screens
18 The specification has been written by Microsoft and is currently available here:
19 https://msdn.microsoft.com/en-us/library/windows/hardware/hh852380.aspx
21 If this binding is used, the kernel module i2c-hid will handle the communication
22 with the device and the generic hid core layer will handle the protocol.
25 - $ref: /schemas/input/touchscreen/touchscreen.yaml#
34 - description: Just "hid-over-i2c" alone is allowed, but not recommended.
44 description: HID descriptor address
45 $ref: /schemas/types.yaml#/definitions/uint32
49 post-power-on-delay-ms:
50 description: Time required by the device after enabling its regulators
51 or powering it on, before it is ready for communication.
53 touchscreen-inverted-x: true
55 touchscreen-inverted-y: true
58 description: 3.3V supply
61 description: 1.8V supply
70 additionalProperties: false
79 compatible = "hid-over-i2c";
81 hid-descr-addr = <0x0020>;