1. 20 12月, 2009 10 次提交
    • A
      omap3evm: musb: add USB config · 73c8640e
      Ajay Kumar Gupta 提交于
      Added USB host and device config for host (MSC, Keyboard) and
      device (ACM) functionalities.
      Signed-off-by: NAjay Kumar Gupta <ajay.gupta@ti.com>
      73c8640e
    • T
      OMAP3 USB Initialize twl4030 only if required · ae4caf2f
      Tom Rix 提交于
      OMAP3EVM uses ISP1504 phy and so twl4030 related init is not required.
      Submitted-by: NAjay Kumar Gupta <ajay.gupta@ti.com>
      Signed-off-by: NTom Rix <Tom.Rix@windriver.com>
      ae4caf2f
    • T
      OMAP3 zoom2 Use usbtty if the debug board is not connected. · 2ec1abea
      Tom Rix 提交于
      The preferred serial output comes from the debug board.
      When the debug board is disconnected, fall back on using
      usbtty from the usb connector on the Zoom2 board.
      
      This shows up as /dev/ttyACM0 in a linux host.
      Signed-off-by: NTom Rix <Tom.Rix@windriver.com>
      2ec1abea
    • T
      USBTTY make some function declarations easier to use. · 6299487e
      Tom Rix 提交于
      Zoom2 needs to use these declarations and the include directory is a
      better place from them than in the middle of the driver directory.
      It did not make sense to create a new file for just a couple of
      lines so they were appended to the serial.h
      Signed-off-by: NTom Rix <Tom.Rix@windriver.com>
      6299487e
    • T
      OMAP3 beagle Add usbtty configuration · 25374bfb
      Tom Rix 提交于
      The primary console of beagle is the serial header.
      
      A secondary console is to use the usbtty.  The user can set this
      manually by doing
      
      setenv stdout usbtty; setenv stdin usbtty; setenv stderr usbtty
      saveenv
      
      usbtty will be usable by accessing the /dev/ttyACM0 on a linux host.
      Signed-off-by: NTom Rix <Tom.Rix@windriver.com>
      25374bfb
    • T
      OMAP3 zoom1 Add usbtty configuration · 05be5a60
      Tom Rix 提交于
      The primary console of zoom1 is the serial out from the jumpers
      accessed by removing the back panel.
      
      A secondary console is to use the usbtty.  The user can set this
      manually by doing
      
      setenv stdout usbtty; setenv stdin usbtty; setenv stderr usbtty
      saveenv
      
      usbtty will be usable by accessing the /dev/ttyACM0 on a linux host.
      Signed-off-by: NTom Rix <Tom.Rix@windriver.com>
      05be5a60
    • T
      OMAP3 Add usb device support · f298e4b6
      Tom Rix 提交于
      This change adds the usb device support for musb.
      
      Omap3 platform support added at the same level as davinci.
      
      The interface for usbtty to use the musb device support was added.
      
      Verified on omap3 beagle, zoom1 and zoom2.
      Signed-off-by: NTom Rix <Tom.Rix@windriver.com>
      f298e4b6
    • T
      TWL4030 Add usb PHY support · bffbb2a8
      Tom Rix 提交于
      The twl4030 provides a PHY device for connecting a link device,
      like musb, to physical connection.
      
      This change adds the twl4030 usb registers and functions for
      initializing the PHY as required by omap3.
      Signed-off-by: NTom Rix <Tom.Rix@windriver.com>
      bffbb2a8
    • T
      USB add macros for debugging usb device setup. · 988365a2
      Tom Rix 提交于
      When developing usb device features, it is useful to print out
      common usb structures.
      Signed-off-by: NTom Rix <Tom.Rix@windriver.com>
      988365a2
    • T
      USB Consolidate descriptor definitions · 8f8bd565
      Tom Rix 提交于
      The header files usb.h and usbdescriptors.h have the same nameed
      structure definitions for
      
      usb_config_descriptor
      usb_interface_descriptor
      usb_endpoint_descriptor
      usb_device_descriptor
      usb_string_descriptor
      
      These are out right duplicates in usb.h
      
      usb_device_descriptor
      usb_string_descriptor
      
      This one has extra unused elements
      
      usb_endpoint_descriptor
      
      	unsigned char	bRefresh
      	unsigned char	bSynchAddress;
      
      These in usb.h have extra elements at the end of the usb 2.0
      specified descriptor and are used.
      
      usb_config_descriptor
      usb_interface_descriptor
      
      The change is to consolidate the definition of the descriptors
      to usbdescriptors.h.  The dublicates in usb.h are removed.
      The extra element structure will have their name shorted by
      removing the '_descriptor' suffix.
      
      So
      
      usb_config_descriptor -> usb_config
      usb_interface_descriptor -> usb_interface
      
      For these, the common descriptor elements are accessed now
      by an element 'desc'.
      
      As an example
      
      -	if (iface->bInterfaceClass != USB_CLASS_HUB)
      +	if (iface->desc.bInterfaceClass != USB_CLASS_HUB)
      
      This has been compile tested on MAKEALL arm, ppc and mips.
      Signed-off-by: NTom Rix <Tom.Rix@windriver.com>
      8f8bd565
  2. 16 12月, 2009 3 次提交
  3. 15 12月, 2009 2 次提交
  4. 12 12月, 2009 1 次提交
  5. 10 12月, 2009 1 次提交
    • P
      mpc83xx: boot time regression, move LCRR setup back to cpu_init_f · 3b887ca8
      Peter Korsgaard 提交于
      Commit c7190f02 (retain POR values of non-configured ACR, SPCR, SCCR,
      and LCRR bitfields) moved the LCRR assignment to after relocation
      to RAM because of the potential problem with changing the local bus
      clock while executing from flash.
      
      This change unfortunately adversely affects the boot time, as running
      all code up to cpu_init_r can cause significant slowdown.
      
      E.G. on a 8347 board a bootup time increase of ~600ms has been observed:
      
         0.020 CPU:   e300c1, MPC8347_PBGA_EA, Rev: 3.0 at 400 MHz, CSB: 266.667 MHz
         0.168 RS:    232
         0.172 I2C:   ready
         0.176 DRAM:  64 MB
         1.236 FLASH: 32 MB
      
      Versus:
      
         0.016 CPU:   e300c1, MPC8347_PBGA_EA, Rev: 3.0 at 400 MHz, CSB: 266.667 MHz
         0.092 RS:    232
         0.092 I2C:   ready
         0.096 DRAM:  64 MB
         0.644 FLASH: 32 MB
      
      So far no boards have needed the late LCRR setup, so simply revert it
      for now - If it is needed at a later time, those boards can either do
      their own final LCRR setup in board code (E.G. in board_early_init_r),
      or we can introduce a CONFIG_SYS_LCRR_LATE config option to only do
      the setup in cpu_init_r.
      Signed-off-by: NPeter Korsgaard <jacmet@sunsite.dk>
      Signed-off-by: NKim Phillips <kim.phillips@freescale.com>
      3b887ca8
  6. 09 12月, 2009 2 次提交
  7. 08 12月, 2009 21 次提交