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 <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> Acked-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
parent
00f7fea5da
commit
0384e7dd67
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user