From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sergei Shtylyov Subject: Re: [PATCH v3 1/2] usb: host: xhci-plat: add optional PHY support Date: Thu, 29 May 2014 21:17:42 +0400 Message-ID: <53876BB6.3040304@cogentembedded.com> References: <53868E18.7090805@renesas.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <53868E18.7090805@renesas.com> Sender: linux-sh-owner@vger.kernel.org To: Yoshihiro Shimoda , "mathias.nyman@intel.com" , Greg Kroah-Hartman , "linux-usb@vger.kernel.org" , Gregory CLEMENT Cc: SH-Linux , Magnus Damm , Geert Uytterhoeven , Grant Likely , Rob Herring , "devicetree@vger.kernel.org" List-Id: devicetree@vger.kernel.org Hello. On 05/29/2014 05:32 AM, Yoshihiro Shimoda wrote: > From: Gregory CLEMENT > This commit extends the xhci-plat so that it can optionally be passed > a reference to a PHY through the Device Tree. It will be useful for > the Armada 375 SoCs. If no PHY is provided then the behavior of the > driver is unchanged. > As for the clock, to achieve this, it adds a 'struct phy *' member in > xhci_hcd. While only used for now in xhci-plat, here again, it might > be used by other drivers in the future. > Signed-off-by: Gregory CLEMENT > Signed-off-by: Yoshihiro Shimoda > --- > drivers/usb/host/xhci-plat.c | 27 ++++++++++++++++++++++++++- > drivers/usb/host/xhci.h | 2 ++ > 2 files changed, 28 insertions(+), 1 deletion(-) I've already posted a patch adding generic PHY support to all USB HCDs about 1.5 months ago, which should make this patch unneeded. WBR, Sergei