1. 15 5月, 2013 1 次提交
  2. 24 4月, 2013 1 次提交
    • 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
  3. 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
  4. 18 3月, 2013 5 次提交
  5. 29 1月, 2013 1 次提交
  6. 25 1月, 2013 3 次提交
  7. 23 1月, 2013 1 次提交
  8. 18 1月, 2013 1 次提交
  9. 17 12月, 2012 1 次提交
  10. 01 11月, 2012 1 次提交
  11. 07 9月, 2012 1 次提交
    • K
      usb: phy: add a new driver for omap usb2 phy · 657b306a
      Kishon Vijay Abraham I 提交于
      All phy related programming like enabling/disabling the clocks, powering
      on/off the phy is taken care of by this driver. It is also used for OTG
      related functionality like srp.
      
      This also includes device tree support for usb2 phy driver and
      the documentation with device tree binding information is updated.
      
      Currently writing to control module register is taken care in this
      driver which will be removed once the control module driver is in place.
      
      Cc: Felipe Balbi <balbi@ti.com>
      Signed-off-by: NKishon Vijay Abraham I <kishon@ti.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      657b306a
  12. 09 8月, 2012 1 次提交
  13. 27 6月, 2012 1 次提交
  14. 02 5月, 2012 1 次提交
    • R
      USB: Add driver for NXP ISP1301 USB transceiver · 8b7c3b68
      Roland Stigge 提交于
      This new driver registers the NXP ISP1301 chip via the I2C subsystem.  The chip
      is the USB transceiver shared by ohci-nxp, lpc32xx_udc (gadget) and
      isp1301_omap.
      
      ISP1301 is a very low-level driver that primarily separates out the I2C client
      registration of the ISP1301 chip (including instantiation via DT), used by
      other drivers, and declares the chip's registers. It's only a helper driver for
      some OHCI and USB device drivers.  The driver can be considered as a register
      set extension of ohci-nxp, lpc32xx-udc and isp1301_omap, which in turn know
      best what to do with the low level functionality (individual ISP1301 registers
      and timing, see the different initialization strategies in those drivers).
      Those drivers previously internally duplicated ISP1301 register definitions
      which is solved by this new isp1301 driver. The ISP1301 registers exposed via
      isp1301.h can be accessed by other drivers using it with standard i2c_smbus_*()
      accesses.
      
      Following patches let the respective USB host and gadget drivers use this
      driver, instead of duplicating ISP1301 handling.
      Signed-off-by: NRoland Stigge <stigge@antcom.de>
      Acked-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      8b7c3b68