Hi all,

Is it possible to configure HDMI audio on the BeagleBoneBlack using a v4.8 
stock Linux kernel?

I'm working with custom hardware that is based on the BBB schematic and 
stock Linux v4.8. The HDMI circuit is intentionally similar - the DRM and 
McASP pins from the Sitara are connected to a tda19988. We have HDMI video 
working, actually, but I'm struggling to configure the audio. Still 
learning....

We're largely based on this dts 
<https://github.com/beagleboard/bb.org-overlays/blob/master/src/arm/BB-HDMI-TDA998x-00A0.dts>
 
with the McASP pins adjusted to use McASP1 instead of McASP0 per the custom 
hardware.

I've noticed that the tda998x driver in kernel v4.8 doesn't support the 
audio-ports 
<https://github.com/beagleboard/bb.org-overlays/blob/599871d4ab87fb6787c6681d8055c62ef065b869/src/arm/BB-HDMI-TDA998x-00A0.dts#L161>
 
setting. Is there another way to configure the audio?

I've tried duplicating the above BBB overlay's settings but have found that 
snd_soc_get_dai_name() 
<https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/sound/soc/soc-core.c?h=v4.8#n3800>
 
fails because it can't find the tda19988 in the component_list 
<https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/sound/soc/soc-core.c?h=v4.8#n59>.
 
Specifically, it defers the probe multiple times and eventually gives up. 
Perhaps there is another setting the device tree that will add the tda19988 
to the DAI list?

I've been experimenting with configuring a simple-audio-card with a dummy 
audio codec using the snd-soc-dummy driver. It looks like the snd-soc-dummy 
driver doesn't have any device tree bindings 
<https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/sound/soc/soc-utils.c?h=v4.8#n163>
 
in kernel v4.8, but it seems possible to patch them in 
<https://mailman.alsa-project.org/pipermail/alsa-devel/2015-November/100896.html>.
 
However, I'm not sure that this is the right way to go.

Perhaps there's a different approach entirely?

Thanks for your help,

-Kevin

-- 
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/047963d6-f73d-4194-a361-711122abfd12%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to