From 0384e7dd67fdb3d0199b741daecc3d4d0b0d3124 Mon Sep 17 00:00:00 2001 From: Caesar Wang Date: Fri, 2 Dec 2016 14:18:59 -0800 Subject: [PATCH] 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 Cc: Rob Herring Cc: Jiri Kosina Cc: linux-input@vger.kernel.org Signed-off-by: Brian Norris Acked-by: Benjamin Tissoires Signed-off-by: Jiri Kosina --- Documentation/devicetree/bindings/input/hid-over-i2c.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/input/hid-over-i2c.txt b/Documentation/devicetree/bindings/input/hid-over-i2c.txt index 488edcb264c4..1ea290167652 100644 --- a/Documentation/devicetree/bindings/input/hid-over-i2c.txt +++ b/Documentation/devicetree/bindings/input/hid-over-i2c.txt @@ -17,6 +17,11 @@ Required properties: - interrupt-parent: the phandle for the interrupt controller - interrupts: interrupt line +Optional properties: +- vdd-supply: phandle of the regulator that provides the supply voltage. +- init-delay-ms: time required by the device after power-on before it is ready + for communication. + Example: i2c-hid-dev@2c {