From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752822AbcLFWem (ORCPT ); Tue, 6 Dec 2016 17:34:42 -0500 Received: from mail-pg0-f43.google.com ([74.125.83.43]:32926 "EHLO mail-pg0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752733AbcLFWej (ORCPT ); Tue, 6 Dec 2016 17:34:39 -0500 From: Jason Uy To: Greg Kroah-Hartman , Jiri Slaby Cc: Andy Shevchenko , Kefeng Wang , Noam Camus , Heikki Krogerus , Wang Hongcheng , Jason Uy , linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com Subject: [PATCH v1 0/1] serial: 8250_dw: Allow hardware flow control to be used Date: Tue, 6 Dec 2016 14:34:02 -0800 Message-Id: <1481063643-11951-1-git-send-email-jason.uy@broadcom.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset contains changes to allow AUTOCTS to be set for the Synopsys DW UART driver. There is currently no way to set AUTOCTS unless the platform adds a quirk entry and sets the termios callback function. There was a discussion about a similar proposed patch change. It was mentioned in the discussion that the reason set_termios hook was not set by default is because someone might be using a certain type of clock that can't handle rate rounding and ended up using improper clock frequency for some baud rates. See discussion thread here. https://groups.google.com/forum/#!topic/fa.linux.kernel/oWrFOsw3rpQ The current dw8250_set_termios is set such that it always call the standard serial8250_do_set_termios. So if there are clock frequency issues, this will be resolved in serial8250_do_set_termios. This patchset has been tested on Cygnus VOIP board bcm911360_entphn board. This patchset is based on v4.9-rc1 repo: https://github.com/Broadcom/cygnus-linux.git branch: cygnus-tty-v1 Jason Uy (1): serial: 8250_dw: Allow hardware flow control to be used drivers/tty/serial/8250/8250_dw.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) -- 1.9.1