1. 08 7月, 2011 1 次提交
    • Y
      usb: gadget: r8a66597-udc: Make BUSWAIT configurable through platform data · 5154e9f1
      Yoshihiro Shimoda 提交于
      BUSWAIT is a 4-bit-wide value that controls the number of access waits
      from the CPU to on-chip USB module. b'0000 inserts 0 wait (2 access
      cycles) and b'1111 inserts 15 waits (17 access cycles, hardware
      initial value), respectively.
      
      BUSWAIT value depends on peripheral clock frequency supplied to on-chip
      of each CPU, hence should be configurable through platform data.
      
      Note that this patch assumes that b'0000 (0 wait, 2 access cycles) is
      rerely used and considered as invalid. If valid 'buswait' data is not
      provided by platform, initial b'1111 (15 waits, 17 access cycles) will
      be applied as a safe default.
      Signed-off-by: NYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      5154e9f1
  2. 23 7月, 2009 1 次提交
  3. 20 7月, 2009 1 次提交
    • M
      usb: r8a66597-hcd platform data on_chip support · 719a72b7
      Magnus Damm 提交于
      Convert the r8a66597-hcd driver to use the on_chip flag
      from platform data to enable on chip behaviour instead
      of relying on CONFIG_SUPERH_ON_CHIP_R8A66597 ugliness.
      
      This makes the code cleaner and also allows us to support
      both external and internal r8a66597 with the same kernel.
      
      It also makes the Kconfig part more future proof since
      we with this patch can add support for new processors
      with on-chip r8a66597 without modifying the Kconfig.
      Signed-off-by: NMagnus Damm <damm@igel.co.jp>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      719a72b7
  4. 16 6月, 2009 1 次提交