Re: [alsa-devel] [PATCH] ASoC: sgtl5000: fix powerup/down of micbias-voltage
From: Fabio Estevam
Date: Fri Jan 12 2018 - 19:05:45 EST
Hi Christian,
On Fri, Jan 12, 2018 at 10:35 AM, Fischer, Christian
<fischerc@xxxxxxxxxxxxx> 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.