From: Markus Pargmann <mpa-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
To: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
Cc: Fabio Estevam
<fabio.estevam-KZfg59tc24xl57MIdRCFDg@public.gmane.org>,
alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw@public.gmane.org,
Lars-Peter Clausen <lars-Qo5EllUWu/uELgA04lAiVw@public.gmane.org>,
devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org,
Mark Brown
<broonie-yzvPICuk2AATkU/dhu1WVueM+bqZidxxQQ4Iyu8u01E@public.gmane.org>,
Timur Tabi <timur-N01EOCouUvQ@public.gmane.org>,
Liam Girdwood <lgirdwood-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
Sascha Hauer <kernel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
Subject: [PATCH v6 10/10] ASoC: fsl: Update fsl-ssi binding doc
Date: Tue, 28 May 2013 16:47:58 +0200 [thread overview]
Message-ID: <1369752478-30260-11-git-send-email-mpa@pengutronix.de> (raw)
In-Reply-To: <1369752478-30260-1-git-send-email-mpa-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
Update the fsl-ssi bindings. DMA is no required property anymore and
uses the generic DMA bindings. imx-fiq is a new alternative to DMA
Signed-off-by: Markus Pargmann <mpa-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
---
Notes:
Changes in v4:
- Add a comment about hardware bugs for imx-pcm-fiq
Changes in v3:
- In previous versions, I removed fsl,playback-dma and capture-dma. But they
are still in use by fsl_dma.c, so I added them again.
Documentation/devicetree/bindings/sound/fsl,ssi.txt | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/Documentation/devicetree/bindings/sound/fsl,ssi.txt b/Documentation/devicetree/bindings/sound/fsl,ssi.txt
index 5ff76c9..0375ee0 100644
--- a/Documentation/devicetree/bindings/sound/fsl,ssi.txt
+++ b/Documentation/devicetree/bindings/sound/fsl,ssi.txt
@@ -43,10 +43,20 @@ Required properties:
together. This would still allow different sample sizes,
but not different sample rates.
+Note that either dmas, dma-names or fsl,imx-fiq are required.
+
Optional properties:
- codec-handle: Phandle to a 'codec' node that defines an audio
codec connected to this SSI. This node is typically
a child of an I2C or other control node.
+- dmas: Generic dma devicetree binding as described in
+ Documentation/devicetree/bindings/dma/dma.txt.
+- dma-names: Two dmas have to be defined, "tx" and "rx", if fsl,imx-fiq
+ is not defined.
+- fsl,imx-fiq: Bool property. Use imx-pcm-fiq instead of imx-pcm-dma.
+ Only necessary for some boards with incompatible
+ codec. imx-pcm-fiq will manually filter some data from
+ the codec. It is a workaround for a hardware bug.
Child 'codec' node required properties:
- compatible: Compatible list, contains the name of the codec
--
1.8.2.1
prev parent reply other threads:[~2013-05-28 14:47 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-28 14:47 [PATCH v6 00/10] ASoC: fsl-ssi: ac97-slave support Markus Pargmann
[not found] ` <1369752478-30260-1-git-send-email-mpa-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2013-05-28 14:47 ` [PATCH v6 01/10] ASoC: phycore-ac97: Add DT support Markus Pargmann
2013-05-28 14:56 ` Mark Brown
[not found] ` <20130528145603.GR21462-yzvPICuk2AATkU/dhu1WVueM+bqZidxxQQ4Iyu8u01E@public.gmane.org>
2013-05-30 9:21 ` Markus Pargmann
[not found] ` <1369752478-30260-2-git-send-email-mpa-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2013-05-29 13:53 ` Shawn Guo
2013-05-29 15:41 ` Timur Tabi
[not found] ` <CAOZdJXVL2uP-qW=kydgS-t3C=C+6Cn9D3FWqbMuoK2c-EnckyA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-05-30 9:13 ` Markus Pargmann
[not found] ` <20130529135342.GB29528-rvtDTF3kK1ictlrPMvKcciBecyulp+rMXqFh9Ls21Oc@public.gmane.org>
2013-05-30 9:10 ` Markus Pargmann
2013-05-28 14:47 ` [PATCH v6 02/10] ASoC: imx-pcm-dma: " Markus Pargmann
2013-05-28 14:47 ` [PATCH v6 03/10] ASoC: imx-pcm-fiq: Introduce pcm-fiq-params Markus Pargmann
[not found] ` <1369752478-30260-4-git-send-email-mpa-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2013-05-29 14:26 ` Shawn Guo
[not found] ` <20130529142648.GC29528-rvtDTF3kK1ictlrPMvKcciBecyulp+rMXqFh9Ls21Oc@public.gmane.org>
2013-05-30 9:27 ` Markus Pargmann
2013-05-28 14:47 ` [PATCH v6 04/10] ASoC: fsl-ssi: Add support for imx-pcm-fiq Markus Pargmann
2013-05-28 14:47 ` [PATCH v6 05/10] ASoC: fsl-ssi: Use generic DMA bindings if possible Markus Pargmann
2013-05-28 14:47 ` [PATCH v6 06/10] ARM: imx: Export ac97 reset functions Markus Pargmann
2013-05-28 14:47 ` [PATCH v6 07/10] ASoC: fsl-ssi: imx ac97 support Markus Pargmann
2013-05-29 13:12 ` Shawn Guo
2013-05-28 14:47 ` [PATCH v6 08/10] ASoC: fsl: Kconfig: Use fsl-ssi for phycore-ac97 Markus Pargmann
2013-05-28 14:47 ` [PATCH v6 09/10] ASoC: fsl: Move fsl-ssi binding doc to sound/ Markus Pargmann
[not found] ` <1369752478-30260-10-git-send-email-mpa-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2013-05-30 8:51 ` Shawn Guo
2013-05-28 14:47 ` Markus Pargmann [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=1369752478-30260-11-git-send-email-mpa@pengutronix.de \
--to=mpa-bicnvbalz9megne8c9+irq@public.gmane.org \
--cc=alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw@public.gmane.org \
--cc=broonie-yzvPICuk2AATkU/dhu1WVueM+bqZidxxQQ4Iyu8u01E@public.gmane.org \
--cc=devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org \
--cc=fabio.estevam-KZfg59tc24xl57MIdRCFDg@public.gmane.org \
--cc=kernel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org \
--cc=lars-Qo5EllUWu/uELgA04lAiVw@public.gmane.org \
--cc=lgirdwood-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=timur-N01EOCouUvQ@public.gmane.org \
/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).