From: Sameer Pujar <spujar@nvidia.com>
To: <broonie@kernel.org>, <lgirdwood@gmail.com>, <robh+dt@kernel.org>,
<krzysztof.kozlowski+dt@linaro.org>, <perex@perex.cz>,
<tiwai@suse.com>, <kuninori.morimoto.gx@renesas.com>
Cc: <alsa-devel@alsa-project.org>, <devicetree@vger.kernel.org>,
<linux-kernel@vger.kernel.org>, Sameer Pujar <spujar@nvidia.com>
Subject: [PATCH v2 0/3] DT binding for sample format conversion
Date: Mon, 1 Aug 2022 21:37:29 +0530 [thread overview]
Message-ID: <1659370052-18966-1-git-send-email-spujar@nvidia.com> (raw)
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:
==========
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: Add schema for common 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 | 38 ++++++++++++++++++++++
.../devicetree/bindings/sound/simple-card.yaml | 20 +++++-------
include/sound/simple_card_utils.h | 1 +
sound/soc/generic/simple-card-utils.c | 34 +++++++++++++++++++
6 files changed, 95 insertions(+), 24 deletions(-)
create mode 100644 Documentation/devicetree/bindings/sound/dai-params.yaml
--
2.7.4
next reply other threads:[~2022-08-01 16:08 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-01 16:07 Sameer Pujar [this message]
2022-08-01 16:07 ` [PATCH v2 1/3] ASoC: dt-bindings: Add schema for common DAI params Sameer Pujar
2022-08-01 19:30 ` Rob Herring
2022-08-02 10:45 ` Sameer Pujar
2022-08-02 14:46 ` Rob Herring
2022-08-01 16:07 ` [PATCH v2 2/3] ASoC: dt-bindings: Add sample format conversion Sameer Pujar
2022-08-02 14:50 ` Rob Herring
2022-08-01 16:07 ` [PATCH v2 3/3] ASoC: simple-card-utils: Fixup DAI sample format Sameer Pujar
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=1659370052-18966-1-git-send-email-spujar@nvidia.com \
--to=spujar@nvidia.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=kuninori.morimoto.gx@renesas.com \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=perex@perex.cz \
--cc=robh+dt@kernel.org \
--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 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).