1. 28 8月, 2013 3 次提交
  2. 20 8月, 2013 1 次提交
  3. 29 7月, 2013 2 次提交
    • R
      usb: phy: make PHY driver selection possible by controller drivers · 052a11d1
      Roger Quadros 提交于
      Convert PHY Drivers from menuconfig to menu so that the PHY drivers
      can be explicitely selected by the controller drivers.
      
      USB_PHY is no longer a user visible option. It is upto to the PHY
      drivers to select it if needed. This patch does so for the existing
      PHY drivers that use the USB_PHY library.
      
      Doing so moves the USB_PHY and PHY driver selection problem from the
      end user to the PHY and controller driver developer.
      
      e.g.
      
      Earlier, a controller driver (e.g. EHCI_OMAP) that needs to select
      a PHY driver (e.g. NOP_PHY) couldn't do so because the PHY driver
      depended on USB_PHY. Making the controller driver depend on USB_PHY
      has a negative effect i.e. it becomes invisible to the user till
      USB_PHY is enabled. Most end users will not familiar with this.
      
      With this patch, the end user just needs to select the controller driver
      needed for his/her platform without worrying about which PHY driver to
      select.
      
      Also update USB_EHCI_MSM, USB_LPC32XX and USB_OMAP to not depend
      on USB_PHY any more. They can safely select the necessary PHY drivers.
      
      [ balbi@ti.com : refreshed on top of my next branch. Changed bool
      	followed by default n into def_bool n ]
      
      CC: Pavankumar Kondeti <pkondeti@codeaurora.org>
      Acked-by: NRoland Stigge <stigge@antcom.de>
      Signed-off-by: NRoger Quadros <rogerq@ti.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      052a11d1
    • F
      usb: gadget: remove imx_udc · 2b0c4953
      Felipe Balbi 提交于
      That driver hasn't been really maintained for
      a long time. It doesn't compile in any way, it
      includes non-existent headers, has no users,
      and is just plain broken.
      
      The person who used to work with that driver
      has publicly stated that he has no plans to
      touch that driver again and is ok with removal[1].
      
      Due to these factors, imx_udc is now removed from
      the tree, if someone really believe it needs to
      be kept, please fix the bugs in that driver.
      
      [1] http://marc.info/?l=linux-usb&m=136197620417636&w=2Signed-off-by: NFelipe Balbi <balbi@ti.com>
      2b0c4953
  4. 15 7月, 2013 4 次提交
    • G
      usb: gadget: USB_MV_U3D should depend on HAS_DMA · 91f6b847
      Geert Uytterhoeven 提交于
      If NO_DMA=y:
      
      drivers/built-in.o: In function `mv_u3d_done':
      drivers/usb/gadget/mv_u3d_core.c:206: undefined reference to `dma_pool_free'
      drivers/usb/gadget/mv_u3d_core.c:209: undefined reference to `dma_unmap_single'
      drivers/built-in.o: In function `mv_u3d_build_trb_one':
      drivers/usb/gadget/mv_u3d_core.c:311: undefined reference to `dma_pool_alloc'
      drivers/built-in.o: In function `mv_u3d_req_to_trb':
      drivers/usb/gadget/mv_u3d_core.c:480: undefined reference to `dma_map_single'
      drivers/built-in.o: In function `mv_u3d_remove':
      drivers/usb/gadget/mv_u3d_core.c:1770: undefined reference to `dma_pool_destroy'
      drivers/usb/gadget/mv_u3d_core.c:1773: undefined reference to `dma_free_coherent'
      drivers/built-in.o: In function `mv_u3d_probe':
      drivers/usb/gadget/mv_u3d_core.c:1880: undefined reference to `dma_alloc_coherent'
      drivers/usb/gadget/mv_u3d_core.c:1890: undefined reference to `dma_pool_create'
      drivers/usb/gadget/mv_u3d_core.c:1984: undefined reference to `dma_pool_destroy'
      drivers/usb/gadget/mv_u3d_core.c:1986: undefined reference to `dma_free_coherent'
      Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      91f6b847
    • G
      usb: gadget: USB_FOTG210_UDC should depend on HAS_DMA · bfcbd020
      Geert Uytterhoeven 提交于
      If NO_DMA=y:
      
      drivers/built-in.o: In function `fotg210_start_dma':
      drivers/usb/gadget/fotg210-udc.c:354: undefined reference to `dma_map_single'
      drivers/usb/gadget/fotg210-udc.c:357: undefined reference to `dma_mapping_error'
      drivers/usb/gadget/fotg210-udc.c:362: undefined reference to `dma_sync_single_for_cpu'
      drivers/usb/gadget/fotg210-udc.c:376: undefined reference to `dma_unmap_single'
      Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      bfcbd020
    • G
      usb: gadget: USB_MV_UDC should depend on HAS_DMA · 4713aec1
      Geert Uytterhoeven 提交于
      If NO_DMA=y:
      
      drivers/built-in.o: In function `done':
      drivers/usb/gadget/mv_udc_core.c:239: undefined reference to `dma_pool_free'
      drivers/built-in.o: In function `build_dtd':
      drivers/usb/gadget/mv_udc_core.c:371: undefined reference to `dma_pool_alloc'
      drivers/built-in.o: In function `udc_prime_status':
      drivers/usb/gadget/mv_udc_core.c:1465: undefined reference to `dma_map_single'
      drivers/built-in.o: In function `mv_udc_remove':
      drivers/usb/gadget/mv_udc_core.c:2087: undefined reference to `dma_pool_destroy'
      drivers/usb/gadget/mv_udc_core.c:2090: undefined reference to `dma_free_coherent'
      drivers/built-in.o: In function `mv_udc_probe':
      drivers/usb/gadget/mv_udc_core.c:2190: undefined reference to `dma_alloc_coherent'
      drivers/usb/gadget/mv_udc_core.c:2201: undefined reference to `dma_pool_create'
      drivers/usb/gadget/mv_udc_core.c:2315: undefined reference to `dma_pool_destroy'
      drivers/usb/gadget/mv_udc_core.c:2317: undefined reference to `dma_free_coherent'
      Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      4713aec1
    • A
      usb: gadget: Kconfig: Fix configfs-based RNDIS function build · 9d140f79
      Andrzej Pietrasiewicz 提交于
      USB_CONFIGFS_RNDIS depends on USB_U_RNDIS. Select it.
      Acked-by: NMichal Nazarewicz <mina86@mina86.com>
      Reported-by: NFengguang Wu <fengguang.wu@intel.com>
      Signed-off-by: NAndrzej Pietrasiewicz <andrzej.p@samsung.com>
      Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      9d140f79
  5. 18 6月, 2013 1 次提交
  6. 10 6月, 2013 22 次提交
  7. 29 5月, 2013 1 次提交
  8. 24 5月, 2013 1 次提交
  9. 15 5月, 2013 1 次提交
  10. 26 4月, 2013 2 次提交
    • 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
    • A
      USB: lpc32xx: ISP1301 needs USB_PHY · 64e98a79
      Arnd Bergmann 提交于
      The Kconfig entry for USB_LPC32XX 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 msm
      defconfig, avoiding these build errors:
      
      warning: (USB_LPC32XX) selects USB_ISP1301 which has unmet direct dependencies (USB_SUPPORT && USB_PHY && (USB || USB_GADGET) && I2C)
      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:3071: undefined reference to `isp1301_get_client'
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Cc: Felipe Balbi <balbi@ti.com>
      Cc: Roland Stigge <stigge@antcom.de>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      64e98a79
  11. 03 4月, 2013 2 次提交