From: Pavel Hofman <pavel.hofman@insite.cz>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@alsa-project.org
Subject: Juli - function of specific GPIOs?
Date: Fri, 18 Jan 2008 22:41:51 +0100 [thread overview]
Message-ID: <47911D1F.8030006@insite.cz> (raw)
In-Reply-To: <20080118101816.GA19291@rakim.wolfsonmicro.main>
Hi Takashi,
Sorry for distracting you from the constant struggle with HDA.
I would like to provide complete support for the ESI Juli@ card.
Informing the ADC (AK5385) about current sample rate via the dedicated
GPIOs is fairly simple, as well as the monitoring features (DIGOUT,
DIGIN, ANAIN, MUTE + volume control of the remaining DACs).
However, I do not understand functions of the GPIO_FREQ_XXKHZ and
GPIO_MULTI_XX GPIOs. The card's user manual says the card can detect
incoming SPDIF rate. AK4114 can either read the rate from the input data
in professional format only, or detect it by comparing external clock
with the input rate. The AK4114 external clock pin does go to the Xilinx
CPLD. The GPIOs lead to the CPLD too. Do they in some way control the
CPLD to provide AK4114 with external clock so that AK4114 can provide
correct input rate data through its registers?
But if so, where would CPLD get the independent clock when ICE1724 is in
slave mode, clocked by AK4114? True, the PMCLK output is fed to the
CPLD, but that would be slaved to AK4114 too. I guess the only
independent clock during the slave mode would have to come directly from
the 24.576MHz crystal of ICE, but I could not trace any connection to
the CPLD.
Perhaps the mysterious AV73-1 helps, I could not google-out any
information on this IC.
The automated detection of incoming rate is important for setting
correct sample rates in codecs when running on external clock.
If resolved, I would add similar functionality to the MI/ODI/O card for
Prodigy192 too.
I am sorry for bothering you, but the GPIOs named constants in juli.c
suggest you had access to some documentation about the card. My tracing
and beeping the card ends with the internal CPLD logic.
Thanks a lot for any information or suggestion.
Best regards,
Pavel Hofman.
-----------------
inSITE, s.r.o.
Rubesova 29, 326 00 Plzen, Czech Republic
Tel., fax: +420 - 37 - 74 493 58
GSM: +420 - 603 - 163 973
Email: pavel.hofman@insite.cz
next prev parent reply other threads:[~2008-01-18 21:42 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-10 13:16 [PATCH 01/17] Update MAINTAINERS for ALSA SoC Mark Brown
2008-01-10 13:17 ` [PATCH 02/17] Fix inverted Bass, Treble, Mono volume and Phone volume WM9712 mixer controls Mark Brown
2008-01-10 13:17 ` [PATCH 03/17] Add device level DAPM event Mark Brown
2008-01-10 13:17 ` [PATCH 04/17] ASoC TLV support Mark Brown
2008-01-10 13:17 ` [PATCH 05/17] Add D1 power event to power down event sequence Mark Brown
2008-01-10 13:17 ` [PATCH 06/17] Ensure PCMs are suspended Mark Brown
2008-01-10 13:17 ` [PATCH 07/17] Fix power switching support for DAPM_SWITCH widgets Mark Brown
2008-01-10 13:17 ` [PATCH 08/17] Clean up tabs Mark Brown
2008-01-10 13:17 ` [PATCH 09/17] Add support for passing kcontrols with events Mark Brown
2008-01-10 13:17 ` [PATCH 10/17] Don't lock the codec list in snd_soc_dapm_new_widgets() Mark Brown
2008-01-10 13:17 ` [PATCH 11/17] Bump ASoC core version number Mark Brown
2008-01-10 13:17 ` [PATCH 12/17] Initial WM8753 TLV support for capture mixer Mark Brown
2008-01-10 13:17 ` [PATCH 13/17] Reinitialise DMA on every resume Mark Brown
2008-01-10 13:17 ` [PATCH 14/17] Support suspend and resume of the I2S interface on s3c24xx Mark Brown
2008-01-10 13:17 ` [PATCH 15/17] ASoC: S3C2412 IIS driver Mark Brown
2008-01-10 13:17 ` [PATCH 16/17] S3C2412: suspend and resume support Mark Brown
2008-01-10 13:17 ` [PATCH 17/17] Preliminary ac97 drivers for Toshiba e800 PDAs Mark Brown
2008-01-15 23:40 ` [PATCH 10/17] Don't lock the codec list in snd_soc_dapm_new_widgets() Dmitry
2008-01-16 0:28 ` Mark Brown
2008-01-18 10:18 ` Mark Brown
2008-01-18 21:41 ` Pavel Hofman [this message]
2008-01-21 15:54 ` Juli - function of specific GPIOs? Takashi Iwai
2008-01-21 16:05 ` Pavel Hofman
2008-01-19 21:48 ` [PATCH 10/17] Don't lock the codec list in snd_soc_dapm_new_widgets() Dmitry
2008-01-10 14:05 ` [PATCH 01/17] Update MAINTAINERS for ALSA SoC Takashi Iwai
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=47911D1F.8030006@insite.cz \
--to=pavel.hofman@insite.cz \
--cc=alsa-devel@alsa-project.org \
--cc=tiwai@suse.de \
/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.