This might be an old thread but I got a question. I was able to compile and load the modified device tree. I then loaded my overlay for the audio. I built this circuit base from http://elinux.org/CircuitCo:Audio_Cape_RevB. The only difference with mine is that I am using I2C1. I can see the it is using address 0x18 dmesg has: [ 135.176315] asoc-simple-card sound: tlv320aic3x-hifi <-> 48038000.mcasp mapping ok
However, when I call on the speaker-test, this error appears: Unable to set hw params for playback: Invalid argument Setting of hwparams failed: Invalid argument Checking dmesg: [ 617.051387] davinci-mcasp 48038000.mcasp: stream has more channels (2) than are enabled in mcasp (0) [ 617.051781] davinci-mcasp 48038000.mcasp: ASoC: can't set 48038000.mcasp hw params: -22 Has anyone encountered the same problem? On Monday, April 4, 2016 at 5:48:01 PM UTC+8, Rick M wrote: > > I'm trying to get my audio cape to work (which is nearly identical to the > cape that was available for sale). I've had it working to some level of > success with past kernels (3.1.18), but now I'm on 4.4.6. My existing DTS > didn't work, so I'm looking at how the BB-BONE-AUDI-02 DTS is written. > > One of the differences is that it doesn't explicitly call out the McASP > clock frequency like the older one did. Instead, it seems to refer to > clk_mcasp0. But when I copy the same code into my DTS, I get: > > [ 103.180866] of_resolve_phandles: Could not find symbol 'clk_mcasp0' > [ 103.187269] bone_capemgr bone_capemgr: slot #4: Failed to resolve tree > > I found it defined by grepping /boot/dtbs. It's in > /boot/dtbs/4.4.6-bone-rt-r6/am335x-abbbi.dtb. Where can I find the source > files for these DTBs? > > Is this dtb part of what's loaded by default in 4.4.6-bone-rt-r6? If not, > can I copy the definition into my > > FWIW, here's my DTS and some output from dmesg: > http://pastebin.com/niDkWdWV > > Thanks, > > > -- > Rick Mann > [email protected] <javascript:> > > > -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/b490006c-5d06-47f4-a0e3-071f3664679d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
