Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966190AbbD1NlA (ORCPT ); Tue, 28 Apr 2015 09:41:00 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:35230 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S965617AbbD1Nkx (ORCPT ); Tue, 28 Apr 2015 09:40:53 -0400 X-Listener-Flag: 11101 From: Eddie Huang To: Greg Kroah-Hartman , Matthias Brugger CC: , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Catalin Marinas , Will Deacon , Jiri Slaby , Eddie Huang , Howard Chen , Ashwin Chaugule , Peter Hurley , Wang Long , Kevin Cernekee , Vineet Gupta , "Rafael J. Wysocki" , Alan Cox , , , , , , Sascha Hauer Subject: [PATCH v3 0/3] tty: serial: Add earlycon support to MT8173 SoC Date: Tue, 28 Apr 2015 21:40:31 +0800 Message-ID: <1430228434-31779-1-git-send-email-eddie.huang@mediatek.com> X-Mailer: git-send-email 1.8.1.1.dirty MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1146 Lines: 34 This patch add earlycon support to MT8173 SoC platform. To use earlycon, need 1. Add earlycon in boot parameters 2. Add "linux,sdtout-path" property in device tree file This patch based on 4.1-rc1. Change in v3: Remove noinit options, not necessary, because 8250_early.c will not init hardware if not provide baudrate. Change v2: 1. Add noinit options. 2. Remove duplicate code in 8250_mtk.c, reuse the 8250_early.c existed function. Eddie Huang (3): tty: serial: 8250: export early_serial8250_setup function tty: serial: 8250_mtk: Add earlycon arm64: dts: Add mediatek MT8173 earlycon support arch/arm64/boot/dts/mediatek/mt8173-evb.dts | 4 +++- drivers/tty/serial/8250/8250_early.c | 2 +- drivers/tty/serial/8250/8250_mtk.c | 13 +++++++++++++ include/linux/serial_8250.h | 2 ++ 4 files changed, 19 insertions(+), 2 deletions(-) -- 1.8.1.1.dirty -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/