Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 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 | }; |