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