Skip to content

Commit 7f2e3ea

Browse files
havmindgregkh
authored andcommitted
dt-bindings: counter: ftm-quaddec
FlexTimer quadrature decoder driver. Reviewed-by: Esben Haabendal <[email protected]> Signed-off-by: Patrick Havelange <[email protected]> Signed-off-by: William Breathitt Gray <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent d4c5c46 commit 7f2e3ea

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
FlexTimer Quadrature decoder counter
2+
3+
This driver exposes a simple counter for the quadrature decoder mode.
4+
5+
Required properties:
6+
- compatible: Must be "fsl,ftm-quaddec".
7+
- reg: Must be set to the memory region of the flextimer.
8+
9+
Optional property:
10+
- big-endian: Access the device registers in big-endian mode.
11+
12+
Example:
13+
counter0: counter@29d0000 {
14+
compatible = "fsl,ftm-quaddec";
15+
reg = <0x0 0x29d0000 0x0 0x10000>;
16+
big-endian;
17+
status = "disabled";
18+
};

0 commit comments

Comments
 (0)