[v1,0/5] tty: serial: meson: support ttyS devname

Message ID 20230704135936.14697-1-ddrokosov@sberdevices.ru
Headers
Series tty: serial: meson: support ttyS devname |

Message

Dmitry Rokosov July 4, 2023, 1:59 p.m. UTC
  During a IRC discussion with Neil, as reported in reference [1], an idea
emerged to provide support for a standard devname 'ttyS' in new SoCs
such as A1, S4, T7, C3 and others. The current devname 'ttyAML' is not
widely known and has caused several issues with both low and high-level
software, without any apparent justification for its implementation.
Consequently, it has been deemed necessary to introduce the 'ttyS'
devname for all new 'compatible' entries, while still retaining backward
compatibility with the old 'ttyAML' devname by supporting it in parallel
with the new approach. This patch series therefore aims to implement
these changes.

Links:
    [1]: https://libera.irclog.whitequark.org/linux-amlogic/2023-07-03

Dmitry Rokosov (5):
  tty: serial: meson: use dev_err_probe
  tty: serial: meson: redesign the module to platform_driver
  tty: serial: meson: apply ttyS devname instead of ttyAML for new SoCs
  dt-bindings: serial: amlogic,meson-uart: support Amlogic A1
  arm64: dts: meson: a1: change uart compatible string

 .../bindings/serial/amlogic,meson-uart.yaml   |  2 +
 arch/arm64/boot/dts/amlogic/meson-a1.dtsi     |  4 +-
 drivers/tty/serial/meson_uart.c               | 83 ++++++++++---------
 3 files changed, 47 insertions(+), 42 deletions(-)