alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/3] DT binding for sample format conversion
@ 2022-08-08  5:27 Sameer Pujar
  2022-08-08  5:27 ` [PATCH v3 1/3] ASoC: dt-bindings: Definitions for DAI params Sameer Pujar
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Sameer Pujar @ 2022-08-08  5:27 UTC (permalink / raw)
  To: broonie, lgirdwood, robh+dt, krzysztof.kozlowski+dt, perex,
	tiwai, kuninori.morimoto.gx
  Cc: Sameer Pujar, devicetree, alsa-devel, linux-kernel

DT binding properties are available to fixup rate and channel
parameters of a DAI. This series extends this to sample format
conversion as well. With this now DAI PCM parameters (channels,
sample rate and sample format) can be fixed up as necessary in
an audio path.

Changelog:
==========
  v2->v3:
  -------
    * Fix DT binding errors in simple-card.yaml
    * Drop simple-card binding changes from the series since
      there is no usage requirement. It can be extended later
      when necessary.
    * Use definitions instead of properties in the common schema
      and re-use this in audio-graph related bindings.

  v1->v2:
  -------
    * Move DAI params properties to a new schema and re-use this
      for simple-card and audio-graph-card.
    * Use string type for DAI format binding as suggested by
      Krzysztof.


Sameer Pujar (3):
  ASoC: dt-bindings: Definitions for DAI params
  ASoC: dt-bindings: Add sample format conversion
  ASoC: simple-card-utils: Fixup DAI sample format

 .../bindings/sound/audio-graph-port.yaml           | 17 ++++-----
 .../devicetree/bindings/sound/audio-graph.yaml     |  9 ++---
 .../devicetree/bindings/sound/dai-params.yaml      | 40 ++++++++++++++++++++++
 include/sound/simple_card_utils.h                  |  1 +
 sound/soc/generic/simple-card-utils.c              | 34 ++++++++++++++++++
 5 files changed, 89 insertions(+), 12 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/sound/dai-params.yaml

-- 
2.7.4


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

end of thread, other threads:[~2022-08-15 16:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-08  5:27 [PATCH v3 0/3] DT binding for sample format conversion Sameer Pujar
2022-08-08  5:27 ` [PATCH v3 1/3] ASoC: dt-bindings: Definitions for DAI params Sameer Pujar
2022-08-08  5:27 ` [PATCH v3 2/3] ASoC: dt-bindings: Add sample format conversion Sameer Pujar
2022-08-09 20:15   ` Rob Herring
2022-08-08  5:27 ` [PATCH v3 3/3] ASoC: simple-card-utils: Fixup DAI sample format Sameer Pujar
2022-08-15 16:23 ` [PATCH v3 0/3] DT binding for sample format conversion Mark Brown

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).