[resend PATCH v3 4/4] usb: phy: add phy-hi6220-usb

Felipe Balbi balbi at ti.com
Mon Feb 23 07:29:48 PST 2015


On Wed, Feb 11, 2015 at 01:30:53AM +0000, Peter Chen wrote:
>  
> > > Signed-off-by: Zhangfei Gao <zhangfei.gao at linaro.org>
> > > ---
> > >  drivers/usb/phy/Kconfig          |   9 ++
> > >  drivers/usb/phy/Makefile         |   1 +
> > >  drivers/usb/phy/phy-hi6220-usb.c | 306
> > > +++++++++++++++++++++++++++++++++++++++
> > >  3 files changed, 316 insertions(+)
> > >  create mode 100644 drivers/usb/phy/phy-hi6220-usb.c
> > >
> > > diff --git a/drivers/usb/phy/Kconfig b/drivers/usb/phy/Kconfig index
> > > c6d0c8e..405a3d0 100644
> > > --- a/drivers/usb/phy/Kconfig
> > > +++ b/drivers/usb/phy/Kconfig
> > > @@ -173,6 +173,15 @@ config USB_MXS_PHY
> > >
> > >  	  MXS Phy is used by some of the i.MX SoCs, for example imx23/28/6x.
> > >
> > > +config USB_HI6220_PHY
> > > +	tristate "hi6220 USB PHY support"
> > > +	select USB_PHY
> > > +	select MFD_SYSCON
> > > +	help
> > > +	  Enable this to support the HISILICON HI6220 USB PHY.
> > > +
> > > +	  To compile this driver as a module, choose M here.
> > > +
> > >  config USB_RCAR_PHY
> > >  	tristate "Renesas R-Car USB PHY support"
> > >  	depends on USB || USB_GADGET
> > > diff --git a/drivers/usb/phy/Makefile b/drivers/usb/phy/Makefile index
> > > 75f2bba..00172d3 100644
> > > --- a/drivers/usb/phy/Makefile
> > > +++ b/drivers/usb/phy/Makefile
> > > @@ -18,6 +18,7 @@ obj-$(CONFIG_SAMSUNG_USBPHY)		+= phy-
> > samsung-usb.o
> > >  obj-$(CONFIG_TWL6030_USB)		+= phy-twl6030-usb.o
> > >  obj-$(CONFIG_USB_EHCI_TEGRA)		+= phy-tegra-usb.o
> > >  obj-$(CONFIG_USB_GPIO_VBUS)		+= phy-gpio-vbus-usb.o
> > > +obj-$(CONFIG_USB_HI6220_PHY)		+= phy-hi6220-usb.o
> > 
> > new drivers only on drivers/phy/, sorry.
> > 
> 
> This driver has many USB dependencies, like otg, gadget. I don't know it
> can use generic phy currently.

then we improve generic phy framework. It's about time we moved
everything to that anyway.

-- 
balbi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20150223/1ab420a7/attachment.sig>


More information about the linux-arm-kernel mailing list