[alsa-devel] [PATCH 03/10] ASoC: sun8i-codec: add support for speaker amp GPIO

Chen-Yu Tsai wens at csie.org
Sat Oct 13 06:34:37 CEST 2018


On Sat, Oct 13, 2018 at 12:21 PM Vasily Khoruzhick <anarsoul at gmail.com> wrote:
>
> On Fri, Oct 12, 2018 at 9:00 PM Chen-Yu Tsai <wens at csie.org> wrote:
> >
> > On Sat, Oct 13, 2018 at 11:33 AM Vasily Khoruzhick <anarsoul at gmail.com> wrote:
> > >
> > > Some boards may have external amplifier for speaker that is controlled
> > > via GPIO, add support for it in similar way as it's done in sun4i-codec
> > >
> > > Signed-off-by: Vasily Khoruzhick <anarsoul at gmail.com>
> >
> > ASoC now has a generic amplifier driver. Please use that instead.
> >
> > See Documentation/devicetree/bindings/sound/simple-amplifier.txt
>
> Is there any example on how to use it? Documentation doesn't specify
> what DAPM routes I have to add to get it working.

(CC-ed author, Jerome)

The driver lists INL, INR, OUTL, OUTR as the in and out endpoints.
Not sure why they aren't in the bindings, but this driver is relatively
new.

ChenYu


More information about the Alsa-devel mailing list