1. 01 1月, 2019 1 次提交
  2. 10 9月, 2018 1 次提交
  3. 14 5月, 2018 1 次提交
  4. 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
  5. 26 3月, 2018 4 次提交
  6. 20 3月, 2018 1 次提交
  7. 18 12月, 2017 1 次提交
  8. 16 12月, 2017 4 次提交
  9. 18 7月, 2017 1 次提交
  10. 20 6月, 2017 1 次提交
  11. 09 6月, 2017 1 次提交
  12. 31 3月, 2017 1 次提交
  13. 17 3月, 2017 2 次提交
  14. 12 1月, 2017 1 次提交
  15. 10 11月, 2016 1 次提交
  16. 27 10月, 2016 2 次提交
  17. 31 8月, 2016 1 次提交
  18. 26 6月, 2016 2 次提交
  19. 13 5月, 2016 1 次提交
  20. 01 5月, 2016 5 次提交
  21. 08 3月, 2016 2 次提交
  22. 07 2月, 2016 3 次提交
  23. 14 12月, 2015 1 次提交