Merge tag 'xceiv-for-v3.9' of git://git.kernel.org/pub/scm/linux/kernel/git/balbi...
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Jan 2013 17:09:46 +0000 (09:09 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Jan 2013 17:09:46 +0000 (09:09 -0800)
Felipe writes:
usb: xceiv: patches for v3.9 merge window

Two new PHY drivers coming here: one for Samsung,
one for OMAP. Both architectures are adding USB3
support to mainline kernel.

The PHY layer now allows us to have mulitple PHYs
of the same type, which is necessary for platforms
which provide more than one USB peripheral port.

There's also a few cleanups here: removal of __dev*
annotations, conversion of a cast to to_delayed_work(),
and mxs-phy learns about ->set_suspend.

1  2 
drivers/usb/dwc3/core.c
drivers/usb/gadget/s3c-hsotg.c
drivers/usb/host/ehci-s5p.c
drivers/usb/host/ohci-exynos.c
drivers/usb/musb/omap2430.c
drivers/usb/otg/mv_otg.c

Simple merge
Simple merge
Simple merge
Simple merge
index bb48796e5213ae14805484223d865f04fb7c6e39,d100360eab7a294c5ebdcc4abd813651f67f9c55..1762354fe793198fbfc075fb95ab22468dc34a8b
@@@ -366,10 -345,15 +345,15 @@@ static int omap2430_musb_init(struct mu
         * up through ULPI.  TWL4030-family PMICs include one,
         * which needs a driver, drivers aren't always needed.
         */
-       musb->xceiv = devm_usb_get_phy(dev, USB_PHY_TYPE_USB2);
+       if (dev->parent->of_node)
+               musb->xceiv = devm_usb_get_phy_by_phandle(dev->parent,
+                   "usb-phy", 0);
+       else
+               musb->xceiv = devm_usb_get_phy_dev(dev, 0);
        if (IS_ERR_OR_NULL(musb->xceiv)) {
                pr_err("HS USB OTG: no transceiver configured\n");
 -              return -ENODEV;
 +              return -EPROBE_DEFER;
        }
  
        musb->isr = omap2430_musb_interrupt;
Simple merge