All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] sc16is7xx: Hardware flow control fixes
@ 2022-02-21 10:56 Tomasz Moń
  2022-02-21 10:56 ` [PATCH 1/6] sc16is7xx: Preserve EFR bits on update Tomasz Moń
                   ` (6 more replies)
  0 siblings, 7 replies; 11+ messages in thread
From: Tomasz Moń @ 2022-02-21 10:56 UTC (permalink / raw)
  To: linux-serial
  Cc: Phil Elwell, Daniel Mack, Jiri Slaby, Greg Kroah-Hartman,
	Krzysztof Drobiński, Lech Perczak, Tomasz Moń

sc16is7xx driver assumes that the device handles hardware flow control
automatically. This is not really true as the driver does inadvertently
clear the bits that enable hardware flow control.

This patch series solves multiple issues present in the driver. While
the patches are fairly independent, there are some dependencies. The
"sc16is7xx: Properly resume TX after stop" adds IER bit set function
that is later used in "sc16is7xx: Set AUTOCTS and AUTORTS bits". Also
the patches that control which interrupts are enabled are dependent on
each other.

Patches should be applied respecting the order in the series. The whole
series applies on top of "sc16is7xx: Fix for incorrect data being
transmitted" [1].

Patch series has been developed and tested on a board with SC16IS760
connected via SPI bus.

[1] https://lore.kernel.org/linux-serial/20220216160802.1026013-1-phil@raspberrypi.com/

Lech Perczak (3):
  sc16is7xx: Preserve EFR bits on update
  sc16is7xx: Update status lines in single call
  sc16is7xx: Separate GPIOs from modem control lines

Tomasz Moń (3):
  sc16is7xx: Properly resume TX after stop
  sc16is7xx: Handle modem status lines
  sc16is7xx: Set AUTOCTS and AUTORTS bits

 drivers/tty/serial/sc16is7xx.c | 257 +++++++++++++++++++++++++++++----
 1 file changed, 227 insertions(+), 30 deletions(-)

-- 
2.25.1


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

end of thread, other threads:[~2022-02-25 11:29 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-21 10:56 [PATCH 0/6] sc16is7xx: Hardware flow control fixes Tomasz Moń
2022-02-21 10:56 ` [PATCH 1/6] sc16is7xx: Preserve EFR bits on update Tomasz Moń
2022-02-21 10:56 ` [PATCH 2/6] sc16is7xx: Update status lines in single call Tomasz Moń
2022-02-21 10:56 ` [PATCH 3/6] sc16is7xx: Separate GPIOs from modem control lines Tomasz Moń
2022-02-21 10:56 ` [PATCH 4/6] sc16is7xx: Properly resume TX after stop Tomasz Moń
2022-02-21 10:56 ` [PATCH 5/6] sc16is7xx: Handle modem status lines Tomasz Moń
2022-02-21 10:56 ` [PATCH 6/6] sc16is7xx: Set AUTOCTS and AUTORTS bits Tomasz Moń
2022-02-25  9:25 ` [PATCH 0/6] sc16is7xx: Hardware flow control fixes Greg Kroah-Hartman
2022-02-25  9:37   ` Tomasz Moń
2022-02-25 10:47     ` Greg Kroah-Hartman
2022-02-25 11:26       ` Greg Kroah-Hartman

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.