From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759410AbcHaDfZ (ORCPT ); Tue, 30 Aug 2016 23:35:25 -0400 Received: from szxga02-in.huawei.com ([119.145.14.65]:6952 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758454AbcHaDfW (ORCPT ); Tue, 30 Aug 2016 23:35:22 -0400 From: Kefeng Wang To: , , CC: Andy Shevchenko , Heikki Krogerus , Jiri Slaby , , , , , , Kefeng Wang Subject: [PATCH v4 0/2] serial: 8250_dw: Add ACPI support for uart on Hisilicon Hip05 SoC Date: Wed, 31 Aug 2016 11:29:10 +0800 Message-ID: <1472614152-43136-1-git-send-email-wangkefeng.wang@huawei.com> X-Mailer: git-send-email 1.7.12.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.175.102.37] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020204.57C64F64.0158,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2013-06-18 04:22:30, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: 4e9ec94a91e867d0d35f878a658299da Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Handle all cases of dw8250_data->clk properly in dw8250_set_termios(), then make it as the default set_termios callback for 8250 dw uart. After that, add ACPI support for uart on Hisilicon Hip05 SoC, be careful that it is not 16500 compatible, and with Heikki's patchset[1], we safely only add ACPI identifier, due to the ACPI quirks in dw8250_quirks() only for "APMC0D08". Change since v3: - The new dev var patch is sent separately. - Address the comment from Andy, and repost patches based on Heikki Krogerus's patchset[1] "[PATCHv2 0/3] serial: dw8250: ACPI tuning" Change since v2: - Add a new patch to use new var dev in probe - Use built-in device properties to set device parameters for existing device probed by acpi, suggested by Andy Shevchenko Change since v1: - Use acpi_match_device() instead of acpi_dev_found(), limit the check to the device being probed and not a global search for whole DSDT (pointed by graeme.gregory@linaro.org) [1] http://www.spinics.net/lists/linux-acpi/msg68519.html Kefeng Wang (2): serial: 8250_dw: make dw8250_set_termios as default set_termios callback serial: 8250_dw: add ACPI support for uart on Hisilicon Hip05 SoC drivers/tty/serial/8250/8250_dw.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 1.7.12.4