Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966169AbcJ1RFB (ORCPT ); Fri, 28 Oct 2016 13:05:01 -0400 Received: from mailapp01.imgtec.com ([195.59.15.196]:61014 "EHLO mailapp01.imgtec.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S941660AbcJ1RE7 (ORCPT ); Fri, 28 Oct 2016 13:04:59 -0400 From: Ed Blake To: CC: , , , , , , , , , , , , , , , , , Ed Blake Subject: [PATCH v2 0/2] serial: Add IrDA support to 8250_dw driver Date: Fri, 28 Oct 2016 18:04:32 +0100 Message-ID: <1477674274-16283-1-git-send-email-ed.blake@imgtec.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [192.168.167.2] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 840 Lines: 22 This patch set adds IrDA support to the 8250_dw driver. The first patch exposes the set_ldisc() function in the 8250 driver so it can be overridden, and the second patch adds a set_ldisc() function to the 8250_dw driver which enables / disables IrDA SIR mode if supported. v2: The 8250_dw set_ldisc() function no longer tries to enable/disable IrDA SIR mode if not supported by the hardware configuration. Ed Blake (2): serial: 8250: Expose set_ldisc function serial: 8250_dw: Add support for IrDA SIR mode drivers/tty/serial/8250/8250_core.c | 3 +++ drivers/tty/serial/8250/8250_dw.c | 24 ++++++++++++++++++++++++ drivers/tty/serial/8250/8250_port.c | 12 ++++++++++-- include/linux/serial_8250.h | 4 ++++ include/linux/serial_core.h | 2 ++ 5 files changed, 43 insertions(+), 2 deletions(-) -- 1.9.1