public inbox for linuxppc-dev@ozlabs.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] ASoC: fsl: add bitcount and timestamp controls
@ 2026-02-12  7:22 Shengjiu Wang
  2026-02-12  7:22 ` [PATCH v2 1/2] ASoC: fsl_sai: " Shengjiu Wang
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Shengjiu Wang @ 2026-02-12  7:22 UTC (permalink / raw)
  To: shengjiu.wang, Xiubo.Lee, festevam, nicoleotsuka, lgirdwood,
	broonie, perex, tiwai, linux-sound, linuxppc-dev, linux-kernel

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-03-12 17:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-12  7:22 [PATCH v2 0/2] ASoC: fsl: add bitcount and timestamp controls Shengjiu Wang
2026-02-12  7:22 ` [PATCH v2 1/2] ASoC: fsl_sai: " Shengjiu Wang
2026-03-03  0:24   ` Mark Brown
2026-03-04  6:56     ` Shengjiu Wang
2026-02-12  7:22 ` [PATCH v2 2/2] ASoC: fsl_xcvr: " Shengjiu Wang
2026-03-12 17:34 ` [PATCH v2 0/2] ASoC: fsl: " Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox