Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
26 lines
905 B
Plaintext
26 lines
905 B
Plaintext
National Instruments Ettus Research USRP E3x0 button driver
|
|
|
|
This module is part of the NI Ettus Research USRP E3x0 SDR.
|
|
|
|
This module provides a simple power button event via two interrupts.
|
|
|
|
Required properties:
|
|
- compatible: should be one of the following
|
|
- "ettus,e3x0-button": For devices such as the NI Ettus Research USRP E3x0
|
|
- interrupt-parent:
|
|
- a phandle to the interrupt controller that it is attached to.
|
|
- interrupts: should be one of the following
|
|
- <0 30 1>, <0 31 1>: For devices such as the NI Ettus Research USRP E3x0
|
|
- interrupt-names: should be one of the following
|
|
- "press", "release": For devices such as the NI Ettus Research USRP E3x0
|
|
|
|
Note: Interrupt numbers might vary depending on the FPGA configuration.
|
|
|
|
Example:
|
|
button {
|
|
compatible = "ettus,e3x0-button";
|
|
interrupt-parent = <&intc>;
|
|
interrupts = <0 30 1>, <0 31 1>;
|
|
interrupt-names = "press", "release";
|
|
}
|