13 Jan
2018
13 Jan
'18
11:50 a.m.
What about using simple audio card binding in your device tree instead?
You could pass the simple-audio-card,routing property as described in Documentation/devicetree/bindings/sound/simple-card.txt
A dts where sgtl5000 is used with simple audio card is arch/arm/boot/dts/imx7s-warp.dts.
This one does not use simple-audio-card,routing, but at least it gives you a reference.
This one uses sgtl5000 with simple-audio-card,routing: arch/arm/boot/dts/imx6ul-tx6ul.dtsi
Hope it helps.
Hello Fabio,
you are right, a simple-audio-card would work too! Thanks! I also applied a patch for mxs-sgtl5000 machine-driver that adds audio-routing support: http://mailman.alsa-project.org/pipermail/alsa-devel/2018-January/130666.htm...