forked from ~ljy/RK356X_SDK_RELEASE

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