1. 16 6月, 2009 3 次提交
  2. 25 3月, 2009 1 次提交
  3. 28 2月, 2009 1 次提交
    • D
      usb: musb: make Davinci *work* in mainline · 34f32c97
      David Brownell 提交于
      Now that the musb build fixes for DaVinci got merged (RC3?), kick in
      the other bits needed to get it finally *working* in mainline:
      
       - Use clk_enable()/clk_disable() ... the "always enable USB clocks"
         code this originally relied on has since been removed.
      
       - Initialize the USB device only after the relevant I2C GPIOs are
         available, so the host side can properly enable VBUS.
      
       - Tweak init sequencing to cope with mainline's relatively late init
         of the I2C system bus for power switches, transceivers, and so on.
      
      Sanity tested on DM6664 EVM for host and peripheral modes; that system
      won't boot with CONFIG_PM enabled, so OTG can't yet be tested.  Also
      verified on OMAP3.
      
      (Unrelated:  correct the MODULE_PARM_DESC spelling of musb_debug.)
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Cc: Felipe Balbi <me@felipebalbi.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      34f32c97
  4. 28 1月, 2009 1 次提交
    • D
      USB: musb davinci buildfix · 10b4eade
      David Brownell 提交于
      Trying once more to get this merged.  The original was submitted
      for 2.6.27-rc2 or so, and never got correctly merged.  Neither
      were any of the numerous subsequent resends.  Sigh.
      
        CC      drivers/usb/musb/davinci.o
      drivers/usb/musb/davinci.c:35:32: error: mach/arch/hardware.h: No such file or directory
      drivers/usb/musb/davinci.c:36:30: error: mach/arch/memory.h: No such file or directory
      drivers/usb/musb/davinci.c:37:28: error: mach/arch/gpio.h: No such file or directory
      drivers/usb/musb/davinci.c:373: error: redefinition of 'musb_platform_set_mode'
      drivers/usb/musb/davinci.c:368: error: previous definition of 'musb_platform_set_mode' was here
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Acked-by: NFelipe Balbi <felipe.balbi@nokia.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      10b4eade
  5. 08 1月, 2009 2 次提交
  6. 18 10月, 2008 1 次提交
    • D
      usb: musb_hdrc build fixes · c767c1c6
      David Brownell 提交于
      Minor musb_hdrc updates:
      
        - so it'll build on DaVinci, given relevant platform updates;
            * remove support for an un-shipped OTG prototype
            * rely on gpiolib framework conversion for the I2C GPIOs
            * the <asm/arch/hdrc_cnf.h> mechanism has been removed
      
        - catch comments up to the recent removal of the per-SOC header
          with the silicon configuration data;
      
        - and remove two inappropriate "inline" declarations which
          just bloat host side code.
      
      There are still some more <asm/arch/XYZ.h> ==> <mach/XYZ.h>
      changes needed in this driver, catching up to the relocation
      of most of the include/asm-arm/arch-* contents.
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NFelipe Balbi <felipe.balbi@nokia.com>
      Cc: stable <stable@kernel.org> [2.6.27]
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      c767c1c6
  7. 14 8月, 2008 1 次提交