[Gta04-owner] [PATCH 0/2] Allow twl4030_charger to find phy reliably.

Pavel Machek pavel at ucw.cz
Mon Mar 2 22:05:14 CET 2015


On Tue 2015-02-24 15:01:29, NeilBrown wrote:
> The twl4030_charger is physically paired with the twl4030 USB phy,
> so the drivers need to be able to reliably find each other.
> 
> twl4030_charger currently uses usb_get_phy(), which works if there is
> only one phy to choose from, but is not reliable in more complex
> configurations.
> 
> These patches add a new interface to allow a phy to be found given a
> device node, and then use that interface in twl4030_charger so that
> it finds its sibling in the devicetree, and gets the phy associated
> with that.

Apart for dt documentation...

Acked-by: Pavel Machek <pavel at ucw.cz>

> --
> Signature

Smiley

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html


More information about the Gta04-owner mailing list