public inbox for linux-serial@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 0/2] serial: 8250: Remove highly customised deprecated interface
@ 2026-01-22 10:19 Andy Shevchenko
  2026-01-22 10:19 ` [PATCH v1 1/2] serial: 8250_omap: Remove custom deprecated baud setting routine Andy Shevchenko
  2026-01-22 10:19 ` [PATCH v1 2/2] serial: 8250_pci: " Andy Shevchenko
  0 siblings, 2 replies; 3+ messages in thread
From: Andy Shevchenko @ 2026-01-22 10:19 UTC (permalink / raw)
  To: Andy Shevchenko, Greg Kroah-Hartman, Jiri Slaby (SUSE), linux-doc,
	linux-kernel, linux-serial
  Cc: Jonathan Corbet, Shuah Khan, Kevin Hilman, Tony Lindgren

The custom divisor interface not only old and deprecated, it's too much
driver-dependent. For the user it's not easy to understand what to supply
as a value (usually encoded) via that interface. On top of it, there is
an existing BOTHER mechanism that allows to do the same and more without
any tribal knowledge.

Remove highly customised deprecated interface to set baud rates.

Note, the "standard" custom_divisor that is used as a plain value
for "quot" is still left and may be used by the respective drivers
including but not limited to 8250.

Andy Shevchenko (2):
  serial: 8250_omap: Remove custom deprecated baud setting routine
  serial: 8250_pci: Remove custom deprecated baud setting routine

 Documentation/misc-devices/oxsemi-tornado.rst | 26 +-----
 drivers/tty/serial/8250/8250_omap.c           | 16 ----
 drivers/tty/serial/8250/8250_pci.c            | 85 ++++++++-----------
 3 files changed, 38 insertions(+), 89 deletions(-)

-- 
2.50.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-01-22 10:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-22 10:19 [PATCH v1 0/2] serial: 8250: Remove highly customised deprecated interface Andy Shevchenko
2026-01-22 10:19 ` [PATCH v1 1/2] serial: 8250_omap: Remove custom deprecated baud setting routine Andy Shevchenko
2026-01-22 10:19 ` [PATCH v1 2/2] serial: 8250_pci: " Andy Shevchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox