Re: [PATCH 0/2] Allow twl4030_charger to find phy reliably.
From: Pavel Machek
Date: Mon Mar 02 2015 - 16:05:27 EST
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@xxxxxx>
> --
> Signature
Smiley
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/