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


Groups > linux.kernel > #1571597

[PATCH v2 00/10] serial: st-asc: Allow handling of RTS line

Path csiph.com!1.us.feeder.erje.net!feeder.erje.net!2.eu.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!news.unit0.net!news.panservice.it!bofh.it!news.nic.it!robomod
From Lee Jones <lee.jones@linaro.org>
Newsgroups linux.kernel
Subject [PATCH v2 00/10] serial: st-asc: Allow handling of RTS line
Date Wed, 01 Feb 2017 15:40:02 +0100
Message-ID <t64eJ-77f-5@gated-at.bofh.it> (permalink)
X-Original-To gregkh@linuxfoundation.org, jslaby@suse.com, linux-serial@vger.kernel.org, dt@kernel.org, devicetree@vger.kernel.org
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=tNKQWDRSdBUW945MoKTO5GckNkoGifGqmD0kMVIDSQk=; b=A3pAQ9EBU4/jJl9fYLAnH4H8TpCzhTNln/QQ5+5TGiPC7Vecm2645DQdUECq3cPwR2 D7fPpMtA6HEfmpZAew2iRyEr49I/+iyqeLrKbd2Vn4hyWPnd1qM7WLodUosDa4komBeJ Nq4V0ZwvwoyhbcgNbgR69gRmKPc9r9JlOf9tc=
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=tNKQWDRSdBUW945MoKTO5GckNkoGifGqmD0kMVIDSQk=; b=FCEc6Kcqo853VTQDTO0Tz+m+PaggOuaNLTCT4RpwpJkorP6ZkMCST+fAkRnIkZJ6rK 0Ff47ZGKtpRUiidxAD0tvxOXQRnaXg7kTJPvaehozEVfgYVFIspAo8v2+8gPubO+Y4hR xJGQ4wrhJbgo9XbarK3mEmwztfmSuFI/Ui43eZi6opYdB1dLrbuFnBHoEuzTLwe2yVP/ L8n3mTbTVi0gOXjj3MFRlvQ6nnzbBEuBkDW+JNkz8YJLYMTT1yzr0iLYxtaxRGEIgcWD xY0TqP6vc0lIHPMOmNdzzZz8TWNkdNUFhKUHWWxdH97uo62ejPCvLS4bF2da+26nJv68 flpQ==
X-Gm-Message-State AIkVDXIWGGo+FGfTYvZMAbf7mncZy210CTTe48Ym/nnheXYXIadOoN2ea08YSwlckFmj4Z2G
X-Received by 10.28.209.202 with SMTP id i193mr3204502wmg.20.1485959511153; Wed, 01 Feb 2017 06:31:51 -0800 (PST)
X-Mailer git-send-email 2.9.3
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 30
Organization linux.* mail to news gateway
X-Original-Cc linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@stlinux.com, patrice.chotard@st.com, Lee Jones <lee.jones@linaro.org>
X-Original-Date Wed, 1 Feb 2017 14:31:35 +0000
X-Original-Message-ID <20170201143145.31962-1-lee.jones@linaro.org>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1571597

Show key headers only | View raw


When hardware flow-control is disabled, manual toggling of the UART's
reset line (RTS) using userland applications (e.g. stty) is not
possible, since the ASC IP does not provide this functionality in the
same was as some other IPs do.  Thus, we have to do this manually.

This set ensures the correct Pinctrl groups are configured and
obtained for both manual toggling of the RTS line and for the IP to
take over the lines when HW flow-control is requested by the user.

Lee Jones (10):
  serial: st-asc: Ignore the parity error bit if 8-bit mode is enabled
  serial: st-asc: Provide RTS functionality
  serial: st-asc: Read in all Pinctrl states
  serial: st-asc: (De)Register GPIOD and swap Pinctrl profiles
  serial: st-asc: Use generic DT binding for announcing RTS/CTS lines
  dt-bindings: serial: Update 'uart-has-rtscts' description
  ARM: dts: STiH410-b2260: Identify the UART RTS line
  ARM: dts: STiH407-pinctrl: Add Pinctrl group for HW flow-control
  ARM: dts: STiH407-family: Use new Pinctrl groups
  ARM: dts: STiH410-b2260: Enable HW flow-control

 .../devicetree/bindings/serial/serial.txt          |   3 +-
 arch/arm/boot/dts/stih407-family.dtsi              |   3 +-
 arch/arm/boot/dts/stih407-pinctrl.dtsi             |  12 ++-
 arch/arm/boot/dts/stih410-b2260.dts                |   5 +
 drivers/tty/serial/st-asc.c                        | 101 +++++++++++++++++++--
 5 files changed, 110 insertions(+), 14 deletions(-)

-- 
2.9.3

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


Thread

[PATCH v2 00/10] serial: st-asc: Allow handling of RTS line Lee Jones <lee.jones@linaro.org> - 2017-02-01 15:40 +0100
  [PATCH v2 04/10] serial: st-asc: (De)Register GPIOD and swap Pinctrl profiles Lee Jones <lee.jones@linaro.org> - 2017-02-01 15:40 +0100
  [PATCH v2 08/10] ARM: dts: STiH407-pinctrl: Add Pinctrl group for HW flow-control Lee Jones <lee.jones@linaro.org> - 2017-02-01 15:40 +0100
  [PATCH v2 03/10] serial: st-asc: Read in all Pinctrl states Lee Jones <lee.jones@linaro.org> - 2017-02-01 15:40 +0100
    Re: [STLinux Kernel] [PATCH v2 03/10] serial: st-asc: Read in all  Pinctrl states Peter Griffin <peter.griffin@linaro.org> - 2017-02-01 16:00 +0100
  Re: [PATCH v2 00/10] serial: st-asc: Allow handling of RTS line Greg KH <gregkh@linuxfoundation.org> - 2017-02-03 10:20 +0100
    Re: [PATCH v2 00/10] serial: st-asc: Allow handling of RTS line Lee Jones <lee.jones@linaro.org> - 2017-02-03 11:20 +0100

csiph-web