Re: [alsa-devel] [PATCH] ASoC: sgtl5000: fix powerup/down of micbias-voltage
Hi Mark,
Has your board connected the bias to the microphone widget it defines? Unless your board says that the bias is in use on a given board it won't be enabled.
Thanks for this tip! The problem is that the machine-driver mxs-sgtl5000 don't support audio-routing. I've prepared a patch that will be submitted this noon.
Regards, Christian
Hi Christian,
On Fri, Jan 12, 2018 at 10:35 AM, Fischer, Christian fischerc@swissphone.de wrote:
Thanks for this tip! The problem is that the machine-driver mxs-sgtl5000 don't support audio-routing. I've prepared a patch that will be submitted this noon.
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.
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.
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...
participants (2)
-
Fabio Estevam
-
Fischer, Christian