All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robert Hancock <robert.hancock@calian.com>
To: alsa-devel@alsa-project.org
Cc: kuninori.morimoto.gx@renesas.com, michal.simek@xilinx.com,
	maruthi.srinivas.bayyavarapu@xilinx.com, tiwai@suse.com,
	Robert Hancock <robert.hancock@calian.com>,
	broonie@kernel.org
Subject: [PATCH v2 0/6] ASoC: Xilinx fixes
Date: Fri,  7 Jan 2022 15:47:05 -0600	[thread overview]
Message-ID: <20220107214711.1100162-1-robert.hancock@calian.com> (raw)

There are drivers in mainline for the Xilinx Audio Formatter and Xilinx
I2S IP cores. However, because of a few issues, these were only really
usable with Xilinx's xlnx_pl_snd_card top-level driver, which is not in
mainline (and not suitable for mainline).

The fixes in this patchset, for the simple-card layer as well as the 
Xilinx drivers, now allow these drivers to be properly used with
simple-card without any out-of-tree support code.

Changes since v1:
-formatting fixes
-renamed last_sysclk variables to sysclk
-require exact match for clock divisor rather than rounding to nearest
-broke out driver data structure change in xlnx_i2s to separate patch
-added constraints for sample rate based on sysclk to xlnx_i2s
-switched to separate function for DAI parsing for platforms in simple_card

Robert Hancock (6):
  ASoC: xilinx: xlnx_formatter_pcm: Make buffer bytes multiple of period
    bytes
  ASoC: xilinx: xlnx_formatter_pcm: Handle sysclk setting
  ASoC: xilinx: xlnx_i2s: create drvdata structure
  ASoC: xilinx: xlnx_i2s: Handle sysclk setting
  ASoC: simple-card: fix probe failure on platform component
  ASoC: simple-card-utils: Set sysclk on all components

 sound/soc/generic/simple-card-utils.c |  15 +++
 sound/soc/generic/simple-card.c       |  26 ++++-
 sound/soc/xilinx/xlnx_formatter_pcm.c |  52 ++++++++-
 sound/soc/xilinx/xlnx_i2s.c           | 147 +++++++++++++++++++-------
 4 files changed, 200 insertions(+), 40 deletions(-)

-- 
2.31.1


             reply	other threads:[~2022-01-07 21:48 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-07 21:47 Robert Hancock [this message]
2022-01-07 21:47 ` [PATCH v2 1/6] ASoC: xilinx: xlnx_formatter_pcm: Make buffer bytes multiple of period bytes Robert Hancock
2022-01-07 21:47 ` [PATCH v2 2/6] ASoC: xilinx: xlnx_formatter_pcm: Handle sysclk setting Robert Hancock
2022-01-10 14:46   ` Mark Brown
2022-01-10 18:28     ` Robert Hancock
2022-01-10 20:31       ` Mark Brown
2022-01-10 21:24         ` Robert Hancock
2022-01-11 13:13           ` Mark Brown
2022-01-07 21:47 ` [PATCH v2 3/6] ASoC: xilinx: xlnx_i2s: create drvdata structure Robert Hancock
2022-01-07 21:47 ` [PATCH v2 4/6] ASoC: xilinx: xlnx_i2s: Handle sysclk setting Robert Hancock
2022-01-07 21:47 ` [PATCH v2 5/6] ASoC: simple-card: fix probe failure on platform component Robert Hancock
2022-01-07 21:47 ` [PATCH v2 6/6] ASoC: simple-card-utils: Set sysclk on all components Robert Hancock
2022-01-10 15:51 ` (subset) [PATCH v2 0/6] ASoC: Xilinx fixes Mark Brown
2022-01-11 14:21 ` Mark Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220107214711.1100162-1-robert.hancock@calian.com \
    --to=robert.hancock@calian.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=kuninori.morimoto.gx@renesas.com \
    --cc=maruthi.srinivas.bayyavarapu@xilinx.com \
    --cc=michal.simek@xilinx.com \
    --cc=tiwai@suse.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.