diff options
author | Matt Ranostay <mranostay@gmail.com> | 2015-08-16 23:04:53 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2015-08-16 23:22:01 -0700 |
commit | efe3b616f88caa95dbe8636f4d0b3dcefca962bb (patch) | |
tree | c41fe9b4b02ba1204ffe5aade13c91682f7762c6 /Documentation/devicetree/bindings | |
parent | 7229b87bb269c9e18cabbc43c5fb01c81d097b24 (diff) | |
download | op-kernel-dev-efe3b616f88caa95dbe8636f4d0b3dcefca962bb.zip op-kernel-dev-efe3b616f88caa95dbe8636f4d0b3dcefca962bb.tar.gz |
Input: cap11xx - add LED support
Several cap11xx variants have LEDs that be can be controlled; let's plug
the driver into the LED subsystem.
Signed-off-by: Matt Ranostay <mranostay@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'Documentation/devicetree/bindings')
-rw-r--r-- | Documentation/devicetree/bindings/input/cap11xx.txt | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/input/cap11xx.txt b/Documentation/devicetree/bindings/input/cap11xx.txt index 7d0a300..8c67a0b 100644 --- a/Documentation/devicetree/bindings/input/cap11xx.txt +++ b/Documentation/devicetree/bindings/input/cap11xx.txt @@ -55,5 +55,24 @@ i2c_controller { <105>, /* KEY_LEFT */ <109>, /* KEY_PAGEDOWN */ <104>; /* KEY_PAGEUP */ + + #address-cells = <1>; + #size-cells = <0>; + + usr@0 { + label = "cap11xx:green:usr0"; + reg = <0>; + }; + + usr@1 { + label = "cap11xx:green:usr1"; + reg = <1>; + }; + + alive@2 { + label = "cap11xx:green:alive"; + reg = <2>; + linux,default_trigger = "heartbeat"; + }; }; } |