Commit 82038157 authored by Milo Kim's avatar Milo Kim Committed by Tony Lindgren
Browse files

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



Specify the power button interrupt number which is from the datasheet.

Signed-off-by: default avatarMilo Kim <woogyom.kim@gmail.com>
Acked-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 81d7358d
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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>;
	};
};