From: Maxime Coquelin <maxime.coquelin@st.com>
To: Arnaud Pouliquen <arnaud.pouliquen@st.com>, alsa-devel@alsa-project.org
Cc: broonie@kernel.org, lgirdwood@gmail.com, kernel@stlinux.com
Subject: Re: [STLinux Kernel] [PATCH v3 1/9] ASoC: sti: add binding for ASoC driver
Date: Mon, 22 Jun 2015 17:04:42 +0200 [thread overview]
Message-ID: <5588240A.9090300@st.com> (raw)
In-Reply-To: <1434983473-25092-2-git-send-email-arnaud.pouliquen@st.com>
Hi Arnaud,
On 06/22/2015 04:31 PM, Arnaud Pouliquen wrote:
> Add ASoC driver bindings documentation.
> Describe the required properties for each of the hardware IPs drivers.
>
> Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
> ---
> .../devicetree/bindings/sound/st,sti-asoc-card.txt | 155 +++++++++++++++++++++
> 1 file changed, 155 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/sound/st,sti-asoc-card.txt
>
> diff --git a/Documentation/devicetree/bindings/sound/st,sti-asoc-card.txt b/Documentation/devicetree/bindings/sound/st,sti-asoc-card.txt
> new file mode 100644
> index 0000000..028fa1c
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/sound/st,sti-asoc-card.txt
> @@ -0,0 +1,155 @@
> +STMicroelectronics sti ASoC cards
> +
> +The sti ASoC Sound Card can be used, for all sti SoCs using internal sti-sas
> +codec or external codecs.
> +
> +sti sound drivers allows to expose sti SoC audio interface through the
> +generic ASoC simple card. For details about sound card declaration please refer to
> +Documentation/devicetree/bindings/sound/simple-card.txt.
> +
> +1) sti-uniperiph-dai: audio dai device.
> +---------------------------------------
> +
> +Required properties:
> + - compatible: "st,sti-uni-player" or "st,sti-uni-reader"
<snip>
> +
> + - version: IP version integrated in SOC.
Souldn't this be managed with the compatible string?
> +
> + - dai-name: DAI name that describes the IP.
Is it ST specifics? If so, I think it should be "st,dai-name".
> +
> +Required properties ("st,sti-uni-player" compatibility only):
> + - clocks: CPU_DAI IP clock source, listed in the same order than the
> + CPU_DAI properties.
> +
> + - uniperiph-id: internal SOC IP instance ID.
"st,uniperiph-id" ?
> +
> + - IP mode: IP working mode depending on associated codec.
> + "HDMI" connected to HDMI codec IP and IEC HDMI formats.
> + "SPDIF"connected to SPDIF codec and support SPDIF formats.
> + "PCM" PCM standard mode for I2S or TDM bus.
Shouldn't you use an shared define instead of a string?
Regards,
Maxime
next prev parent reply other threads:[~2015-06-22 15:04 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-22 14:31 [PATCH v3 0/9] asoc: Add audio for sti platforms Arnaud Pouliquen
2015-06-22 14:31 ` [PATCH v3 1/9] ASoC: sti: add binding for ASoC driver Arnaud Pouliquen
2015-06-22 15:04 ` Maxime Coquelin [this message]
2015-07-10 18:08 ` Applied "ASoC: sti: add binding for ASoC driver" to the asoc tree Mark Brown
2015-06-22 14:31 ` [PATCH v3 2/9] ASoC: sti: Add uniperipheral header file Arnaud Pouliquen
2015-06-22 14:31 ` [PATCH v3 3/9] ASoC: sti: Add CPU DAI driver for playback Arnaud Pouliquen
2015-07-10 17:00 ` Mark Brown
2015-07-15 9:28 ` Arnaud Pouliquen
2015-07-10 18:08 ` Applied "ASoC: sti: Add CPU DAI driver for playback" to the asoc tree Mark Brown
2015-06-22 14:31 ` [PATCH v3 4/9] ASoC: sti: Add CPU DAI driver for capture Arnaud Pouliquen
2015-07-10 17:26 ` Mark Brown
2015-07-15 9:31 ` Arnaud Pouliquen
2015-06-22 14:31 ` [PATCH v3 5/9] ASoC: sti: Add uniperipheral dai driver Arnaud Pouliquen
2015-06-22 14:31 ` [PATCH v3 6/9] ASoC: Add ability to build sti drivers Arnaud Pouliquen
2015-07-16 21:01 ` Applied "ASoC: Add ability to build sti drivers" to the asoc tree Mark Brown
2015-06-22 14:31 ` [PATCH v3 7/9] ASoC: Codec: Add sti platform codec Arnaud Pouliquen
2015-07-10 18:08 ` Applied "ASoC: sti-sas: Add sti platform codec" to the asoc tree Mark Brown
2015-06-22 14:31 ` [PATCH v3 8/9] ASoC: sti: Add clock adjustement control Arnaud Pouliquen
2015-06-22 14:31 ` [PATCH v3 9/9] ASoC: sti: Add IEC control Arnaud Pouliquen
2015-07-10 18:06 ` Mark Brown
2015-07-15 9:59 ` Arnaud Pouliquen
2015-07-15 11:03 ` Mark Brown
2015-08-07 14:00 ` Applied "ASoC: sti: Add IEC control" to the asoc tree Mark Brown
2015-09-08 16:04 ` [RFC] How to perform audio offloading in none tunneled mode Arnaud Pouliquen
2015-09-08 16:46 ` Pierre-Louis Bossart
2015-09-08 17:32 ` Mark Brown
2015-09-09 8:36 ` Arnaud Pouliquen
2015-09-09 9:56 ` 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=5588240A.9090300@st.com \
--to=maxime.coquelin@st.com \
--cc=alsa-devel@alsa-project.org \
--cc=arnaud.pouliquen@st.com \
--cc=broonie@kernel.org \
--cc=kernel@stlinux.com \
--cc=lgirdwood@gmail.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