1. 02 10月, 2020 7 次提交
  2. 10 7月, 2020 1 次提交
  3. 09 7月, 2020 1 次提交
    • S
      usb: xhci: Use only 32-bit accesses in xhci_writeq/xhci_readq · 8e2ab050
      Sylwester Nawrocki 提交于
      There might be hardware configurations where 64-bit data accesses
      to XHCI registers are not supported properly.  This patch removes
      the readq/writeq so always two 32-bit accesses are used to read/write
      64-bit XHCI registers, similarly as it is done in Linux kernel.
      
      This patch fixes operation of the XHCI controller on RPI4 Broadcom
      BCM2711 SoC based board, where the VL805 USB XHCI controller is
      connected to the PCIe Root Complex, which is attached to the system
      through the SCB bridge.
      
      Even though the architecture is 64-bit the PCIe BAR is 32-bit and likely
      the 64-bit wide register accesses initiated by the CPU are not properly
      translated to a sequence of 32-bit PCIe accesses.
      xhci_readq(), for example, always returns same value in upper and lower
      32-bits, e.g. 0xabcd1234abcd1234 instead of 0x00000000abcd1234.
      
      Cc: Sergey Temerkhanov <s.temerkhanov@gmail.com>
      Signed-off-by: NSylwester Nawrocki <s.nawrocki@samsung.com>
      Reviewed-by: NBin Meng <bmeng.cn@gmail.com>
      Reviewed-by: NNicolas Saenz Julienne <nsaenzjulienne@suse.de>
      Signed-off-by: NMatthias Brugger <mbrugger@suse.com>
      8e2ab050
  4. 02 5月, 2020 1 次提交
  5. 24 10月, 2019 1 次提交
  6. 27 11月, 2018 1 次提交
  7. 07 5月, 2018 1 次提交
    • T
      SPDX: Convert all of our single license tags to Linux Kernel style · 83d290c5
      Tom Rini 提交于
      When U-Boot started using SPDX tags we were among the early adopters and
      there weren't a lot of other examples to borrow from.  So we picked the
      area of the file that usually had a full license text and replaced it
      with an appropriate SPDX-License-Identifier: entry.  Since then, the
      Linux Kernel has adopted SPDX tags and they place it as the very first
      line in a file (except where shebangs are used, then it's second line)
      and with slightly different comment styles than us.
      
      In part due to community overlap, in part due to better tag visibility
      and in part for other minor reasons, switch over to that style.
      
      This commit changes all instances where we have a single declared
      license in the tag as both the before and after are identical in tag
      contents.  There's also a few places where I found we did not have a tag
      and have introduced one.
      Signed-off-by: NTom Rini <trini@konsulko.com>
      83d290c5
  8. 01 10月, 2017 1 次提交
    • B
      usb: xhci: Honor endpoint's interval · f51966bf
      Bin Meng 提交于
      USB endpoint reports the period between consecutive requests to send
      or receive data as bInverval in its endpoint descriptor. So far this
      is ignored by xHCI driver and the 'Interval' field in xHC's endpoint
      context is always programmed to zero which means 1ms for low speed
      or full speed , or 125us for high speed or super speed. We should
      honor the interval by getting it from endpoint descriptor.
      Signed-off-by: NBin Meng <bmeng.cn@gmail.com>
      f51966bf
  9. 27 9月, 2017 1 次提交
    • M
      usb: xhci: Set number of event segments and entries to 1 · 7489d22a
      Marek Vasut 提交于
      The Linux kernel driver sets the number of event segments and entries
      to 1 , while the initial import of the xhci code set that values to 3
      for reasons unknown. While most controllers are fine with more event
      segments with more entries, there are standard-conformant controllers
      (ie. Renesas RCar xHCI) which only support 1 event segment.
      
      Set the number of event segments and event entries back to 1 to allow
      such controllers to work with U-Boot xHCI stack. Note that the Renesas
      controller correctly indicates ERST Max = 1 in HCSPARAMS2[7:4] .
      Signed-off-by: NMarek Vasut <marek.vasut+renesas@gmail.com>
      Cc: Bin Meng <bmeng.cn@gmail.com>
      7489d22a
  10. 29 7月, 2017 6 次提交
  11. 19 4月, 2015 4 次提交
  12. 14 4月, 2015 1 次提交
  13. 22 7月, 2014 1 次提交
  14. 21 10月, 2013 1 次提交
    • V
      USB: xHCI: Add stack support for xHCI · 5853e133
      Vivek Gautam 提交于
      This adds stack layer for eXtensible Host Controller Interface
      which facilitates use of USB 3.0 in host mode.
      
      Adapting xHCI host controller driver in linux-kernel
      by Sarah Sharp to needs in u-boot.
      
      Initial porting from Linux kernel version 3.4, with following
      top commit history of drivers/usb/host/xhci* :
      cf84055 xHCI: Cleanup isoc transfer ring when TD length mismatch found
      
      This adds the basic xHCI host controller driver with bare minimum
      features:
      - Control/Bulk transfer support has been added with required
        infrastructure for necessary xHC data structures.
      - Stream protocol hasn't been supported yet.
      - No support for quirky devices has been added.
      Signed-off-by: NVikas C Sajjan <vikas.sajjan@samsung.com>
      Signed-off-by: NJulius Werner <jwerner@chromium.org>
      Signed-off-by: NVivek Gautam <gautam.vivek@samsung.com>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Minkyu Kang <mk7.kang@samsung.com>
      Cc: Dan Murphy <dmurphy@ti.com>
      Cc: Marek Vasut <marex@denx.de>
      5853e133