On Sat, Oct 13, 2018 at 12:21 PM Vasily Khoruzhick <anarsoul@xxxxxxxxx> wrote: > > On Fri, Oct 12, 2018 at 9:00 PM Chen-Yu Tsai <wens@xxxxxxxx> wrote: > > > > On Sat, Oct 13, 2018 at 11:33 AM Vasily Khoruzhick <anarsoul@xxxxxxxxx> 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@xxxxxxxxx> > > > > 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