All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] serial: 8250_pci patches to address issues with pericom_do_set_divisor()
@ 2021-11-14 18:39 Jay Dolan
  2021-11-14 18:39 ` [PATCH 1/3] serial: 8250_pci: rewrite pericom_do_set_divisor Jay Dolan
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Jay Dolan @ 2021-11-14 18:39 UTC (permalink / raw)
  To: linux-serial; +Cc: Jay Dolan

A series patches to address three issues one customer managed to hit all at once.

1) Rewrite pericom_do_set_divisor() to always calc divisor and to use the
uartclk instead of a hard coded value. Always calculate divisor without passing
control to serial8250_do_set_divisor()
Tested with 14.7456 and 24 MHz crystals

2) Re-enable higher baud rates on Pericom chips.
serial8250_get_baud_rate() added range checking, but Pericom chips have a wider
range than what is being enforced. Make use of UPF_MAGIC_MULTIPLIER.
Tested with 14.7456 and 24 MHz crystals

3) Fourth port not being setup correctly on some Pericom chips.
Fix entries in pci_serial_quirks array


Jay Dolan (3):
  serial: 8250_pci: rewrite pericom_do_set_divisor
  serial: 8250_pci: Re-enable higher baud rates on Pericom chips
  serial: 8250_pci: Fix ACCES entries in pci_serial_quirks array

 drivers/tty/serial/8250/8250_pci.c | 44 +++++++++++++++++++++---------
 1 file changed, 31 insertions(+), 13 deletions(-)

--
2.25.1


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

end of thread, other threads:[~2021-11-25 17:32 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-14 18:39 [PATCH 0/3] serial: 8250_pci patches to address issues with pericom_do_set_divisor() Jay Dolan
2021-11-14 18:39 ` [PATCH 1/3] serial: 8250_pci: rewrite pericom_do_set_divisor Jay Dolan
2021-11-25 17:30   ` Greg KH
2021-11-14 18:39 ` [PATCH 2/3] serial: 8250_pci: Re-enable higher baud rates on Pericom chips Jay Dolan
2021-11-16 15:31   ` Andy Shevchenko
2021-11-14 18:39 ` [PATCH 3/3] serial: 8250_pci: Fix ACCES entries in pci_serial_quirks array Jay Dolan
2021-11-16 15:31   ` Andy Shevchenko
2021-11-16 15:34 ` [PATCH 0/3] serial: 8250_pci patches to address issues with pericom_do_set_divisor() Andy Shevchenko
2021-11-17  3:52   ` Jay Dolan
2021-11-17 13:24     ` Andy Shevchenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.