[Letux-kernel] regression: twl4030 audio/clock stopped working in v4.16

Andreas Kemnade andreas at kemnade.info
Fri Apr 6 23:27:02 CEST 2018


On Fri, 6 Apr 2018 23:25:47 +0200
Andreas Kemnade <andreas at kemnade.info> wrote:

> Hi,
> 
> On Wed, 4 Apr 2018 20:29:49 +0200
> "H. Nikolaus Schaller" <hns at goldelico.com> wrote:
> 
> > Hi Peter,
> > I just noticed a problem in v4.16 kernels with twl4030 audio and vibra driver no longer working.
> > 
> > Tracing it back shows that it already did appear in v4.16-rc1 and wasn't fixed up to v4.16.0.
> > Kernel v4.15.9 (the latest one where I have a binary) works.
> > 
> > The symptoms are:
> > 
> > [    1.557342] twl4030-audio 48070000.i2c:twl at 48:audio: Invalid audio_mclk
> > [    1.564788] twl4030-audio: probe of 48070000.i2c:twl at 48:audio failed with error -22
> > [    1.839141] TWL4030: HFCLK is not configured
> >   
> hmm, 4.16.0-letux+ + devicetree from 4.16.0-rc3-letux+
> give working audio for me.
> 
> Hmm, what is going on here?
> 
here is some dmesg output

root at gta04:~#  dmesg|fgrep -i twl4030
[    0.000000] Kernel command line: root=/dev/mmcblk0p6 rootfstype=ext4,ext3,btrfs rootwait twl4030_charger.allow_usb=y mpurate=800 console=ttyO2,115200n8 vram=12M omapfb.vram=0:8M,1:4M omapfb.rotate_type=0 omapdss.def_disp=lcd rootwait twl4030_charger.allow_usb=1 log_buf_len=8M ignore_loglevel earlyprintk
[    1.838287] twl4030_reg 48070000.i2c:twl at 48:regulator-vmmc2: can't register VMMC2, -22
[    1.846893] twl4030_reg: probe of 48070000.i2c:twl at 48:regulator-vmmc2 failed with error -22
[    5.334472] input: twl4030_pwrbutton as /devices/platform/68000000.ocp/48070000.i2c/i2c-0/0-0048/48070000.i2c:twl at 48:pwrbutton/input/input2
[    5.363067] input: twl4030:vibrator as /devices/platform/68000000.ocp/48070000.i2c/i2c-0/0-0048/48070000.i2c:twl at 48:audio/twl4030-vibra/input/input3
[    5.472808] twl4030_madc 48070000.i2c:twl at 48:madc: 48070000.i2c:twl at 48:madc supply vusb3v1 not found, using dummy regulator
[    5.565551] twl4030_gpio twl4030-gpio: can't dispatch IRQs from modules
[    5.715881] twl4030_usb 48070000.i2c:twl at 48:twl4030-usb: Initialized TWL4030 USB module
[    6.813446] twl4030_bci 48070000.i2c:twl at 48:bci: battery temperature out of range
[    6.833099] twl4030_bci 48070000.i2c:twl at 48:bci: battery temperature out of range
[    7.411224] twl4030_voice_set_tristate codec=1a73eeba 1
[    7.471984] omap-twl4030 sound: twl4030-hifi <-> 49022000.mcbsp mapping ok

And I actually could play some music.

Regards,
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.goldelico.com/pipermail/letux-kernel/attachments/20180406/7bcfa52a/attachment-0001.asc>


More information about the Letux-kernel mailing list