Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1451508

sc16is7xx: fix RTS/CTS implementation and add reading CTS

From Pascal JEAN <epsilonrt@gmail.com>
Newsgroups linux.kernel
Subject sc16is7xx: fix RTS/CTS implementation and add reading CTS
Date 2016-07-27 23:00 +0200
Message-ID <rZE5P-4nL-11@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Greg,

Here are explanations of the two patches:

0001-sc16is7xx-fix-RTS-CTS-implementation.patch:
RTS/CTS handshaking for sc16is7xx driver does not work, no character is sent 
regardless of the state of CTS.

This test was done on a raspberry pi 2:

1- sc16is7xx_set_baud() overwrites the flow control configuration bits in EFR. 
Writing in EFR has been replaced by an update.
2- As noted in the file Documentation/serial/driver, 
get_mctrl() should return an active state for unsupported entries.

0002-sc16is7xx-add-reading-CTS.patch:
This patch adds the possibility to read the actual status of the CTS input when
 RTS/CTS handshaking is not activated.

After those changes everything works.

Thank you for your hard work.
Have a nice day.
Pascal

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

sc16is7xx: fix RTS/CTS implementation and add reading CTS Pascal JEAN <epsilonrt@gmail.com> - 2016-07-27 23:00 +0200
  [PATCH 1/2] sc16is7xx: fix RTS/CTS implementation Pascal JEAN <epsilonrt@gmail.com> - 2016-07-27 23:00 +0200
    Re: [PATCH 1/2] sc16is7xx: fix RTS/CTS implementation Greg KH <gregkh@linuxfoundation.org> - 2016-07-27 23:30 +0200
      Re: [PATCH 1/2] sc16is7xx: fix RTS/CTS implementation Pascal JEAN <epsilonrt@gmail.com> - 2016-07-28 09:00 +0200
      [PATCH 2/2] sc16is7xx: add reading CTS Pascal JEAN <epsilonrt@gmail.com> - 2016-07-28 09:10 +0200
        Re: [PATCH 2/2] sc16is7xx: add reading CTS Greg KH <gregkh@linuxfoundation.org> - 2016-07-28 16:20 +0200

csiph-web