Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 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 | - interrupts: should be one of the following |
| 11 | - <0 30 1>, <0 31 1>: For devices such as the NI Ettus Research USRP E3x0 |
| 12 | - interrupt-names: should be one of the following |
| 13 | - "press", "release": For devices such as the NI Ettus Research USRP E3x0 |
| 14 | |
| 15 | Note: Interrupt numbers might vary depending on the FPGA configuration. |
| 16 | |
| 17 | Example: |
| 18 | button { |
| 19 | compatible = "ettus,e3x0-button"; |
| 20 | interrupt-parent = <&intc>; |
| 21 | interrupts = <0 30 1>, <0 31 1>; |
| 22 | interrupt-names = "press", "release"; |
| 23 | } |