1. 04 6月, 2019 1 次提交
  2. 29 4月, 2019 1 次提交
    • P
      tty: serial: add driver for the SiFive UART · 45c054d0
      Paul Walmsley 提交于
      Add a serial driver for the SiFive UART, found on SiFive FU540 devices
      (among others).
      
      The underlying serial IP block is relatively basic, and currently does
      not support serial break detection.  Further information on the IP
      block can be found in the documentation and Chisel sources:
      
          https://static.dev.sifive.com/FU540-C000-v1.0.pdf
      
          https://github.com/sifive/sifive-blocks/tree/master/src/main/scala/devices/uart
      
      This driver was written in collaboration with Wesley Terpstra
      <wesley@sifive.com>.
      
      Tested on a SiFive HiFive Unleashed A00 board, using BBL and the open-
      source FSBL (using a DT file based on what's targeted for mainline).
      
      This revision incorporates changes based on comments by Julia Lawall
      <julia.lawall@lip6.fr>, Emil Renner Berthing <kernel@esmil.dk>, and
      Andreas Schwab <schwab@suse.de>.  Thanks also to Andreas for testing
      the driver with his userspace and reporting a bug with the
      set_termios implementation.
      Signed-off-by: NPaul Walmsley <paul.walmsley@sifive.com>
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Jiri Slaby <jslaby@suse.com>
      Cc: Palmer Dabbelt <palmer@sifive.com>
      Cc: Wesley Terpstra <wesley@sifive.com>
      Cc: linux-serial@vger.kernel.org
      Cc: linux-riscv@lists.infradead.org
      Cc: linux-kernel@vger.kernel.org
      Cc: Julia Lawall <julia.lawall@lip6.fr>
      Cc: Emil Renner Berthing <kernel@esmil.dk>
      Cc: Andreas Schwab <schwab@suse.de>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      45c054d0
  3. 16 4月, 2019 2 次提交
  4. 05 4月, 2019 1 次提交
  5. 30 1月, 2019 1 次提交
  6. 10 1月, 2019 1 次提交
  7. 01 1月, 2019 1 次提交
  8. 10 9月, 2018 1 次提交
  9. 14 5月, 2018 1 次提交
  10. 23 4月, 2018 2 次提交
    • G
      serial: Remove depends on HAS_DMA in case of platform dependency · d6810a82
      Geert Uytterhoeven 提交于
      Remove dependencies on HAS_DMA where a Kconfig symbol depends on another
      symbol that implies HAS_DMA, and, optionally, on "|| COMPILE_TEST".
      In most cases this other symbol is an architecture or platform specific
      symbol, or PCI.
      
      Generic symbols and drivers without platform dependencies keep their
      dependencies on HAS_DMA, to prevent compiling subsystems or drivers that
      cannot work anyway.
      
      This simplifies the dependencies, and allows to improve compile-testing.
      Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      Reviewed-by: NMark Brown <broonie@kernel.org>
      Acked-by: NRobin Murphy <robin.murphy@arm.com>
      Acked-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      d6810a82
    • G
      serial: sh-sci: Add support for dynamic instances · 7678f4c2
      Geert Uytterhoeven 提交于
      On DT platforms, the sh-sci driver requires the presence of "serialN"
      aliases in DT, from which instance IDs are derived.  If a DT alias is
      missing, the drivers fails to probe the corresponding serial port.
      
      This becomes cumbersome when considering DT overlays, as currently
      there is no upstream support for dynamically updating the /aliases node
      in DT.  Furthermore, even in the presence of such support, hardcoded
      instance IDs in independent overlays are prone to conflicts.
      
      Hence add support for dynamic instance IDs, to be used in the absence of
      a DT alias.  This makes serial ports behave similar to I2C and SPI
      buses, which already support dynamic instances.
      
      Ports in use are tracked using a simple bitmask of type unsigned long,
      which is sufficient to handle all current hardware (max. 18 ports).
      The maximum number of serial ports is still fixed, and configurable
      through Kconfig.  Range validation is done through both Kconfig and a
      compile-time check.
      
      Due to the fixed maximum number of serial ports, dynamic and static
      instances share the same ID space.  Static instances added later are
      rejected when conflicting with dynamic instances registered earlier.
      Signed-off-by: NGeert Uytterhoeven <geert+renesas@glider.be>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      7678f4c2
  11. 26 3月, 2018 4 次提交
  12. 20 3月, 2018 1 次提交
  13. 18 12月, 2017 1 次提交
  14. 16 12月, 2017 4 次提交
  15. 18 7月, 2017 1 次提交
  16. 20 6月, 2017 1 次提交
  17. 09 6月, 2017 1 次提交
  18. 31 3月, 2017 1 次提交
  19. 17 3月, 2017 2 次提交
  20. 12 1月, 2017 1 次提交
  21. 10 11月, 2016 1 次提交
  22. 27 10月, 2016 2 次提交
  23. 31 8月, 2016 1 次提交
  24. 26 6月, 2016 2 次提交
  25. 13 5月, 2016 1 次提交
  26. 01 5月, 2016 4 次提交