Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1534593
| From | Brian Norris <briannorris@chromium.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v3 1/2] devicetree: i2c-hid: Add regulator support |
| Date | 2016-12-02 01:40 +0100 |
| Message-ID | <sJK3n-4BW-11@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
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
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
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH v3 1/2] devicetree: i2c-hid: Add regulator support Brian Norris <briannorris@chromium.org> - 2016-12-02 01:40 +0100
Re: [PATCH v3 2/2] HID: i2c-hid: support regulator power on/off Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2016-12-02 01:40 +0100
Re: [PATCH v3 2/2] HID: i2c-hid: support regulator power on/off Brian Norris <briannorris@chromium.org> - 2016-12-02 01:50 +0100
Re: [PATCH v3 2/2] HID: i2c-hid: support regulator power on/off Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2016-12-02 02:20 +0100
Re: [PATCH v3 2/2] HID: i2c-hid: support regulator power on/off Brian Norris <briannorris@chromium.org> - 2016-12-02 04:00 +0100
[PATCH v3 2/2] HID: i2c-hid: support regulator power on/off Brian Norris <briannorris@chromium.org> - 2016-12-02 01:40 +0100
csiph-web