dt-bindings: input: Specify the interrupt number of TPS65217 power button
authorMilo Kim <woogyom.kim@gmail.com>
Fri, 9 Dec 2016 06:28:33 +0000 (15:28 +0900)
committerTony Lindgren <tony@atomide.com>
Tue, 27 Dec 2016 18:06:00 +0000 (10:06 -0800)
Specify the power button interrupt number which is from the datasheet.

Signed-off-by: Milo Kim <woogyom.kim@gmail.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Documentation/devicetree/bindings/input/tps65218-pwrbutton.txt

index 3e5b979..8682ab6 100644 (file)
@@ -8,8 +8,9 @@ This driver provides a simple power button event via an Interrupt.
 Required properties:
 - compatible: should be "ti,tps65217-pwrbutton" or "ti,tps65218-pwrbutton"
 
-Required properties for TPS65218:
+Required properties:
 - interrupts: should be one of the following
+   - <2>: For controllers compatible with tps65217
    - <3 IRQ_TYPE_EDGE_BOTH>: For controllers compatible with tps65218
 
 Examples:
@@ -17,6 +18,7 @@ Examples:
 &tps {
        tps65217-pwrbutton {
                compatible = "ti,tps65217-pwrbutton";
+               interrupts = <2>;
        };
 };