Commit cb5cfd91 authored by Caesar Wang's avatar Caesar Wang Committed by Jiri Kosina

devicetree: i2c-hid: Add regulator support

Document a "vdd-supply" and an initialization delay. Can be used for
powering on/off a HID.
Signed-off-by: default avatarCaesar Wang <wxt@rock-chips.com>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Jiri Kosina <jikos@kernel.org>
Cc: linux-input@vger.kernel.org
Signed-off-by: default avatarBrian Norris <briannorris@chromium.org>
Acked-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 81bbef23
...@@ -17,6 +17,22 @@ Required properties: ...@@ -17,6 +17,22 @@ Required properties:
- interrupt-parent: the phandle for the interrupt controller - interrupt-parent: the phandle for the interrupt controller
- interrupts: interrupt line - interrupts: interrupt line
Additional optional properties:
Some devices may support additional optional properties to help with, e.g.,
power sequencing. The following properties can be supported by one or more
device-specific compatible properties, which should be used in addition to the
"hid-over-i2c" string.
- compatible:
* "wacom,w9013" (Wacom W9013 digitizer). Supports:
- vdd-supply
- post-power-on-delay-ms
- vdd-supply: phandle of the regulator that provides the supply voltage.
- post-power-on-delay-ms: time required by the device after enabling its regulators
before it is ready for communication. Must be used with 'vdd-supply'.
Example: Example:
i2c-hid-dev@2c { i2c-hid-dev@2c {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment