I've made a lot of progress getting the DTBO correct for my cape. I think the
CODEC is configured, although I don't know how to test it. But the
simple-sound-card is still giving me some issues. It reports "could not get
#sound-dai-cells for /ocp/mcasp@48038000". I tried adding #sound-dai-cells =
<0>; to the node, but it didn't seem to have any effect. Here's the DTO:
https://github.com/JetForMe/podtique/blob/master/bbb/cape/Podtique1/BB-ENABLE-PRU.dts
And dmesg says this:
[ 45.197340] bone_capemgr bone_capemgr: part_number 'BB-ENABLE-PRU', version
'N/A'
[ 45.197383] bone_capemgr bone_capemgr: slot #4: override
[ 45.197400] bone_capemgr bone_capemgr: Using override eeprom data at slot 4
[ 45.197417] bone_capemgr bone_capemgr: slot #4: 'Override Board
Name,00A0,Override Manuf,BB-ENABLE-PRU'
[ 45.197548] bone_capemgr: bone_capemgr bone_capemgr: slot #4: Requesting
part number/version based 'BB-ENABLE-PRU-00A0.dtbo
[ 45.197567] bone_capemgr: bone_capemgr bone_capemgr: slot #4: Requesting
firmware 'BB-ENABLE-PRU-00A0.dtbo' for board-name 'Override Board Name',
version '00A0'
[ 45.197737] bone_capemgr: bone_capemgr bone_capemgr: slot #4: dtbo
'BB-ENABLE-PRU-00A0.dtbo' loaded; converting to live tree
[ 45.213769] gpio-of-helper ocp:gpio_helper: ready
[ 45.214448] gpiolib_of: of_get_named_gpiod_flags: parsed 'gpio' property of
node '//fixedregulator@1[0]' - status (0)
[ 45.214733] core: lz-codec-reg: no parameters
[ 45.214826] fixed: reg-fixed-voltage fixedregulator@1: lz-codec-reg
supplying 0uV
[ 45.228817] pruss_uio 4a300000.pruss: pins are not configured from the driver
[ 45.232434] bone_capemgr bone_capemgr: slot #4: dtbo
'BB-ENABLE-PRU-00A0.dtbo' loaded; overlay id #0
[ 45.281918] gpiolib_of: of_get_named_gpiod_flags: parsed 'gpio-reset'
property of node '/ocp/i2c@4819c000/tlv320aic3104@0[0]' - status (0)
[ 45.281980] core: tlv320aic3x-codec 2-0018: Looking up IOVDD-supply from
device tree
[ 45.282082] core: tlv320aic3x-codec 2-0018: Looking up DVDD-supply from
device tree
[ 45.282152] core: tlv320aic3x-codec 2-0018: Looking up AVDD-supply from
device tree
[ 45.282213] core: tlv320aic3x-codec 2-0018: Looking up DRVDD-supply from
device tree
[ 45.282284] snd_soc_core: tlv320aic3x-codec 2-0018: codec register 2-0018
[ 45.282318] snd_soc_core: tlv320aic3x-codec 2-0018: ASoC: dai register
2-0018 #1
[ 45.282332] snd_soc_core: tlv320aic3x-codec 2-0018: ASoC: Registered DAI
'tlv320aic3x-hifi'
[ 45.282349] snd_soc_core: tlv320aic3x-codec 2-0018: ASoC: Registered codec
'tlv320aic3x-codec.2-0018'
[ 45.283805] //sound/simple-audio-card,cpu: could not get #sound-dai-cells
for /ocp/mcasp@48038000
[ 45.331909] snd_soc_core: davinci-mcasp 48038000.mcasp: ASoC: dai register
48038000.mcasp #1
[ 45.331945] snd_soc_core: davinci-mcasp 48038000.mcasp: ASoC: Registered DAI
'48038000.mcasp'
[ 45.332106] snd_soc_core: davinci-mcasp 48038000.mcasp: ASoC: Registered
platform '48038000.mcasp'
[ 45.358913] asoc-simple-card sound: parse error -22
[ 45.374127] asoc-simple-card: probe of sound failed with error -22
I have gpio1[18] controlling two voltage regulators that power the CODEC. The
regulator node seems to bring that up just fine.
gpio1[19] is the active-low reset to the CODEC. I haven't yet seen that go
high, although I haven't put a scope on it during the DTO load to see if it's
getting any traffic.
I'd love to know how to fix the sound node, and how to poke at the CODEC to see
if it's alive (via the driver; I was able to use i2cget to look at registers).
Thanks!
--
Rick Mann
[email protected]
--
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.