All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jean-Francois Moine <moinejf@free.fr>
To: Andrew Lunn <andrew@lunn.ch>
Cc: devicetree@vger.kernel.org, alsa-devel@alsa-project.org,
	Russell King - ARM Linux <linux@arm.linux.org.uk>,
	lgirdwood@gmail.com, dri-devel@lists.freedesktop.org,
	linux-kernel@vger.kernel.org, Mark Brown <broonie@kernel.org>,
	linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH] ASoC: tda998x: add a codec to the HDMI transmitter
Date: Wed, 2 Jul 2014 19:51:54 +0200	[thread overview]
Message-ID: <20140702195154.47d6f6b4@armhf> (raw)
In-Reply-To: <20140702165628.GO20799@lunn.ch>

On Wed, 2 Jul 2014 18:56:28 +0200
Andrew Lunn <andrew@lunn.ch> wrote:

> How well will this work with Russell concept of a front end and two
> backends? Can you uses your CODEC twice, once with the I2S backend and
> a second time with the S/PDIF backend?

Hi Andrew,

The TDA998x CODEC has two functions:
- it sets the possible formats and rates when the screen connects and
- it sets the audio input port when audio streaming starts.

I tested this CODEC with both DAPM and DPCM. If the audio subsystem
asks for streaming on both I2S and S/PDIF, only the last call is served
(this depends on the order of the DAI links in the audio card creation
table).

As I told to Russell, DPCM just asks for a 'system' DAI (front-end),
but it also asks for some additional code in the kirkwood DMA driver
because all PCMs are activated on streaming start.

-- 
Ken ar c'hentañ	|	      ** Breizh ha Linux atav! **
Jef		|		http://moinejf.free.fr/
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

WARNING: multiple messages have this Message-ID (diff)
From: moinejf@free.fr (Jean-Francois Moine)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ASoC: tda998x: add a codec to the HDMI transmitter
Date: Wed, 2 Jul 2014 19:51:54 +0200	[thread overview]
Message-ID: <20140702195154.47d6f6b4@armhf> (raw)
In-Reply-To: <20140702165628.GO20799@lunn.ch>

On Wed, 2 Jul 2014 18:56:28 +0200
Andrew Lunn <andrew@lunn.ch> wrote:

> How well will this work with Russell concept of a front end and two
> backends? Can you uses your CODEC twice, once with the I2S backend and
> a second time with the S/PDIF backend?

Hi Andrew,

The TDA998x CODEC has two functions:
- it sets the possible formats and rates when the screen connects and
- it sets the audio input port when audio streaming starts.

I tested this CODEC with both DAPM and DPCM. If the audio subsystem
asks for streaming on both I2S and S/PDIF, only the last call is served
(this depends on the order of the DAI links in the audio card creation
table).

As I told to Russell, DPCM just asks for a 'system' DAI (front-end),
but it also asks for some additional code in the kirkwood DMA driver
because all PCMs are activated on streaming start.

-- 
Ken ar c'henta?	|	      ** Breizh ha Linux atav! **
Jef		|		http://moinejf.free.fr/

WARNING: multiple messages have this Message-ID (diff)
From: Jean-Francois Moine <moinejf@free.fr>
To: Andrew Lunn <andrew@lunn.ch>
Cc: Mark Brown <broonie@kernel.org>,
	Russell King - ARM Linux <linux@arm.linux.org.uk>,
	devicetree@vger.kernel.org, alsa-devel@alsa-project.org,
	lgirdwood@gmail.com, dri-devel@lists.freedesktop.org,
	linux-kernel@vger.kernel.org, Rob Clark <robdclark@gmail.com>,
	Dave Airlie <airlied@gmail.com>,
	linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH] ASoC: tda998x: add a codec to the HDMI transmitter
Date: Wed, 2 Jul 2014 19:51:54 +0200	[thread overview]
Message-ID: <20140702195154.47d6f6b4@armhf> (raw)
In-Reply-To: <20140702165628.GO20799@lunn.ch>

On Wed, 2 Jul 2014 18:56:28 +0200
Andrew Lunn <andrew@lunn.ch> wrote:

> How well will this work with Russell concept of a front end and two
> backends? Can you uses your CODEC twice, once with the I2S backend and
> a second time with the S/PDIF backend?

Hi Andrew,

The TDA998x CODEC has two functions:
- it sets the possible formats and rates when the screen connects and
- it sets the audio input port when audio streaming starts.

I tested this CODEC with both DAPM and DPCM. If the audio subsystem
asks for streaming on both I2S and S/PDIF, only the last call is served
(this depends on the order of the DAI links in the audio card creation
table).

As I told to Russell, DPCM just asks for a 'system' DAI (front-end),
but it also asks for some additional code in the kirkwood DMA driver
because all PCMs are activated on streaming start.

-- 
Ken ar c'hentañ	|	      ** Breizh ha Linux atav! **
Jef		|		http://moinejf.free.fr/

  reply	other threads:[~2014-07-02 17:51 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-02 16:38 [PATCH] ASoC: tda998x: add a codec to the HDMI transmitter Jean-Francois Moine
2014-07-02 16:38 ` Jean-Francois Moine
2014-07-02 16:38 ` Jean-Francois Moine
2014-07-02 16:56 ` Andrew Lunn
2014-07-02 16:56   ` Andrew Lunn
2014-07-02 17:51   ` Jean-Francois Moine [this message]
2014-07-02 17:51     ` Jean-Francois Moine
2014-07-02 17:51     ` Jean-Francois Moine
2014-07-02 18:02     ` Russell King - ARM Linux
2014-07-02 18:02       ` Russell King - ARM Linux
2014-07-02 18:02       ` Russell King - ARM Linux
2014-07-02 19:37       ` Mark Brown
2014-07-02 19:37         ` Mark Brown
2014-07-02 19:42     ` Mark Brown
2014-07-02 19:42       ` Mark Brown
2014-07-03  5:49       ` Jean-Francois Moine
2014-07-03  5:49         ` Jean-Francois Moine
2014-07-03  5:49         ` Jean-Francois Moine
2014-07-03 10:44         ` Mark Brown
2014-07-03 10:44           ` Mark Brown
2014-07-03 10:44           ` Mark Brown
2014-07-03 11:34           ` Jean-Francois Moine
2014-07-03 11:34             ` Jean-Francois Moine
2014-07-03 11:34             ` Jean-Francois Moine
2014-07-03 11:59             ` Mark Brown
2014-07-03 11:59               ` Mark Brown
2014-07-03 11:59               ` Mark Brown
2014-07-03 13:28               ` Jean-Francois Moine
2014-07-03 13:28                 ` Jean-Francois Moine
2014-07-03 13:28                 ` Jean-Francois Moine
2014-07-03 13:43                 ` Russell King - ARM Linux
2014-07-03 13:43                   ` Russell King - ARM Linux
2014-07-03 13:43                   ` Russell King - ARM Linux
     [not found]                   ` <20140703134346.GW32514-l+eeeJia6m9vn6HldHNs0ANdhmdF6hFW@public.gmane.org>
2014-07-03 15:29                     ` Jean-Francois Moine
2014-07-03 15:29                       ` Jean-Francois Moine
2014-07-03 15:29                       ` Jean-Francois Moine
2014-07-03 15:43                       ` Russell King - ARM Linux
2014-07-03 15:43                         ` Russell King - ARM Linux
2014-07-03 15:43                         ` Russell King - ARM Linux
2014-07-03 16:26                         ` Jean-Francois Moine
2014-07-03 16:26                           ` Jean-Francois Moine
2014-07-03 16:26                           ` Jean-Francois Moine

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=20140702195154.47d6f6b4@armhf \
    --to=moinejf@free.fr \
    --cc=alsa-devel@alsa-project.org \
    --cc=andrew@lunn.ch \
    --cc=broonie@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    /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.