Today, I tried to migrate my ASoC machine driver to 3.8 kernel.
But now I'm facing with new problems.
For example, there is no option for mcasp interface in bb.org_defconfig.
So, when I compiled the kernel and modules, I didn't find the mcasp kernel
module and omap spi kernel module.
If I try to load my machine driver with cape_manager I'll get this error:

[ 3225.697192] bone-capemgr bone_capemgr.9: part_number 'BBB-AUDIOCARD',
version 'N/A'
[ 3225.697372] bone-capemgr bone_capemgr.9: slot #5: generic override
[ 3225.697418] bone-capemgr bone_capemgr.9: bone: Using override eeprom
data at slot 5
[ 3225.697463] bone-capemgr bone_capemgr.9: slot #5: 'Override Board
Name,00A0,Override Manuf,BBB-AUDIOCARD'
[ 3225.697731] bone-capemgr bone_capemgr.9: slot #5: Requesting part
number/version based 'BBB-AUDIOCARD-00A0.dtbo
[ 3225.697779] bone-capemgr bone_capemgr.9: slot #5: Requesting firmware
'BBB-AUDIOCARD-00A0.dtbo' for board-name 'Override Board Name', version
'00A0'
[ 3225.705153] bone-capemgr bone_capemgr.9: slot #5: dtbo
'BBB-AUDIOCARD-00A0.dtbo' loaded; converting to live tree
[ 3225.705842] bone-capemgr bone_capemgr.9: slot #5: #4 overlays
[ 3225.713279] omap2_mcspi 48030000.spi: could not find pctldev for node
/ocp/interrupt-controller@48200000, deferring probe
[ 3225.713334] omap2_mcspi 48030000.spi: pins are not configured from the
driver
[ 3225.769575] edma-dma-engine edma-dma-engine.0: allocated channel for 0:17
[ 3225.769729] edma-dma-engine edma-dma-engine.0: allocated channel for 0:16
[ 3225.777262] davinci-mcasp 48038000.mcasp: could not find pctldev for
node /ocp/i2c@44e0b000/tps@24/regulators/regulator@1, deferring probe
[ 3225.777319] davinci-mcasp 48038000.mcasp: pins are not configured from
the driver
[ 3225.782724] bone-capemgr bone_capemgr.9: slot #5: Applied #4 overlays.
[ 3225.938159] snd-rpi-audiocard sound.11: davinci_audiocard_probe called.
[ 3225.938386] snd-rpi-audiocard sound.11: ASoC: CODEC (null) not registered
[ 3225.947378] snd-rpi-audiocard sound.11: snd_soc_register_card() failed:
-517
[ 3225.954968] snd-rpi-audiocard sound.11: davinci_audiocard_probe finished.
[ 3225.956007] platform sound.11: Driver snd-rpi-audiocard requests probe
deferral

As you can see at 3225.713279 and 3225.777262, there is no mcasp interface
nor spi interface available.
Does anybody has successfully compiled the mcasp0 module, like in 4.1
kernel?
Moreover, do you use the offical Beaglebone repo from Github? (
https://github.com/beagleboard/linux)

Thanks!


2015-10-19 8:06 GMT+02:00 Shadi Abdu-Rahman <[email protected]>:

> I’m using the v4.1.3-bone15 linux kernel with
> debian-8.1-minimal-armhf-2015-06-09.
>
> So yeah, it seems something broke between 3.8 and 4.1. I did look at the
> relevant McAsp registers and they all looked properly setup from what I
> could see.
>
> I'm not sure what could be wrong. Looking a the relevant code is like
> trying to find a needle in a haystack. Could be anything (dma engine, etc)
>
> Kind Regards,
> Shadi
>
> Den måndag 19 oktober 2015 kl. 03:58:12 UTC+2 skrev Rick M:
>>
>> My DTS (for both types of sound card) call for a 12MHz McASP master
>> clock, but in 4.x kernels, I would actually see a 24MHz signal come off the
>> master clock, and I think that's what led to the underflow.
>>
>
> I think there's more to it. My configuration is feeding McASP with an
> external clock from the codec board (24.576 MHz). I've verified that the
> internal BBB master clock is disabled by my code and that the external
> clock signal doesn't get doubled or anything.
>
> Kind Regards,
> Shadi
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "BeagleBoard" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/beagleboard/Yg19ivBxJAw/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/d/optout.

Reply via email to