summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorMatt Ranostay <mranostay@gmail.com>2015-08-16 23:04:53 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2015-08-16 23:22:01 -0700
commitefe3b616f88caa95dbe8636f4d0b3dcefca962bb (patch)
treec41fe9b4b02ba1204ffe5aade13c91682f7762c6 /Documentation
parent7229b87bb269c9e18cabbc43c5fb01c81d097b24 (diff)
downloadlinux-efe3b616f88caa95dbe8636f4d0b3dcefca962bb.tar.gz
linux-efe3b616f88caa95dbe8636f4d0b3dcefca962bb.tar.bz2
linux-efe3b616f88caa95dbe8636f4d0b3dcefca962bb.zip
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')
-rw-r--r--Documentation/devicetree/bindings/input/cap11xx.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/input/cap11xx.txt b/Documentation/devicetree/bindings/input/cap11xx.txt
index 7d0a3009771b..8c67a0b5058d 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";
+ };
};
}