Commit 2bc4d1c9578454d1fae8fb731c50ad1f30656f69

Authored by Milo Kim
Committed by Greg Kroah-Hartman
1 parent b1164693f7

dt-bindings: input: Specify the interrupt number of TPS65217 power button

[ Upstream commit 820381572fc015baa4f5744f5d4583ec0c0f1b82 ]

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>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

Showing 1 changed file with 3 additions and 1 deletions Side-by-side Diff

Documentation/devicetree/bindings/input/tps65218-pwrbutton.txt
... ... @@ -8,8 +8,9 @@
8 8 Required properties:
9 9 - compatible: should be "ti,tps65217-pwrbutton" or "ti,tps65218-pwrbutton"
10 10  
11   -Required properties for TPS65218:
  11 +Required properties:
12 12 - interrupts: should be one of the following
  13 + - <2>: For controllers compatible with tps65217
13 14 - <3 IRQ_TYPE_EDGE_BOTH>: For controllers compatible with tps65218
14 15  
15 16 Examples:
... ... @@ -17,6 +18,7 @@
17 18 &tps {
18 19 tps65217-pwrbutton {
19 20 compatible = "ti,tps65217-pwrbutton";
  21 + interrupts = <2>;
20 22 };
21 23 };
22 24