From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755630AbbCBVFU (ORCPT ); Mon, 2 Mar 2015 16:05:20 -0500 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:58278 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753540AbbCBVFR (ORCPT ); Mon, 2 Mar 2015 16:05:17 -0500 Date: Mon, 2 Mar 2015 22:05:14 +0100 From: Pavel Machek To: NeilBrown Cc: Dmitry Eremin-Solenikov , Greg Kroah-Hartman , David Woodhouse , Sebastian Reichel , Felipe Balbi , GTA04 owners , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org Subject: Re: [PATCH 0/2] Allow twl4030_charger to find phy reliably. Message-ID: <20150302210514.GL13270@amd> References: <20150224035809.32252.4180.stgit@notabene.brown> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150224035809.32252.4180.stgit@notabene.brown> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > -- > Signature Smiley -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html