Comment 708 for bug 1958019

Revision history for this message
In , soyer (soyer-linux-kernel-bugs) wrote :

(In reply to Marko from comment #691)
> (In reply to Gergo K from comment #689)
> > The TAS2563 works without the firmware (tuning file).
> > Documentation:
> > https://www.ti.com/product/TAS2553
> >
> > However there is an android driver with firmware loading support.
> > https://git.ti.com/cgit/tas256xsw-android/tas2563-android-driver/
> > Or a mainline RFC:
> > https://lkml.org/lkml/2020/6/9/800
> >
> >
> > The bass speakers can be enabled with:
> > i2cset 3 0x4c 0x2 0
> > i2cset 3 0x4d 0x2 0
> >
> > they are listening on 0x48 too, so in one turn:
> > i2cset 3 0x48 0x2 0
> >
> > I don't know how safe it is to use it this way.
> >
> > They have to be enabled after suspend, and if you plug in-out the headphone
> > (only if auto mute is enabled).
>
> OK, that works! But what can I do to make this register (3 0x38 0x02 0) set
> automatically?
> Does that have something to do with the power settings under
> /sys/bus/i2c/devices/i2c-3/device/power/*?

I think you can run it with systemd after resume/hibernate/boot while I write a driver for it.