1. 15 12月, 2015 1 次提交
    • Y
      usb: renesas_usbhs: Modify pipe configuration · 51f141a9
      Yoshihiro Shimoda 提交于
      The current code has info->bufnmb_last to calculate the BUFNMB bits of
      PIPEBUF register. However, since the bufnmb_last is initialized in
      the usbhs_pipe_init() only, this driver is possible to set unexpected
      value to the register if usb_ep_{enable,disable}() are called many times.
      
      So, this patch modifies the pipe configuration via struct
      renesas_usbhs_driver_param to simplify the code. Also this patch changes:
       - a double buffer configuration
       - isochronous buffer size from 512 to 1024
      Signed-off-by: NYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      51f141a9
  2. 04 10月, 2015 2 次提交
  3. 01 10月, 2015 2 次提交
  4. 29 7月, 2015 1 次提交
    • C
      usb: renesas_usbhs: Replace deprecated API of extcon · 50297b79
      Chanwoo Choi 提交于
      This patch removes the deprecated API of extcon and then use the new extcon API
      with the unique id to indicate the each external connector (USB-HOST).
      - extcon_get_cable_state(*edev, char *) -> extcon_get_cable_state_(*edev, id)
      
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Felipe Balbi <balbi@ti.com>
      Cc: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
      Cc: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
      Cc: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
      Cc: Peter Chen <peter.chen@freescale.com>
      Cc: Varka Bhadram <varkab@cdac.in>
      Cc: Takeshi Kihara <takeshi.kihara.df@renesas.com>
      Signed-off-by: NChanwoo Choi <cw00.choi@samsung.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      50297b79
  5. 26 5月, 2015 2 次提交
  6. 13 3月, 2015 1 次提交
    • Y
      usb: renesas_usbhs: add support for USB-DMAC · ab330cf3
      Yoshihiro Shimoda 提交于
      Some Renesas SoCs have the USB-DMAC. It is able to terminate transfers
      when a short packet is received, even if less bytes than the transfer
      counter size have been received. Also, it is able to send a short
      packet even if the packet size is not multiples of 8bytes.
      
      Since the previous code has used the interruption of USBHS controller
      when receiving packets even if this driver has used a dmac, a lot of
      interruptions has happened. This patch will reduce such interruptions.
      
      This patch allows to use the USB-DMAC on R-Car H2 and M2.
      Signed-off-by: NYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      ab330cf3
  7. 13 1月, 2015 3 次提交
  8. 08 11月, 2014 1 次提交
  9. 06 11月, 2014 1 次提交
  10. 04 11月, 2014 3 次提交
  11. 05 9月, 2014 1 次提交
  12. 16 7月, 2014 1 次提交
  13. 28 8月, 2013 1 次提交
  14. 01 8月, 2013 1 次提交
  15. 30 7月, 2013 1 次提交
  16. 23 1月, 2013 1 次提交
  17. 22 11月, 2012 2 次提交
  18. 16 10月, 2012 1 次提交
  19. 12 9月, 2012 1 次提交
  20. 11 8月, 2012 1 次提交
  21. 05 6月, 2012 1 次提交
  22. 24 1月, 2012 1 次提交
  23. 12 12月, 2011 8 次提交
  24. 28 11月, 2011 1 次提交
  25. 15 11月, 2011 1 次提交
    • K
      usb: gadget: renesas_usbhs: fixup section mismatch warning · b7a8d17d
      Kuninori Morimoto 提交于
      Fix up the following section mismatch warnings:
      
      WARNING: drivers/usb/renesas_usbhs/renesas_usbhs.o(.text+0xf5d): Section
      mismatch in reference from the function usbhs_mod_probe() to the function
      .devinit.text:usbhs_mod_host_probe() The function usbhs_mod_probe() references
      the function __devinit usbhs_mod_host_probe().  This is often because
      usbhs_mod_probe lacks a __devinit annotation or the annotation of
      usbhs_mod_host_probe is wrong.
      
      WARNING: drivers/usb/renesas_usbhs/renesas_usbhs.o(.text+0xfd7): Section
      mismatch in reference from the function usbhs_mod_probe() to the function
      .devexit.text:usbhs_mod_host_remove() The function usbhs_mod_probe() references
      a function in an exit section.  Often the function usbhs_mod_host_remove() has
      valid usage outside the exit section and the fix is to remove the __devexit
      annotation of usbhs_mod_host_remove.
      
      WARNING: drivers/usb/renesas_usbhs/renesas_usbhs.o(.text+0x1005): Section
      mismatch in reference from the function usbhs_mod_remove() to the function
      .devexit.text:usbhs_mod_host_remove() The function usbhs_mod_remove()
      references a function in an exit section.  Often the function
      usbhs_mod_host_remove() has valid usage outside the exit section and the fix is
      to remove the __devexit annotation of usbhs_mod_host_remove.
      Signed-off-by: NKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      b7a8d17d