[PATCH 1/2] dt-bindings: add the regulator optional properties

Caesar Wang wxt at rock-chips.com
Sun Sep 4 15:11:55 PDT 2016


Add the regulator properties that will be used to power on/off
the regulator.

Signed-off-by: Caesar Wang <wxt at rock-chips.com>
Cc: Rob Herring <robh+dt at kernel.org>
Cc: Jiri Kosina <jikos at kernel.org>
Cc: linux-input at vger.kernel.org
---

 Documentation/devicetree/bindings/input/hid-over-i2c.txt | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/input/hid-over-i2c.txt b/Documentation/devicetree/bindings/input/hid-over-i2c.txt
index 488edcb..e648e44 100644
--- a/Documentation/devicetree/bindings/input/hid-over-i2c.txt
+++ b/Documentation/devicetree/bindings/input/hid-over-i2c.txt
@@ -17,6 +17,9 @@ Required properties:
 - interrupt-parent: the phandle for the interrupt controller
 - interrupts: interrupt line
 
+Optional properties:
+- power-supply: phandle of the regulator that provides the supply voltage.
+
 Example:
 
 	i2c-hid-dev at 2c {
-- 
1.9.1




More information about the Linux-rockchip mailing list