1. 10 Aug, 2013 8 commits
  2. 09 Aug, 2013 4 commits
    • Marek Vasut's avatar
      video: Implement continuous screen refresh for SmartLCD into mxsfb · 84f957f8
      Marek Vasut authored
      
      
      The LCDIF interface doesn't give us any means to do continuous refresh
      when driving a SmartLCD. To work this around, we produce a special
      circular DMA descriptor, which only writes the HW_LCDIF_CTRL0 register
      and sets the RUN bit.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Anatolij Gustschin <agust@denx.de>
      Cc: Fabio Estevam <fabio.estevam@freescale.com>
      Cc: Otavio Salvador <otavio@ossystems.com.br>
      Cc: Stefano Babic <sbabic@denx.de>
      84f957f8
    • Marek Vasut's avatar
      video: Add System-Mode configuration hook into mxsfb · 9de4b729
      Marek Vasut authored
      
      
      Add hook that allow configuring SmartLCD attached the MXS LCDIF
      controller operating in System-Mode. This hook can be overriden
      by a platform-specific SmartLCD programming routine, which writes
      the SmartLCD specific values into it's registers.
      
      Also, this patch makes sure the SYNC signals are off for the
      SmartLCD case.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Anatolij Gustschin <agust@denx.de>
      Cc: Fabio Estevam <fabio.estevam@freescale.com>
      Cc: Otavio Salvador <otavio@ossystems.com.br>
      Cc: Stefano Babic <sbabic@denx.de>
      9de4b729
    • Marek Vasut's avatar
      video: Allocate the MXSFB framebuffer aligned · e57baf5d
      Marek Vasut authored
      
      
      Allocate the framebuffer aligned so it can be flushed
      and the flush_dcache_range() function won't complain.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Anatolij Gustschin <agust@denx.de>
      Cc: Fabio Estevam <fabio.estevam@freescale.com>
      Cc: Otavio Salvador <otavio@ossystems.com.br>
      Cc: Stefano Babic <sbabic@denx.de>
      Acked-by: default avatarStefano Babic <sbabic@denx.de>
      e57baf5d
    • Marek Vasut's avatar
      dma: apbh: Add special circular mode for LCD · 69f7345c
      Marek Vasut authored
      
      
      Add special function that executes a specially crafted circular
      DMA descriptor. The function doesn't wait for the descriptor to
      finish the transfer, since the descritor never finishes. This is
      useful when operating a SmartLCD through the LCDIF interface, as
      the LCDIF does not give us any means to have continuous refresh
      of the SmartLCD. Instead, the RUN bit in the LCDIF CTRL register
      must be triggered manually. This can be worked around by starting
      an DMA transfer which continuously sets the RUN bit. This function
      allows starting exactly such transfer.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Anatolij Gustschin <agust@denx.de>
      Cc: Fabio Estevam <fabio.estevam@freescale.com>
      Cc: Otavio Salvador <otavio@ossystems.com.br>
      Cc: Stefano Babic <sbabic@denx.de>
      69f7345c
  3. 08 Aug, 2013 3 commits
  4. 06 Aug, 2013 1 commit
  5. 03 Aug, 2013 1 commit
    • Marek Vasut's avatar
      i2c: soft: Fix typo in CONFIG_SYS_I2C_SOFT_SPEED · 90f002a9
      Marek Vasut authored
      
      
      In case only the CONFIG_SYS_I2C_SPEED is set in configuration file,
      the CONFIG_SYS_I2C_SOFT_SPEED is defined as CONFIG_SYS_I2C_SPEED.
      The CONFIG_SYS_I2C_SOFT_SPEED is then used throughout the driver.
      
      Unfortunatelly, due to a typo in the driver, instead of defining
      CONFIG_SYS_I2C_SOFT_SPEED, an CONFIG_SYS_SOFT_I2C_SPEED was defined
      and therefore the driver failed to compile. The same applies for
      CONFIG_SYS_I2C_SOFT_SLAVE , where the swap happens as well.
      
      This patch fixes the issue.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Heiko Schocher <hs@denx.de>
      90f002a9
  6. 02 Aug, 2013 9 commits
  7. 01 Aug, 2013 1 commit
  8. 31 Jul, 2013 5 commits
  9. 30 Jul, 2013 1 commit
  10. 29 Jul, 2013 7 commits
    • Nikita Kiryanov's avatar
      ehci-hcd: fix memory leak in lowlevel init · 8bc36036
      Nikita Kiryanov authored
      
      
      usb_lowlevel_init() allocates a new periodic_list each time it is invoked,
      without freeing the original list. Since it is initialized later on in the code,
      just reuse the first-allocated list in future invocations of usb_lowlevel_init.
      
      Cc: Marek Vasut <marex@denx.de>
      Cc: Igor Grinberg <grinberg@compulab.co.il>
      Signed-off-by: default avatarNikita Kiryanov <nikita@compulab.co.il>
      8bc36036
    • Nikita Kiryanov's avatar
      usb_hub: fix power cycling logic · 0adc331b
      Nikita Kiryanov authored
      
      
      When power cycling the hub ports, a misbehaving port will prevent all ports
      from being powered on because we quit at the first sign of trouble.
      
      Skip problematic ports instead of failing the entire power on.
      
      Cc: Marek Vasut <marex@denx.de>
      Cc: Igor Grinberg <grinberg@compulab.co.il>
      Signed-off-by: default avatarNikita Kiryanov <nikita@compulab.co.il>
      0adc331b
    • Roger Quadros's avatar
      usb: ehci-omap: Don't softreset USB High-speed Host (UHH) Module · bb1f327d
      Roger Quadros authored
      
      
      Fixes NFS root problems with Beagle (3530 ES1.0) when used with
      external USB-ethernet adapter and "USB start" command used within
      u-boot.
      
      Soft resetting the UHH module causes instability issues on
      all OMAPs so we just avoid it.
      
      See OMAP36xx Errata
        i571: USB host EHCI may stall when entering smart-standby mode
        i660: USBHOST Configured In Smart-Idle Can Lead To a Deadlock
      
      On OMAP4/5, soft-resetting the UHH module can put it into
      Smart-Idle mode and lead to a deadlock.
      
      On OMAP3 this doesn't seem to be the case but still instabilities
      are observed on beagle (3530 ES1.0) if soft-reset is used.
       e.g. NFS root failures with Linux kernel.
      
      Signed-off-by: default avatarRoger Quadros <rogerq@ti.com>
      bb1f327d
    • Lukasz Majewski's avatar
      dfu: Implementation of target reset after communication with dfu-util's -R switch · 6bed7ce5
      Lukasz Majewski authored
      
      
      This patch extends dfu code to support transmission with -R switch
      specified at dfu-util.
      
      When -R is specified, the extra USB_REQ_DFU_DETACH request is sent after
      successful data transmission. Then dfu resources are released and reset
      command is issued.
      
      Signed-off-by: default avatarLukasz Majewski <l.majewski@samsung.com>
      Signed-off-by: default avatarKyungmin Park <kyungmin.park@samsung.com>
      6bed7ce5
    • Marek Vasut's avatar
      usb: mv_udc: Add bounce buffer · 6dd30af0
      Marek Vasut authored
      
      
      The requests sent to the controller are not properly cache aligned
      most of the time, thus implement a simple bounce buffer to avoid
      problem with cache.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Fabio Estevam <fabio.estevam@freescale.com>
      Cc: Lei Wen <leiwen@marvell.com>
      Cc: Otavio Salvador <otavio@ossystems.com.br>
      Cc: Stefano Babic <sbabic@denx.de>
      6dd30af0
    • Marek Vasut's avatar
      usb: mv_udc: Add proper cache management · f19a343e
      Marek Vasut authored
      
      
      Implement functions to flush/invalidate dcache over QH and qTDs
      and make use of them where appropriate. Also use them to replace
      the old incorrect cache management attempt. This is the first step
      towards making this driver work with data cache enabled.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Fabio Estevam <fabio.estevam@freescale.com>
      Cc: Lei Wen <leiwen@marvell.com>
      Cc: Otavio Salvador <otavio@ossystems.com.br>
      Cc: Stefano Babic <sbabic@denx.de>
      f19a343e
    • Marek Vasut's avatar
      usb: mv_udc: Implement better qTD item accessor · ede709c0
      Marek Vasut authored
      
      
      The code for retrieving qTD item for particular endpoint is hard
      to understand, moreover it's duplicated all over the driver. Move
      the code into single nice and documented function.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Fabio Estevam <fabio.estevam@freescale.com>
      Cc: Lei Wen <leiwen@marvell.com>
      Cc: Otavio Salvador <otavio@ossystems.com.br>
      Cc: Stefano Babic <sbabic@denx.de>
      ede709c0