1. 28 4月, 2020 2 次提交
  2. 13 4月, 2020 4 次提交
  3. 10 4月, 2020 1 次提交
    • M
      usb: Keep async schedule running only across mass storage xfers · 31232de0
      Marek Vasut 提交于
      Rather than keeping the asynchronous schedule running always, keep it
      running only across USB mass storage transfers for now, as it seems
      that keeping it running all the time interferes with certain control
      transfers during device enumeration.
      
      Note that running the async schedule all the time should not be an
      issue, especially on EHCI HCD, as that one implements most of the
      transfers using async schedule.
      
      Note that we have usb_disable_asynch(), which however is utterly broken.
      The usb_disable_asynch() blocks the USB core from doing async transfers
      by setting a global flag. The async schedule should however be disabled
      per USB controller. Moreover, setting a global flag does not prevent the
      controller from using the async schedule, which e.g. the EHCI HCD does.
      
      This patch implements additional callback to the controller, which
      permits it to lock the async schedule and keep it running across
      multiple transfers. Once the schedule is unlocked, it must also be
      disabled. This thus prevents the async schedule from running outside
      of the USB mass storage transfers.
      Signed-off-by: NMarek Vasut <marek.vasut+renesas@gmail.com>
      Cc: Lukasz Majewski <lukma@denx.de>
      Cc: Tom Rini <trini@konsulko.com>
      Tested-by: Tom Rini <trini@konsulko.com> [omap3_beagle, previously failing]
      31232de0
  4. 30 3月, 2020 3 次提交
  5. 18 3月, 2020 1 次提交
    • A
      sunxi: Move common defconfig options to Kconfig · 48313fe5
      Andre Przywara 提交于
      Some config symbols are found in *almost* every _defconfig file for
      Allwinner boards, because those options are actually a platform choice,
      and not a per-board decision.
      Some of these options are older, some have recently been added.
      
      Move those options to be set for all Allwinner boards in their
      respective Kconfig files.
      
      The rationales are as follows:
      - NR_DRAM_BANKS: All Allwinner SoC map DRAM at one contiguous region of
        address space only, starting at 1 GB. So it's always one bank.
      - SPL_{DOS,EFI}_PARTITION: The Allwinner SPL does only support raw MMC
        accesses, we don't care about filesystems or partitions in there, so
        there is no need to define those symbols at all.
      - USE_PREBOOT: We start USB early when a keyboard is configured, using the
        preboot env variable, so we need to set this variable.
      - SYS_RELOC_GD_ENV_ADDR: We don't specify any ENV_ADDR, so need this
        symbol to be set (according to 8d8ee47e).
      - SYS_USB_EVENT_POLL_VIA_INT_QUEUE: According to commit eab9433a,
        specifying this reduces the latency of the USB keyboard handling, so
        this was formerly enabled in config headers for all Allwinner boards.
      Signed-off-by: NAndre Przywara <andre.przywara@arm.com>
      Acked-by: NMaxime Ripard <mripard@kernel.org>
      Tested-by: Jagan Teki <jagan@amarulasolutions.com> # Amarula A64-Relic
      Reviewed-by: NJagan Teki <jagan@amarulasolutions.com>
      48313fe5
  6. 02 3月, 2020 2 次提交
  7. 19 2月, 2020 2 次提交
  8. 06 2月, 2020 2 次提交
  9. 03 2月, 2020 1 次提交
  10. 30 1月, 2020 1 次提交
  11. 26 1月, 2020 1 次提交
  12. 25 1月, 2020 2 次提交
  13. 20 1月, 2020 1 次提交
  14. 18 1月, 2020 2 次提交
  15. 08 1月, 2020 1 次提交
  16. 22 12月, 2019 2 次提交
  17. 03 12月, 2019 3 次提交
  18. 25 11月, 2019 2 次提交
    • H
      dm: test: usb: rework keyboard test · 12f1e790
      Heinrich Schuchardt 提交于
      Allow the unit test to pass full 8 byte scan code sequences to the USB
      keyboard emulation driver and to parse multi-byte escape sequences.
      
      The following features are not yet tested:
      
      * LED status
      * caps-lock
      * num-lock
      * numerical pad keys
      
      The following features are not yet implemented by the USB keyboard
      driver and therefore not tested:
      
      * modifiers for non-alpha-numeric keys, e.g. <SHIFT><TAB> and <ALT><F4>
      * some special keys, e.g. <PRINT>
      * some modifiers, e.g. <ALT> and <META>
      * alternative keyboard layouts
      Signed-off-by: NHeinrich Schuchardt <xypron.glpk@gmx.de>
      12f1e790
    • H
      usb: kbd: implement special keys · 87e91bcc
      Heinrich Schuchardt 提交于
      Provide support for F1-F12, Insert, Delete, Home, End, Page Up, Page Down.
      
      As this leads to a size increase provide a customizing setting
      CONFIG_USB_KEYBOARD_FN_KEYS.
      Signed-off-by: NHeinrich Schuchardt <xypron.glpk@gmx.de>
      87e91bcc
  19. 23 11月, 2019 6 次提交
  20. 22 11月, 2019 1 次提交