diff options
author | Caesar Wang <[email protected]> | 2017-02-09 18:03:56 -0800 |
---|---|---|
committer | Jiri Kosina <[email protected]> | 2017-03-06 13:48:44 +0100 |
commit | cb5cfd91a7ae5ae355e657e5ce4931836b7665eb (patch) | |
tree | de926ac001ac7c3e1af51b45609926fd74515654 | |
parent | 81bbef23db51c0b450d90607fbbc2ad80ee0d43f (diff) |
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: Caesar Wang <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Jiri Kosina <[email protected]>
Cc: [email protected]
Signed-off-by: Brian Norris <[email protected]>
Acked-by: Rob Herring <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
-rw-r--r-- | Documentation/devicetree/bindings/input/hid-over-i2c.txt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/input/hid-over-i2c.txt b/Documentation/devicetree/bindings/input/hid-over-i2c.txt index 488edcb264c4..28e8bd8b7d64 100644 --- a/Documentation/devicetree/bindings/input/hid-over-i2c.txt +++ b/Documentation/devicetree/bindings/input/hid-over-i2c.txt @@ -17,6 +17,22 @@ Required properties: - interrupt-parent: the phandle for the interrupt controller - 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: i2c-hid-dev@2c { |