Put the driver into the shape with all new bells and whistles from the kernel. Tested on Intel Merrifield with MAX3111e connected. In v3: - dropped applied patches - rebased on top of tty-testing - v2 (20240402195306.269276-1-andriy.shevchenko@xxxxxxxxxxxxxxx) In v2: - fixed a few typos in the commit messages (Hugo) - added an additional fix to patch 2 (Hugo) - appended tag to patch 13 (Hugo) - v1 (20240402154219.3583679-1-andriy.shevchenko@xxxxxxxxxxxxxxx) Andy Shevchenko (8): serial: max3100: Enable TIOCM_LOOP serial: max3100: Get crystal frequency via device property serial: max3100: Remove duplicating irq field serial: max3100: Switch to use dev_err_probe() serial: max3100: Replace MODULE_ALIAS() with respective ID tables serial: max3100: Switch to DEFINE_SIMPLE_DEV_PM_OPS() serial: max3100: Extract to_max3100_port() helper macro serial: max3100: Sort headers drivers/tty/serial/max3100.c | 208 +++++++++++++++-------------------- 1 file changed, 86 insertions(+), 122 deletions(-) -- 2.43.0.rc1.1.gbec44491f096