Hello people, i'm trying to interface the Wolfson wm8782 ADC with my BB 
Black.
My first approach was modify the file davinci-evm.c, so the kernel will 
load the wm8782 driver instead of the tdax998 (used for hdmi).
The first problem that i'm facing is that i dont know exactly where apply 
these changes, so far i see two options:

here:

case MACHINE_VERSION_3:
evm_dai.name = "NXP TDA HDMI Chip";
evm_dai.stream_name = "HDMI";
evm_dai.codec_dai_name = "wm8782-hifi";
evm_dai.init = evm_tda998x_init;

or here:

static struct snd_soc_dai_link da830_evm_dai = {
.name = "wm8782",
.stream_name = "Capture",
.cpu_dai_name = "davinci-mcasp.0",
.codec_dai_name = "wm8782-hifi",
.codec_name = "wm8782-codec.0-0018",
.platform_name = "davinci-mcasp.0",
.init = evm_aic3x_init,
.ops = &evm_ops,

I think that the code in the first option only gets executed when the dtbo 
file "cape-boneblack-hdmi" is loaded (is this correct?),
but neither of these options seems to work...

The only "solution" that i came up with was replacing the code of the 
tda998x.c with the code of wm8782.c driver, but i don't 
think this is the right way...


The files that i think would do the trick are: *davinci-evm.c*, *wm8782.c*and 
*board-am3517evm.c* but, obvioulsy, i'm not sure of this...
I'm also trying to document all these steps so anyone can interface an 
adc/dac to the BBB.

Any help will be appreciated,
Thanks in advance!

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to