From: Jean-Francois Moine <moinejf@free.fr>
To: Russell King - ARM Linux <linux@arm.linux.org.uk>
Cc: Mark Rutland <mark.rutland@arm.com>,
alsa-devel@alsa-project.org, Jason Cooper <jason@lakedaemon.net>,
Pawel Moll <pawel.moll@arm.com>,
Stephen Warren <swarren@wwwdotorg.org>,
Rob Herring <rob.herring@calxeda.com>,
Ian Campbell <ian.campbell@citrix.com>,
linux-arm-kernel@lists.infradead.org,
Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Subject: Re: [PATCH 2/2] ARM: Dove: Add the audio device to the Cubox DT
Date: Sun, 1 Sep 2013 09:04:20 +0200 [thread overview]
Message-ID: <20130901090420.526e3bc3@armhf> (raw)
In-Reply-To: <20130831112430.GD6617@n2100.arm.linux.org.uk>
On Sat, 31 Aug 2013 12:24:31 +0100
Russell King - ARM Linux <linux@arm.linux.org.uk> wrote:
> > According to the Dove specification, the audio controller works with
> > the samples rates 44.1, 48 and 96 kHz, so, I don't see the usage of the
> > external clock, except when using the two audio controllers with
> > different sample rates.
>
> I don't see what the Dove specification has to do with that statement:
> what the Dove spec says is that if you use just the internal DCO, then
> only 44.1kHz, 48kHz and 96kHz are supported (with some trimming of that.)
> However, the use of an external clock allows further rates to be supported.
> If you have an external clock, there is no requirement to use the DCO for
> those sample rates - you can if you wish, or you can use the external clock.
>
> The mainline driver implements the use of the DCO for the standard 44.1,
> 48 and 96kHz rates, otherwise it uses the external clock if present. This
> is entirely conformant with the Dove spec.
Russell,
I looked again at the Armada-510-Functional-Spec, and I found:
- section 12.1
...
I2S Supported Features
An audio sample rate (Fs) of 44.1/48/96 kHz.
...
S/PDIF Supported Features
The IEC60958-1, IEC60958-3, and IEC61937 specifications.
An audio sample rate (Fs) of 44.1/48/96 kHz.
...
- Table 436: Clocks Control Register
Offset: Unit0: 0x000B1230, Unit1: 0x000B5230
...
1:0 MCLK source RW MCLK = 256 Fs, where Fs = 44.1 kHz, 48 kHz, 96 kHz.
0x0 Playback should not be active when selecting an external MCLK, or moving
from one external MCLK to another MCLK source.
0 = DCO: MCLK is from DCO.
1 = Reserved
2 = Reserved
3 = External: MCLK is from an external source.
As they don't work with my TV set, may you confirm that these webradios
http://kerne.online.stalig.net/live-ori.ogg
http://www.tv-radio.com/station/france_bleu_breiz_izel_mp3/france_bleu_breiz_izel_mp3-32k.m3u
http://plumfm.online.stalig.net/live-ori.ogg
work for you with the external clock? (sample rates resp. 33.075, 24
and 22.05 kHz)
--
Ken ar c'hentañ | ** Breizh ha Linux atav! **
Jef | http://moinejf.free.fr/
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-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 2/2] ARM: Dove: Add the audio device to the Cubox DT
Date: Sun, 1 Sep 2013 09:04:20 +0200 [thread overview]
Message-ID: <20130901090420.526e3bc3@armhf> (raw)
In-Reply-To: <20130831112430.GD6617@n2100.arm.linux.org.uk>
On Sat, 31 Aug 2013 12:24:31 +0100
Russell King - ARM Linux <linux@arm.linux.org.uk> wrote:
> > According to the Dove specification, the audio controller works with
> > the samples rates 44.1, 48 and 96 kHz, so, I don't see the usage of the
> > external clock, except when using the two audio controllers with
> > different sample rates.
>
> I don't see what the Dove specification has to do with that statement:
> what the Dove spec says is that if you use just the internal DCO, then
> only 44.1kHz, 48kHz and 96kHz are supported (with some trimming of that.)
> However, the use of an external clock allows further rates to be supported.
> If you have an external clock, there is no requirement to use the DCO for
> those sample rates - you can if you wish, or you can use the external clock.
>
> The mainline driver implements the use of the DCO for the standard 44.1,
> 48 and 96kHz rates, otherwise it uses the external clock if present. This
> is entirely conformant with the Dove spec.
Russell,
I looked again at the Armada-510-Functional-Spec, and I found:
- section 12.1
...
I2S Supported Features
An audio sample rate (Fs) of 44.1/48/96 kHz.
...
S/PDIF Supported Features
The IEC60958-1, IEC60958-3, and IEC61937 specifications.
An audio sample rate (Fs) of 44.1/48/96 kHz.
...
- Table 436: Clocks Control Register
Offset: Unit0: 0x000B1230, Unit1: 0x000B5230
...
1:0 MCLK source RW MCLK = 256 Fs, where Fs = 44.1 kHz, 48 kHz, 96 kHz.
0x0 Playback should not be active when selecting an external MCLK, or moving
from one external MCLK to another MCLK source.
0 = DCO: MCLK is from DCO.
1 = Reserved
2 = Reserved
3 = External: MCLK is from an external source.
As they don't work with my TV set, may you confirm that these webradios
http://kerne.online.stalig.net/live-ori.ogg
http://www.tv-radio.com/station/france_bleu_breiz_izel_mp3/france_bleu_breiz_izel_mp3-32k.m3u
http://plumfm.online.stalig.net/live-ori.ogg
work for you with the external clock? (sample rates resp. 33.075, 24
and 22.05 kHz)
--
Ken ar c'henta? | ** Breizh ha Linux atav! **
Jef | http://moinejf.free.fr/
next prev parent reply other threads:[~2013-09-01 7:03 UTC|newest]
Thread overview: 46+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-28 9:35 [PATCH 2/2] ARM: Dove: Add the audio device to the Cubox DT Jean-Francois Moine
2013-08-28 9:35 ` Jean-Francois Moine
2013-08-28 10:14 ` Sebastian Hesselbarth
2013-08-28 10:14 ` Sebastian Hesselbarth
2013-08-31 10:51 ` Jean-Francois Moine
2013-08-31 10:51 ` Jean-Francois Moine
2013-08-31 11:24 ` Russell King - ARM Linux
2013-08-31 11:24 ` Russell King - ARM Linux
2013-08-31 11:24 ` Russell King - ARM Linux
2013-08-31 11:55 ` Jean-Francois Moine
2013-08-31 11:55 ` Jean-Francois Moine
2013-08-31 12:17 ` Russell King - ARM Linux
2013-08-31 12:17 ` Russell King - ARM Linux
2013-08-31 12:17 ` Russell King - ARM Linux
2013-09-01 7:04 ` Jean-Francois Moine [this message]
2013-09-01 7:04 ` Jean-Francois Moine
2013-09-01 9:26 ` Sebastian Hesselbarth
2013-09-01 9:26 ` Sebastian Hesselbarth
2013-09-01 9:26 ` Sebastian Hesselbarth
2013-09-01 11:23 ` Jean-Francois Moine
2013-09-26 8:11 ` Jean-Francois Moine
2013-09-26 8:11 ` Jean-Francois Moine
2013-09-26 8:11 ` Jean-Francois Moine
2013-09-26 8:31 ` Sebastian Hesselbarth
2013-09-26 8:31 ` Sebastian Hesselbarth
2013-09-26 11:28 ` Jean-Francois Moine
2013-09-26 11:28 ` Jean-Francois Moine
2013-09-26 11:28 ` Jean-Francois Moine
2013-09-26 12:42 ` Sebastian Hesselbarth
2013-09-26 12:42 ` Sebastian Hesselbarth
2013-09-26 12:42 ` Sebastian Hesselbarth
2013-09-28 14:27 ` Sebastian Hesselbarth
2013-09-28 14:27 ` Sebastian Hesselbarth
2013-09-28 14:27 ` Sebastian Hesselbarth
2013-10-03 16:17 ` Jean-Francois Moine
2013-10-03 16:17 ` Jean-Francois Moine
2013-10-03 16:17 ` Jean-Francois Moine
2013-10-08 16:11 ` Jason Cooper
2013-10-08 16:11 ` Jason Cooper
2013-10-08 16:11 ` Jason Cooper
2013-10-08 17:59 ` Jean-Francois Moine
2013-10-08 17:59 ` Jean-Francois Moine
2013-10-08 17:59 ` Jean-Francois Moine
2013-10-08 18:00 ` Jason Cooper
2013-10-08 18:00 ` Jason Cooper
2013-10-08 18:00 ` Jason Cooper
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=20130901090420.526e3bc3@armhf \
--to=moinejf@free.fr \
--cc=alsa-devel@alsa-project.org \
--cc=ian.campbell@citrix.com \
--cc=jason@lakedaemon.net \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux@arm.linux.org.uk \
--cc=mark.rutland@arm.com \
--cc=pawel.moll@arm.com \
--cc=rob.herring@calxeda.com \
--cc=sebastian.hesselbarth@gmail.com \
--cc=swarren@wwwdotorg.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 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.