All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nicolin Chen <nicoleotsuka@gmail.com>
To: Jean-Michel Hautbois <jean-michel.hautbois@vodalys.com>
Cc: "alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>,
	Michael Trimarchi <michael@amarulasolutions.com>,
	broonie@kernel.org, lgirdwood@gmail.com
Subject: Re: How to select input from muxer in front of SSI on i.MX6
Date: Fri, 19 Sep 2014 10:52:06 -0700	[thread overview]
Message-ID: <20140919175205.GB1736@Asurada> (raw)
In-Reply-To: <CAL8zT=iopOiRmo8vT5RNOowucDif-oY2skdrJu=vijiUqpHz-w@mail.gmail.com>

CCed Mark and Liam.

On Fri, Sep 19, 2014 at 05:18:08PM +0200, Jean-Michel Hautbois wrote:
> Hi,
> 
> I am now working on making my audio path working completely.
> And I get some difficulties to write a DT for my needs.
> I join a picture which is not the reality but a simplified version of the board.
> 
> I have a FPGA between my codecs and my i.MX6. This FPGA is responsible
> of lots of things, and in particular of muxing signals.
> I can program it in order to get the audio signal I want on the SSI I
> want (so sgtl5000 can ben on SSI1 or SSI2 or both). This path is not a
> single codec, but a multiple codec one.
> So I can have on SSI1 LineIn from sgtl5000 or audio from hdmi (adv7611).
> 
> I don't know how to write it in DT, regarding audmux for instance, and
> the sound{} node...
> And I don't know how to drive all these peripherals (from arecord, I
> wish I have hw:0,0 is LineIn, hw:0;1 is HDMI, etc.).

This looks like a DPCM (Documentation/sound/alsa/soc/DPCM.txt) to me.

I'm not sure how to write a DT for DPCM either. But it seems that you
might need a specific machine driver (guessing).

I saw Morimoto-san plans to add DPCM into Simple Card, but not sure
when they will finish it. Otherwise, you may use Simple Card while
following their defined DT formats.

Nicolin

  reply	other threads:[~2014-09-19 17:52 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-19 15:18 How to select input from muxer in front of SSI on i.MX6 Jean-Michel Hautbois
2014-09-19 17:52 ` Nicolin Chen [this message]
2014-09-22  9:08   ` Jean-Michel Hautbois
2014-09-23  1:51   ` Mark Brown
2014-09-23  6:11     ` Jean-Michel Hautbois
2014-09-24  8:21       ` Mark Brown
2014-10-08 15:24         ` Jean-Michel Hautbois
2014-10-13 14:18           ` 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=20140919175205.GB1736@Asurada \
    --to=nicoleotsuka@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=jean-michel.hautbois@vodalys.com \
    --cc=lgirdwood@gmail.com \
    --cc=michael@amarulasolutions.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.