Skip to content

DT binding for sample format conversion

Sameer Pujar alsa-devel linux-devicetree lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 3 repliesIn review
  2. v23 patches 6 repliesSuperseded
  3. v12 patches 3 repliesSuperseded

Changes in v3 from the cover letter

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

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ASoC: dt-bindings: Definitions for DAI paramsDocumentation/devicetree/bindings/sound/audio-graph-port.yaml Documentation/devicetree/bindings/sound/audio-graph.yaml Documentation/devicetree/bindings/sound/dai-params.yaml+38 -121 reply
2/3ASoC: dt-bindings: Add sample format conversionDocumentation/devicetree/bindings/sound/audio-graph-port.yaml Documentation/devicetree/bindings/sound/audio-graph.yaml Documentation/devicetree/bindings/sound/dai-params.yaml+16 -01 reply
3/3ASoC: simple-card-utils: Fixup DAI sample formatinclude/sound/simple_card_utils.h sound/soc/generic/simple-card-utils.c+35 -00 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchRob Herring
1/3R-b
2/3R-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/3] DT binding for sample format conversion

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
Signature · 1 line
2.7.4