From: Peter Ujfalusi <peter.ujfalusi@ti.com>
To: Clark Dunson <cdunson@gmail.com>, alsa-devel@alsa-project.org
Subject: Re: Wolfson 5102 on Beaglebone Black using ALSA
Date: Mon, 16 May 2016 15:33:55 +0300 [thread overview]
Message-ID: <47b8f68c-12be-adb5-1e29-7ca19feac581@ti.com> (raw)
In-Reply-To: <4BEB79E8-7315-48DF-BBB6-E944114621BF@gmail.com>
On 05/15/16 01:16, Clark Dunson wrote:
> Hey everybody!
>
> We have been working on integrating the Wolfson 5102 codec with the
> Beaglebone Black. We’ve made pretty decent progress, got the arizona code
> in kernel 4.4 registering the wm5102 as ALSA sound card (both player and
> recorder), have McAsp0 as 24.576 MHz clock source, and have 12 IRQs showing
> up in /proc/interrupts.
>
> We have been working with sound{compatible = "simple-audio-card”}, but now
> have hit our first real question. sysclk is hard coded to ‘0’ under
> simple-audio-card, and we had to hack the kernel and change that to ‘1’ to
> achieve ALSA sound card registration. We’d all like for this work to
> proceed without having to hack the kernel, and wondered if one of you might
> recommend another approach or selection for device tree sound{compatible}
> that might work out better?
For simple card you would need:
http://mailman.alsa-project.org/pipermail/alsa-devel/2016-February/104316.html
to be able to select the McASP clocks.
It is not going to apply on linux-next becasue of:
http://mailman.alsa-project.org/pipermail/alsa-devel/2016-May/107783.html
but it is not should not be a big issue to resolve (one patch to move the
clkid to binding header).
The davinci-mcasp driver will remain broken in this sense for a foreseen
future as we need to convert the daVinci architecture to CCF first to be able
to progress with the clock selection.
--
Péter
next prev parent reply other threads:[~2016-05-16 12:33 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-14 22:16 Wolfson 5102 on Beaglebone Black using ALSA Clark Dunson
2016-05-15 10:29 ` Charles Keepax
2016-05-16 12:33 ` Peter Ujfalusi [this message]
2016-05-17 15:12 ` Clark Dunson
2016-05-22 13:18 ` Charles Keepax
2016-05-28 1:58 ` Clark Dunson
2016-05-30 8:35 ` Charles Keepax
2016-05-30 15:18 ` Clark Dunson
2016-05-30 17:19 ` Charles Keepax
2016-06-15 16:14 ` Clark Dunson
2016-06-15 16:50 ` Charles Keepax
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=47b8f68c-12be-adb5-1e29-7ca19feac581@ti.com \
--to=peter.ujfalusi@ti.com \
--cc=alsa-devel@alsa-project.org \
--cc=cdunson@gmail.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 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).