[Letux-kernel] letux-4.7-rc7: charging & ethernet gadget

H. Nikolaus Schaller hns at goldelico.com
Mon Jul 18 18:08:38 CEST 2016


> Am 18.07.2016 um 09:47 schrieb H. Nikolaus Schaller <hns at goldelico.com>:
> 
> Next test:
> 
> letux-4.7-rc7 but the following files pulled from v4.3:
> 
> 	geändert:       drivers/hwmon/twl4030-madc-hwmon.c
> 	geändert:       drivers/input/keyboard/twl4030_keypad.c
> 	geändert:       drivers/input/misc/twl4030-pwrbutton.c
> 	geändert:       drivers/input/misc/twl4030-vibra.c
> 	geändert:       drivers/mfd/twl4030-audio.c
> 	geändert:       drivers/mfd/twl4030-irq.c
> 	geändert:       drivers/mfd/twl4030-power.c
> 	geändert:       drivers/phy/phy-twl4030-usb.c
> 	geändert:       drivers/power/twl4030_charger.c
> 	geändert:       drivers/usb/musb/omap2430.c
> 	geändert:       include/linux/platform_data/omap-twl4030.h
> 	neue Datei:     include/linux/usb/musb-omap.h
> 	geändert:       sound/soc/codecs/twl4030.c
> 	geändert:       sound/soc/omap/omap-twl4030.c
> 
> This compiles and boots. But charging isn't working (nor gadget).
> Not even in continuous mode.
> 
> There is one difference now:
> when replugging (was plugged during boot) the USB cable I
> get
> 
> [  202.650177] omap_musb_mailbox: musb core is not yet ready
> 
> Next I will try to backport the musb subsystem from v4.3.

Well, finally I gave up.

Initially it started fine. Just pull in musb from 4.3. And compile.
But then there were dependencies. To usb-core. Ok, backport that
as well. Next are dependencies on gadget.

And so on.

At the point where it started to require a different inode structure
I gave up because it becomes unlikely that it will ever work before
I have essentially done a git checkout 4.3...

Anyways this exercise gave me some hints that plugging events are
related to the musb driver. And musb is the SoC circuits used for the
OTG port. Maybe disabling musb makes charging work. But it might
miss the power-plugin event.

Or changes something in the madc/bciadc part.

Let's see.

BR,
Nikolaus



More information about the Letux-kernel mailing list