[PATCH v2 0/2] ASoC: fsl: add bitcount and timestamp controls
From: Shengjiu Wang
Date: Thu Feb 12 2026 - 02:21:25 EST
The SAI and XCVR have the timestamp counters and bit counters, which can
be used by software to track the progress of the transmitter and receiver.
They can also be used to calculate the relative frequency of the bit clock
against the bus interface clock.
Changes in v2:
- remove arrays of enums, define transmit_tstmp_enum and receive_tstmp_enum
separately.
- remove __bf_shf(), define the XXX_SHIFT macros.
Shengjiu Wang (2):
ASoC: fsl_sai: add bitcount and timestamp controls
ASoC: fsl_xcvr: add bitcount and timestamp controls
sound/soc/fsl/fsl_sai.c | 50 +++++++++++++++++++++++++++++++++++
sound/soc/fsl/fsl_sai.h | 4 +++
sound/soc/fsl/fsl_xcvr.c | 56 ++++++++++++++++++++++++++++++++++++++++
sound/soc/fsl/fsl_xcvr.h | 18 +++++++++++++
4 files changed, 128 insertions(+)
--
2.34.1