Lines Matching +full:interrupt +full:- +full:counter
1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/counter/interrupt-counter.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Interrupt counter
10 - Oleksij Rempel <o.rempel@pengutronix.de>
13 A generic interrupt counter to measure interrupt frequency. It was developed
17 Interrupts or gpios are required. If both are defined, the interrupt will
22 const: interrupt-counter
31 - compatible
34 - required: [ interrupts-extended ]
35 - required: [ interrupts ]
36 - required: [ gpios ]
41 - |
43 #include <dt-bindings/interrupt-controller/irq.h>
44 #include <dt-bindings/gpio/gpio.h>
46 counter-0 {
47 compatible = "interrupt-counter";
48 interrupts-extended = <&gpio 0 IRQ_TYPE_EDGE_RISING>;
51 counter-1 {
52 compatible = "interrupt-counter";
56 counter-2 {
57 compatible = "interrupt-counter";
58 interrupts-extended = <&gpio 2 IRQ_TYPE_EDGE_RISING>;