From: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
To: Vinod Koul <vinod.koul@intel.com>, Greg KH <gregkh@linuxfoundation.org>
Cc: liam.r.girdwood@linux.intel.com, tiwai@suse.de,
ALSA <alsa-devel@alsa-project.org>,
broonie@kernel.org, patches.audio@intel.com
Subject: Re: [PATCH v4 00/13] soundwire: Add stream support
Date: Sat, 21 Apr 2018 07:08:48 -0700 [thread overview]
Message-ID: <51a18a99-6cff-0072-f004-0ab0f258aad2@linux.intel.com> (raw)
In-Reply-To: <1524049146-8725-1-git-send-email-vinod.koul@intel.com>
On 4/18/18 3:58 AM, Vinod Koul wrote:
> This series adds support in SoundWire subsystem for:
> - Documentation for stream support
> - stream management
> - data port management
> - DAI ops in cadence and Intel drivers
> - ASoC API to propagate SDW stream
>
> Updates in v4:
> - Add more comments for sdw_release_master_stream()
> - Make sure ports are freed upon sdw_stream_remove_slave()
> - Clarify snd_soc_dai_set_sdw_stream() and setting of NULL upon release.
Still a couple of precisions needed to make the code self-explanatory,
clarify a set of error handling and and fix the device-to-device channel
count issues.
I am still a bit lost on how ASoC will make use of the 'stream' concept.
The documentation mentions that the master and slave drivers will call
the APIs independently, but the order of the processing is still not
clear, who allocates the stream is still confusing and how all these
independent drivers get a hold of the 'stream' pointer isn't explained.
>
> Updates in v3:
> - Remove stream state transition checks and redefine stream states
> - Update bansk switch routines
> - Other nitpicks pointed out by Pierre.
>
> Updates in v2:
> - Make ASoC API inlined
> - Make stream states as states and not action
> - Update the direction enum
> - Fix some typos and comment updates
>
> Sanyog Kale (7):
> Documentation: soundwire: Add more documentation
> soundwire: Add support for SoundWire stream management
> soundwire: Add support for port management
> soundwire: Add Master and Slave port programming
> soundwire: Add helpers for ports operations
> soundwire: Add bank switch routine
> soundwire: Add stream configuration APIs
>
> Shreyas NC (2):
> ASoC: Add SoundWire stream programming interface
> soundwire: Remove cdns_master_ops
>
> Vinod Koul (4):
> soundwire: cdns: Add port routines
> soundwire: cdns: Add stream routines
> soundwire: intel: Add stream initialization
> soundwire: intel: Add audio DAI ops
>
> .../driver-api/soundwire/error_handling.rst | 65 +
> Documentation/driver-api/soundwire/index.rst | 3 +
> Documentation/driver-api/soundwire/locking.rst | 106 ++
> Documentation/driver-api/soundwire/stream.rst | 372 +++++
> drivers/soundwire/Kconfig | 2 +-
> drivers/soundwire/Makefile | 2 +-
> drivers/soundwire/bus.c | 43 +
> drivers/soundwire/bus.h | 72 +
> drivers/soundwire/cadence_master.c | 453 +++++-
> drivers/soundwire/cadence_master.h | 151 ++
> drivers/soundwire/intel.c | 528 ++++++-
> drivers/soundwire/intel.h | 4 +
> drivers/soundwire/intel_init.c | 3 +
> drivers/soundwire/stream.c | 1480 ++++++++++++++++++++
> include/linux/soundwire/sdw.h | 332 ++++-
> include/linux/soundwire/sdw_intel.h | 14 +
> include/sound/soc-dai.h | 23 +
> 17 files changed, 3639 insertions(+), 14 deletions(-)
> create mode 100644 Documentation/driver-api/soundwire/error_handling.rst
> create mode 100644 Documentation/driver-api/soundwire/locking.rst
> create mode 100644 Documentation/driver-api/soundwire/stream.rst
> create mode 100644 drivers/soundwire/stream.c
>
prev parent reply other threads:[~2018-04-21 15:02 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-18 10:58 [PATCH v4 00/13] soundwire: Add stream support Vinod Koul
2018-04-18 10:58 ` [PATCH v4 01/13] Documentation: soundwire: Add more documentation Vinod Koul
2018-04-18 10:58 ` [PATCH v4 02/13] soundwire: Add support for SoundWire stream management Vinod Koul
2018-04-21 13:02 ` Pierre-Louis Bossart
2018-04-21 16:17 ` Vinod Koul
2018-04-23 13:25 ` Pierre-Louis Bossart
2018-04-24 9:02 ` Vinod Koul
2018-04-24 9:25 ` Vinod Koul
2018-04-18 10:58 ` [PATCH v4 03/13] soundwire: Add support for port management Vinod Koul
2018-04-18 10:58 ` [PATCH v4 04/13] soundwire: Add Master and Slave port programming Vinod Koul
2018-04-18 10:58 ` [PATCH v4 05/13] soundwire: Add helpers for ports operations Vinod Koul
2018-04-21 13:39 ` Pierre-Louis Bossart
2018-04-21 15:54 ` Vinod Koul
2018-04-21 13:47 ` Pierre-Louis Bossart
2018-04-21 15:53 ` Vinod Koul
2018-04-23 13:27 ` Pierre-Louis Bossart
2018-04-24 9:03 ` Vinod Koul
2018-04-18 10:58 ` [PATCH v4 06/13] soundwire: Add bank switch routine Vinod Koul
2018-04-18 10:59 ` [PATCH v4 07/13] soundwire: Add stream configuration APIs Vinod Koul
2018-04-21 13:56 ` Pierre-Louis Bossart
2018-04-21 16:13 ` Vinod Koul
2018-04-23 3:45 ` Sanyog Kale
2018-04-24 9:09 ` Vinod Koul
2018-04-23 13:30 ` Pierre-Louis Bossart
2018-04-18 10:59 ` [PATCH v4 08/13] ASoC: Add SoundWire stream programming interface Vinod Koul
2018-04-21 13:59 ` Pierre-Louis Bossart
2018-04-21 15:58 ` Vinod Koul
2018-04-23 13:33 ` Pierre-Louis Bossart
2018-04-24 9:06 ` Vinod Koul
2018-04-24 23:40 ` Pierre-Louis Bossart
2018-04-25 2:49 ` Vinod Koul
2018-04-25 15:08 ` Pierre-Louis Bossart
2018-04-18 10:59 ` [PATCH v4 09/13] soundwire: Remove cdns_master_ops Vinod Koul
2018-04-18 10:59 ` [PATCH v4 10/13] soundwire: cdns: Add port routines Vinod Koul
2018-04-18 10:59 ` [PATCH v4 11/13] soundwire: cdns: Add stream routines Vinod Koul
2018-04-18 10:59 ` [PATCH v4 12/13] soundwire: intel: Add stream initialization Vinod Koul
2018-04-18 10:59 ` [PATCH v4 13/13] soundwire: intel: Add audio DAI ops Vinod Koul
2018-04-21 14:08 ` Pierre-Louis Bossart [this message]
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=51a18a99-6cff-0072-f004-0ab0f258aad2@linux.intel.com \
--to=pierre-louis.bossart@linux.intel.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=liam.r.girdwood@linux.intel.com \
--cc=patches.audio@intel.com \
--cc=tiwai@suse.de \
--cc=vinod.koul@intel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox