linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] ASoC: fsl_asrc: allow selecting arbitrary clocks
@ 2020-07-02 14:22 Arnaud Ferraris
  2020-07-02 14:22 ` [PATCH 1/4] dt-bindings: sound: fsl,asrc: add properties to select in/out clocks Arnaud Ferraris
                   ` (4 more replies)
  0 siblings, 5 replies; 22+ messages in thread
From: Arnaud Ferraris @ 2020-07-02 14:22 UTC (permalink / raw)
  Cc: kernel, Liam Girdwood, Mark Brown, Rob Herring, Timur Tabi,
	Nicolin Chen, Xiubo Li, Fabio Estevam, Jaroslav Kysela,
	Takashi Iwai, alsa-devel, devicetree, linux-kernel, linuxppc-dev

The current ASRC driver hardcodes the input and output clocks used for
sample rate conversions. In order to allow greater flexibility and to
cover more use cases, it would be preferable to select the clocks using
device-tree properties.

This series also fix register configuration and clock assignment so
conversion can be conducted effectively in both directions with a good
quality.

Arnaud Ferraris (4):
  dt-bindings: sound: fsl,asrc: add properties to select in/out clocks
  ASoC: fsl_asrc: allow using arbitrary input and output clocks
  ASoC: fsl_asrc: always use ratio for conversion
  ASoC: fsl_asrc: swap input and output clocks in capture mode

 Documentation/devicetree/bindings/sound/fsl,asrc.txt |  8 ++++++++
 sound/soc/fsl/fsl_asrc.c                             | 69 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----
 sound/soc/fsl/fsl_asrc_common.h                      |  3 +++
 3 files changed, 75 insertions(+), 5 deletions(-)



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

end of thread, other threads:[~2020-07-23  5:46 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-02 14:22 [PATCH 0/4] ASoC: fsl_asrc: allow selecting arbitrary clocks Arnaud Ferraris
2020-07-02 14:22 ` [PATCH 1/4] dt-bindings: sound: fsl,asrc: add properties to select in/out clocks Arnaud Ferraris
2020-07-02 14:22 ` [PATCH 2/4] ASoC: fsl_asrc: allow using arbitrary input and output clocks Arnaud Ferraris
2020-07-02 14:22 ` [PATCH 3/4] ASoC: fsl_asrc: always use ratio for conversion Arnaud Ferraris
2020-07-02 14:22 ` [PATCH 4/4] ASoC: fsl_asrc: swap input and output clocks in capture mode Arnaud Ferraris
2020-07-02 18:42 ` [PATCH 0/4] ASoC: fsl_asrc: allow selecting arbitrary clocks Nicolin Chen
2020-07-03  9:38   ` Arnaud Ferraris
2020-07-14 16:20     ` Arnaud Ferraris
2020-07-14 20:15       ` Nicolin Chen
2020-07-14 20:27         ` Mark Brown
2020-07-14 20:50           ` Nicolin Chen
2020-07-15 14:05             ` Mark Brown
2020-07-15 16:18               ` Arnaud Ferraris
2020-07-15 16:22                 ` Mark Brown
2020-07-15 16:32                   ` Arnaud Ferraris
2020-07-15 20:46                 ` Nicolin Chen
2020-07-16  9:54                   ` Arnaud Ferraris
2020-07-15 21:03               ` Nicolin Chen
2020-07-16 12:18                 ` Mark Brown
2020-07-16 14:26                   ` Arnaud Ferraris
2020-07-17 11:16   ` Arnaud Ferraris
2020-07-23  5:46     ` Nicolin Chen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).