From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752641AbdBCJXJ (ORCPT ); Fri, 3 Feb 2017 04:23:09 -0500 Received: from mail-wm0-f41.google.com ([74.125.82.41]:38214 "EHLO mail-wm0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752312AbdBCJXE (ORCPT ); Fri, 3 Feb 2017 04:23:04 -0500 Date: Fri, 3 Feb 2017 09:22:59 +0000 From: Lee Jones To: Greg KH Cc: jslaby@suse.com, linux-serial@vger.kernel.org, dt@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@stlinux.com, patrice.chotard@st.com Subject: Re: [PATCH v2 00/10] serial: st-asc: Allow handling of RTS line Message-ID: <20170203092259.3opu2feqnco6gv2s@dell> References: <20170127172804.23881-1-lee.jones@linaro.org> <20170202074236.ni3tozz3er4g3t64@dell> <20170202095541.GB30437@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20170202095541.GB30437@kroah.com> User-Agent: Mutt/1.6.2-neo (2016-08-21) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 02 Feb 2017, Greg KH wrote: > On Thu, Feb 02, 2017 at 07:42:36AM +0000, Lee Jones wrote: > > Hi Greg, Jiri, > > > > > 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(-) > > > > Looks like everyone is happy with the set. > > > > Are you planning to merge it? > > I'll take it in my next round of patches, give me a few days to sync up, > I normally do serial patches once a week or so. Works for me. Thanks Greg. -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lee Jones Subject: Re: [PATCH v2 00/10] serial: st-asc: Allow handling of RTS line Date: Fri, 3 Feb 2017 09:22:59 +0000 Message-ID: <20170203092259.3opu2feqnco6gv2s@dell> References: <20170127172804.23881-1-lee.jones@linaro.org> <20170202074236.ni3tozz3er4g3t64@dell> <20170202095541.GB30437@kroah.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Content-Disposition: inline In-Reply-To: <20170202095541.GB30437-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Greg KH Cc: jslaby-IBi9RG/b67k@public.gmane.org, linux-serial-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, kernel-F5mvAk5X5gdBDgjK7y7TUQ@public.gmane.org, patrice.chotard-qxv4g6HH51o@public.gmane.org List-Id: devicetree@vger.kernel.org On Thu, 02 Feb 2017, Greg KH wrote: > On Thu, Feb 02, 2017 at 07:42:36AM +0000, Lee Jones wrote: > > Hi Greg, Jiri, > > > > > 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(-) > > > > Looks like everyone is happy with the set. > > > > Are you planning to merge it? > > I'll take it in my next round of patches, give me a few days to sync up, > I normally do serial patches once a week or so. Works for me. Thanks Greg. -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html From mboxrd@z Thu Jan 1 00:00:00 1970 From: lee.jones@linaro.org (Lee Jones) Date: Fri, 3 Feb 2017 09:22:59 +0000 Subject: [PATCH v2 00/10] serial: st-asc: Allow handling of RTS line In-Reply-To: <20170202095541.GB30437@kroah.com> References: <20170127172804.23881-1-lee.jones@linaro.org> <20170202074236.ni3tozz3er4g3t64@dell> <20170202095541.GB30437@kroah.com> Message-ID: <20170203092259.3opu2feqnco6gv2s@dell> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Thu, 02 Feb 2017, Greg KH wrote: > On Thu, Feb 02, 2017 at 07:42:36AM +0000, Lee Jones wrote: > > Hi Greg, Jiri, > > > > > 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(-) > > > > Looks like everyone is happy with the set. > > > > Are you planning to merge it? > > I'll take it in my next round of patches, give me a few days to sync up, > I normally do serial patches once a week or so. Works for me. Thanks Greg. -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org ? Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog