Merge tag 'tegra-for-4.8-i2c' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra...
[cascardo/linux.git] / Documentation / devicetree / bindings / input / e3x0-button.txt
1 National Instruments Ettus Research USRP E3x0 button driver
2
3 This module is part of the NI Ettus Research USRP E3x0 SDR.
4
5 This module provides a simple power button event via two interrupts.
6
7 Required properties:
8 - compatible: should be one of the following
9   - "ettus,e3x0-button": For devices such as the NI Ettus Research USRP E3x0
10 - interrupt-parent:
11   - a phandle to the interrupt controller that it is attached to.
12 - interrupts: should be one of the following
13   - <0 30 1>, <0 31 1>: For devices such as the NI Ettus Research USRP E3x0
14 - interrupt-names: should be one of the following
15   - "press", "release": For devices such as the NI Ettus Research USRP E3x0
16
17 Note: Interrupt numbers might vary depending on the FPGA configuration.
18
19 Example:
20         button {
21                 compatible = "ettus,e3x0-button";
22                 interrupt-parent = <&intc>;
23                 interrupts = <0 30 1>, <0 31 1>;
24                 interrupt-names = "press", "release";
25         }