1. 15 5月, 2013 9 次提交
  2. 26 4月, 2013 1 次提交
    • A
      USB: OMAP: ISP1301 needs USB_PHY · c3c683ea
      Arnd Bergmann 提交于
      The Kconfig entry for USB_OMAP unconditionally selects USB_ISP1301,
      which is now only visible when USB_PHY is also enabled.
      
      This adds an appropriate dependency and enables USB_PHY in the omap1
      defconfig, avoiding these build warnings:
      
      warning: (USB_OHCI_HCD && USB_OMAP) selects ISP1301_OMAP which has unmet direct dependencies (USB_SUPPORT && USB_PHY && I2C && ARCH_OMAP_OTG)
      
      Also fix a Makefile typo while we're at it.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Cc: Felipe Balbi <balbi@ti.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      c3c683ea
  3. 24 4月, 2013 2 次提交
    • A
      usb: phy: tegra: don't call into tegra-ehci directly · ee5d5499
      Arnd Bergmann 提交于
      Both phy-tegra-usb.c and ehci-tegra.c export symbols used by the other one,
      which does not work if one of them or both are loadable modules, resulting
      in an error like:
      
      drivers/built-in.o: In function `utmi_phy_clk_disable':
      drivers/usb/phy/phy-tegra-usb.c:302: undefined reference to `tegra_ehci_set_phcd'
      drivers/built-in.o: In function `utmi_phy_clk_enable':
      drivers/usb/phy/phy-tegra-usb.c:324: undefined reference to `tegra_ehci_set_phcd'
      drivers/built-in.o: In function `utmi_phy_power_on':
      drivers/usb/phy/phy-tegra-usb.c:447: undefined reference to `tegra_ehci_set_pts'
      
      This turns the interface into a one-way dependency by letting the tegra ehci
      driver pass two function pointers for callbacks that need to be called by
      the phy driver.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Cc: Venu Byravarasu <vbyravarasu@nvidia.com>
      Cc: Alan Stern <stern@rowland.harvard.edu>
      Cc: Felipe Balbi <balbi@ti.com>
      Cc: Stephen Warren <swarren@nvidia.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      ee5d5499
    • A
      usb: phy: phy core cannot yet be a module · 4623245c
      Arnd Bergmann 提交于
      A lot of platform code calls into the usb phy core at the moment, which
      does not work if it is built as a loadable module. This will hopefully
      change when those platforms are all converted to DT based probing,
      but for now, the easiest solution is to change it from "tristate"
      to "bool".
      
      This solves at least these ARM allmodconfig build errors:
      
      arch/arm/mach-imx/built-in.o: In function `imx_otg_ulpi_create':
      arch/arm/mach-imx/ulpi.c:117: undefined reference to `otg_ulpi_create'
      arch/arm/mach-omap2/built-in.o: In function `usbhs_init_phys':
      arch/arm/mach-omap2/usb-host.c:652: undefined reference to `usb_bind_phy'
      arch/arm/mach-omap2/built-in.o: In function `omap_2430sdp_init':
      arch/arm/mach-omap2/board-2430sdp.c:236: undefined reference to `usb_bind_phy'
      arch/arm/mach-omap2/built-in.o: In function `omap3_beagle_init':
      arch/arm/mach-omap2/board-omap3beagle.c:554: undefined reference to `usb_bind_phy'
      arch/arm/mach-omap2/built-in.o: In function `devkit8000_init':
      arch/arm/mach-omap2/board-devkit8000.c:596: undefined reference to `usb_bind_phy'
      arch/arm/mach-omap2/built-in.o: In function `omap_ldp_init':
      arch/arm/mach-omap2/board-ldp.c:379: undefined reference to `usb_bind_phy'
      drivers/built-in.o: In function `ab8500_charger_probe':
      drivers/power/ab8500_charger.c:3629: undefined reference to `usb_get_phy'
      drivers/power/ab8500_charger.c:3706: undefined reference to `usb_put_phy'
      drivers/built-in.o: In function `ab8500_charger_remove':
      drivers/power/ab8500_charger.c:3411: undefined reference to `usb_put_phy'
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: NFelipe Balbi <balbi@ti.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      4623245c
  4. 23 4月, 2013 1 次提交
  5. 03 4月, 2013 15 次提交
  6. 02 4月, 2013 2 次提交
  7. 27 3月, 2013 2 次提交
    • R
      usb: Fix compile error by selecting USB_OTG_UTILS · c8fa48d3
      Roland Stigge 提交于
      The current lpc32xx_defconfig breaks like this, caused by recent phy
      restructuring:
      
        LD      init/built-in.o
      drivers/built-in.o: In function `usb_hcd_nxp_probe':
      drivers/usb/host/ohci-nxp.c:224: undefined reference to `isp1301_get_client'
      drivers/built-in.o: In function `lpc32xx_udc_probe':
      drivers/usb/gadget/lpc32xx_udc.c:3104: undefined reference to
      `isp1301_get_client' distcc[27867] ERROR: compile (null) on localhost failed
      make: *** [vmlinux] Error 1
      
      Caused by 1c208881 (usb: Makefile: fix
      drivers/usb/phy/ Makefile entry)
      
      This patch fixes this by selecting USB_OTG_UTILS in Kconfig which
      causes the phy driver to be built again.
      Signed-off-by: NRoland Stigge <stigge@antcom.de>
      Acked-by: NFelipe Balbi <balbi@ti.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      c8fa48d3
    • F
      usb: gadget: mv_u3d: drop ARCH dependency · 60630c2e
      Felipe Balbi 提交于
      this driver compiles fine everywhere which
      means we can use linux-next to compile it
      for us frequently.
      
      By dropping the arch dependency, we also
      ensure driver writers don't add virtual
      arch-depdencies to the driver by e.g. using
      the wrong headers.
      
      While at that, fix Marvell's USB3 PHY dependency,
      that's the driver which depends on CPU_MM3, not
      mv_u3d_core.
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      60630c2e
  8. 21 3月, 2013 4 次提交
  9. 20 3月, 2013 1 次提交
  10. 19 3月, 2013 1 次提交
    • F
      usb: phy: samsung: fix sparse warning · b64a1593
      Felipe Balbi 提交于
      Fix the following sparse warning:
      
      drivers/usb/phy/phy-samsung-usb2.c:50:26: sparse: incorrect type in argument 1 (different address spaces)
      drivers/usb/phy/phy-samsung-usb2.c:50:26:    expected void const volatile [noderef] <asn:2>*addr
      drivers/usb/phy/phy-samsung-usb2.c:50:26:    got void *
      
      Cc: Vivek Gautam <gautam.vivek@samsung.com>
      Cc: Kukjin Kim <kgene.kim@samsung.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      b64a1593
  11. 18 3月, 2013 2 次提交