public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] devicetree: i2c-hid: Add regulator support
@ 2016-12-02 22:18 Brian Norris
  2016-12-02 22:19 ` [PATCH 2/2] HID: i2c-hid: support regulator power on/off Brian Norris
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Brian Norris @ 2016-12-02 22:18 UTC (permalink / raw)
  To: Jiri Kosina, Benjamin Tissoires
  Cc: Caesar Wang, linux-rockchip, Rob Herring, linux-input, devicetree,
	linux-kernel, Dmitry Torokhov, Mark Rutland, Doug Anderson,
	Brian Norris

From: Caesar Wang <wxt@rock-chips.com>

Document a "vdd-supply" and an initialization delay. Can be used for
powering on/off a HID.

Signed-off-by: Caesar 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: Brian Norris <briannorris@chromium.org>
---
v2:
 * add compatible property for wacom, per Rob's request
 * name the regulator property specifically (VDD)

v3:
 * remove wacom property, per Benjamin's request
 * add delay property

v4: no change
---
 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 {
-- 
2.8.0.rc3.226.g39d4020

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-12-09 14:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-02 22:18 [PATCH 1/2] devicetree: i2c-hid: Add regulator support Brian Norris
2016-12-02 22:19 ` [PATCH 2/2] HID: i2c-hid: support regulator power on/off Brian Norris
2016-12-02 23:00   ` Dmitry Torokhov
2016-12-05  9:14     ` Benjamin Tissoires
2016-12-05  9:08 ` [PATCH 1/2] devicetree: i2c-hid: Add regulator support Benjamin Tissoires
2016-12-09 12:17 ` Jiri Kosina
2016-12-09 14:23   ` Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox