From: robh@kernel.org (Rob Herring)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v3 10/11] ASoC: add bindings for stm32 DFSDM filter
Date: Fri, 24 Mar 2017 09:52:08 -0500 [thread overview]
Message-ID: <20170324145208.6tj5swol5du5lkyc@rob-hp-laptop> (raw)
In-Reply-To: <1489759704-30217-11-git-send-email-arnaud.pouliquen@st.com>
On Fri, Mar 17, 2017 at 03:08:23PM +0100, Arnaud Pouliquen wrote:
> Add bindings that describes audio settings to support
> Digital Filter for pulse density modulation(PDM) microphone.
>
> Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
> ---
> V2->V3:
> Fixes based on V2 comments
>
> .../devicetree/bindings/sound/st,stm32-adfsdm.txt | 41 ++++++++++++++++++++++
> 1 file changed, 41 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/sound/st,stm32-adfsdm.txt
>
> diff --git a/Documentation/devicetree/bindings/sound/st,stm32-adfsdm.txt b/Documentation/devicetree/bindings/sound/st,stm32-adfsdm.txt
> new file mode 100644
> index 0000000..ab610bc
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/sound/st,stm32-adfsdm.txt
> @@ -0,0 +1,40 @@
> +STMicroelectronics audio DFSDM DT bindings
> +
> +This driver supports audio PDM microphone capture through Digital Filter format
> +Sigma Delta modulators (DFSDM).
> +
> +Required properties:
> + - compatible: "st,stm32h7-adfsdm".
> +
> + - #sound-dai-cells : Must be equal to 0
> +
> + - io-channels : phandle to iio dfsdm instance node.
> +
> +
> +Example of a simple sound card using audio DFSDM node.
> +
> + dmic0: dmic_ at 0 {
Drop the '_' and unit address.
> + compatible = "dmic-codec";
> + #sound-dai-cells = <0>;
> + };
> +
> + asoc-pdm at 0 {
asoc is a Linux term. Drop the unit address.
> + compatible = "st,stm32h7-adfsdm";
Is this a separate block from the ADC? A drawing of the h/w blocks and
connections would help.
> + #sound-dai-cells = <0>;
> + io-channels = <&dfsdm_adc0 0>;
> + };
> +
> + sound_dfsdm_pdm {
sound-card {
> + compatible = "simple-audio-card";
> + simple-audio-card,name = "dfsdm_pdm";
> +
> + dfsdm0_mic0: simple-audio-card,dai-link at 0 {
I'd suggest moving to the graph card.
> + format = "pdm";
> + cpu {
> + sound-dai = <&asoc_pdm1>;
This phandle doesn't point to anything.
> + };
> + dmic0_codec: codec {
> + sound-dai = <&dmic0>;
> + };
> + };
> + };
> \ No newline at end of file
^^^
> --
> 1.9.1
>
next prev parent reply other threads:[~2017-03-24 14:52 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-17 14:08 [PATCH v3 00/11] Add STM32 DFSDM support Arnaud Pouliquen
2017-03-17 14:08 ` [PATCH v3 01/11] iio: Add hardware consumer support Arnaud Pouliquen
2017-06-06 10:15 ` Arnaud Pouliquen
2017-09-11 9:01 ` Arnaud Pouliquen
2017-03-17 14:08 ` [PATCH v3 02/11] IIO: Add DT bindings for sigma delta adc modulator Arnaud Pouliquen
2017-03-24 14:21 ` Rob Herring
2017-03-17 14:08 ` [PATCH v3 03/11] IIO: ADC: add sigma delta modulator support Arnaud Pouliquen
2017-03-20 6:24 ` [alsa-devel] " kbuild test robot
2017-03-20 6:51 ` kbuild test robot
2017-03-17 14:08 ` [PATCH v3 04/11] IIO: add DT bindings for stm32 DFSDM filter Arnaud Pouliquen
2017-03-24 14:37 ` Rob Herring
2017-03-17 14:08 ` [PATCH v3 05/11] IIO: ADC: add stm32 DFSDM support for Sigma delta ADC Arnaud Pouliquen
2017-03-19 22:25 ` Jonathan Cameron
2017-03-20 11:24 ` Arnaud Pouliquen
2017-03-25 15:53 ` Jonathan Cameron
2017-03-20 8:04 ` [alsa-devel] " kbuild test robot
2017-03-17 14:08 ` [PATCH v3 06/11] IIO: ADC: add stm32 DFSDM support for PDM microphone Arnaud Pouliquen
2017-03-19 22:38 ` Jonathan Cameron
2017-03-20 11:29 ` Arnaud Pouliquen
2017-03-25 15:59 ` Jonathan Cameron
2017-03-28 7:45 ` Arnaud Pouliquen
2017-03-17 14:08 ` [PATCH v3 07/11] IIO: consumer: allow to set buffer sizes Arnaud Pouliquen
2017-03-19 22:44 ` Jonathan Cameron
2017-03-20 11:30 ` Arnaud Pouliquen
2017-03-25 16:01 ` Jonathan Cameron
2017-03-20 6:22 ` [alsa-devel] " kbuild test robot
2017-03-17 14:08 ` [PATCH v3 08/11] ASoC: Add bindings for DMIC codec driver Arnaud Pouliquen
2017-03-24 14:46 ` Rob Herring
2017-03-27 11:59 ` Mark Brown
2017-03-17 14:08 ` [PATCH v3 09/11] ASoC: codec: add DT support in dmic codec Arnaud Pouliquen
2017-03-17 14:08 ` [PATCH v3 10/11] ASoC: add bindings for stm32 DFSDM filter Arnaud Pouliquen
2017-03-24 14:52 ` Rob Herring [this message]
2017-03-29 12:42 ` Arnaud Pouliquen
2017-03-17 14:08 ` [PATCH v3 11/11] ASoC: stm32: add DFSDM DAI support Arnaud Pouliquen
2017-03-17 16:36 ` [PATCH v3 00/11] Add STM32 DFSDM support Arnaud Pouliquen
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=20170324145208.6tj5swol5du5lkyc@rob-hp-laptop \
--to=robh@kernel.org \
--cc=linux-arm-kernel@lists.infradead.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