13 Jan
2018
13 Jan
'18
1:10 a.m.
On Fri, Jan 12, 2018 at 10:05 PM, Fabio Estevam festevam@gmail.com wrote:
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.