[alsa-devel] Modifying the AD193X driver and integrating with the Blackfin platform
I see that Liam just modified the code (bf5xx-ad193x.c) that I was looking at modifying to add support for the CS42448 CODEC. I would like to understand the architecture of the ASoC and Blackfin TDM PCM driver that it uses because I need to enable the secondary data lines to support multiple chips. Where can I find the documentation for this code?
If I want to integrate this code into the uClinux-dist-2009R1.1-RC4 distribution, is it simply a matter of copying the files in "[linux-2.6-asoc.git]/sound/" to the linux-2.6/sound directory for uClinux? Or is it better if I git clone linux-2.6-asoc and move my custom board development files there? Is there a driver installation guide somewhere that I can read about this?
I am concerned that the official Blackfin distribution (http://blackfin.uclinux.org/gf/download/frsrelease/473/7285/uClinux-dist-200...) will not be compatible with the ASoC distribution (git://opensource.wolfsonmicro.com/linux-2.6-asoc). Can you tell me if there are any differences between these?
To sum up: 1. Where can I find the ASoC documentation? 2. Is there an installation guide to use ASoC with an existing Kernel? 3. What are the differences between the wolfsonmicro.com linux-2.6-asoc and blackfin.uclinux.org uClinux-dist-2009R1.1-RC4?
Thank you, Adam
Adam Rosenberg Software Engineer
Alcorn McBride Inc. 3300 South Hiawassee Building 105 Orlando, FL 32835
(407) 296 - 5800 ext. 5490
On 27 Jun 2010, at 14:34, Adam Rosenberg wrote:
If I want to integrate this code into the uClinux-dist-2009R1.1-RC4 distribution, is it simply a matter of copying the files in "[linux-2.6-asoc.git]/sound/" to the linux-2.6/sound directory for uClinux? Or is it better if I git clone linux-2.6-asoc and move my custom board development files there? Is there a driver installation guide somewhere that I can read about this?
Merge this as you would any other patch. If you are concerned with integration with a non-mainline patchset I would encourage you to seek advice from whoever provides that patchset. This code is aimed at mainline and is intended to function in a mainline environment.
I am concerned that the official Blackfin distribution (http://blackfin.uclinux.org/gf/download/frsrelease/473/7285/uClinux-dist-200...) will not be compatible with the ASoC distribution (git://opensource.wolfsonmicro.com/linux-2.6-asoc). Can you tell me if there are any differences between these?
You should not be using the Wolfson repositories to track ASoC development. Use the repository listed in MAINTAINERS.
- Where can I find the ASoC documentation?
Documentation/sound/alsa/soc, the changelogs and the code.
- Is there an installation guide to use ASoC with an existing Kernel?
ASoC has been a part of the standard Linux kernel since 2.6.21. Unless your kernel is exceptionally old it will already contain ASoC.
- What are the differences between the wolfsonmicro.com
linux-2.6-asoc and blackfin.uclinux.org uClinux-dist-2009R1.1-RC4?
I can't really comment on a specific version of an out of tree patch set, the Wolfson tree contains only a few unmerged changes to support Wolfson devices. You should either compare the code yourself or ask the ucLinux community to explain the changes they've made to the standard Linux code.
participants (2)
-
Adam Rosenberg
-
Mark Brown