linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: ckeepax@opensource.wolfsonmicro.com (Charles Keepax)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v4] ASoC: bcm2835: Add 8 channel (multitrack) capability
Date: Wed, 15 Feb 2017 09:24:39 +0000	[thread overview]
Message-ID: <20170215092439.GB30007@localhost.localdomain> (raw)
In-Reply-To: <1487106275-4260-1-git-send-email-flatmax@flatmax.org>

On Wed, Feb 15, 2017 at 08:04:35AM +1100, Matt Flax wrote:
> This patch adds multitrack capability if in DSP mode A and the
> codec is master.
> 
> In bcm2835_i2s_startup, snd_pcm_hw_constraint_single is used to set
> channels to 8 if both SND_SOC_DAIFMT_CBM_CFM and SND_SOC_DAIFMT_DSP_A
> are set. Otherwise, channels are set to 2. These settings are
> accomplished using the SNDRV_PCM_HW_PARAM_CHANNELS variable.
> 
> In bcm2835_i2s_shutdown the channels are set to 2 by default.
> 
> In bcm2835_i2s_hw_params, DSP mode A format is now an option.
> Before replicating the format variable (from ch2 to ch1) for
> register loading, requested channels are checked to be either 2 or 8.
> This can be expanded later to accomodate other channel counts if
> supported by the sound card hardware.
> 
> Signed-off-by: Matt Flax <flatmax@flatmax.org>
> ---

Reviewed-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>

Thanks,
Charles

  reply	other threads:[~2017-02-15  9:24 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-06 23:09 [PATCH] ASoC: bcm2835: Add 8 channel (multitrack) capability Matt Flax
2017-02-08 18:28 ` Mark Brown
2017-02-08 18:54   ` Matthias Reichl
2017-02-08 21:13     ` [alsa-devel] " Matt Flax
2017-02-08 22:48       ` Matt Flax
2017-02-09  9:29         ` Matthias Reichl
2017-02-08 20:41   ` Matt Flax
2017-02-08 21:14     ` Matt Flax
2017-02-12 23:27 ` [PATCH v2] " Matt Flax
2017-02-13 20:51   ` Eric Anholt
2017-02-14  9:32   ` [alsa-devel] " Charles Keepax
2017-02-14 20:36     ` Matt Flax
2017-02-14 20:52   ` [PATCH v3] " Matt Flax
2017-02-14 21:00     ` [alsa-devel] " Matt Flax
2017-02-14 21:04   ` [PATCH v4] " Matt Flax
2017-02-15  9:24     ` Charles Keepax [this message]
2017-02-15 12:37     ` Florian Kauer
2017-02-15 19:26     ` Eric Anholt
2017-02-22  5:18 ` [PATCH v5] " Matt Flax
2017-02-22  5:20   ` Matt Flax
2017-02-22  5:22 ` [PATCH v6] " Matt Flax
2017-02-22  6:49   ` [alsa-devel] " kbuild test robot
2017-02-22 18:28   ` Mark Brown
2017-02-22 22:45     ` [alsa-devel] " Matt Flax
2017-02-23 17:28       ` Mark Brown
2017-02-22  6:56 ` [PATCH v8] " Matt Flax
2017-02-24 12:18   ` [alsa-devel] " Matthias Reichl
2017-02-24 13:50     ` Matt Flax
2017-02-24 20:25       ` Matthias Reichl
2017-02-24 21:30         ` Matt Flax
2017-02-24 23:02           ` Matthias Reichl
2017-02-25  0:08             ` Emmanuel Fusté
2017-02-25  2:38               ` Matt Flax
2017-02-25  5:04                 ` Matt Flax
2017-02-26 20:28                   ` Matt Flax

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=20170215092439.GB30007@localhost.localdomain \
    --to=ckeepax@opensource.wolfsonmicro.com \
    --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;
as well as URLs for NNTP newsgroup(s).