xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/input/e3x0-button.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunNational Instruments Ettus Research USRP E3x0 button driver
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunThis module is part of the NI Ettus Research USRP E3x0 SDR.
4*4882a593Smuzhiyun
5*4882a593SmuzhiyunThis module provides a simple power button event via two interrupts.
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunRequired properties:
8*4882a593Smuzhiyun- compatible: should be one of the following
9*4882a593Smuzhiyun  - "ettus,e3x0-button": For devices such as the NI Ettus Research USRP E3x0
10*4882a593Smuzhiyun- interrupts: should be one of the following
11*4882a593Smuzhiyun  - <0 30 1>, <0 31 1>: For devices such as the NI Ettus Research USRP E3x0
12*4882a593Smuzhiyun- interrupt-names: should be one of the following
13*4882a593Smuzhiyun  - "press", "release": For devices such as the NI Ettus Research USRP E3x0
14*4882a593Smuzhiyun
15*4882a593SmuzhiyunNote: Interrupt numbers might vary depending on the FPGA configuration.
16*4882a593Smuzhiyun
17*4882a593SmuzhiyunExample:
18*4882a593Smuzhiyun	button {
19*4882a593Smuzhiyun		compatible = "ettus,e3x0-button";
20*4882a593Smuzhiyun		interrupt-parent = <&intc>;
21*4882a593Smuzhiyun		interrupts = <0 30 1>, <0 31 1>;
22*4882a593Smuzhiyun		interrupt-names = "press", "release";
23*4882a593Smuzhiyun	}
24