From patchwork Fri Apr 10 18:18:13 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 6198471 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 2087B9F2EC for ; Fri, 10 Apr 2015 18:18:30 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2B4B82043C for ; Fri, 10 Apr 2015 18:18:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 62E3E203F7 for ; Fri, 10 Apr 2015 18:18:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756302AbbDJSST (ORCPT ); Fri, 10 Apr 2015 14:18:19 -0400 Received: from arroyo.ext.ti.com ([192.94.94.40]:58422 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754924AbbDJSSR (ORCPT ); Fri, 10 Apr 2015 14:18:17 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id t3AIIG7s004721 for ; Fri, 10 Apr 2015 13:18:16 -0500 Received: from DLEE71.ent.ti.com (dlee71.ent.ti.com [157.170.170.114]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id t3AIIFBH030822 for ; Fri, 10 Apr 2015 13:18:15 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DLEE71.ent.ti.com (157.170.170.114) with Microsoft SMTP Server id 14.3.224.2; Fri, 10 Apr 2015 13:18:15 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id t3AIIFTE023943; Fri, 10 Apr 2015 13:18:15 -0500 From: Nishanth Menon To: Sekhar Nori CC: , Nishanth Menon Subject: [RFC PATCH] ARM: omap2plus_defconfig: Switch over to using 8250 driver Date: Fri, 10 Apr 2015 13:18:13 -0500 Message-ID: <1428689893-14605-1-git-send-email-nm@ti.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Spam-Status: No, score=-6.0 required=5.0 tests=BAYES_00,RAZOR2_CHECK, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 8250 driver should be relatively feature complete. It can co-exist with omap-serial driver, so just enable 8250 OMAP layer driver and route all ttyOx references to ttySx through the standard 8250 driver to ensure no breakage of userspace occurs. Signed-off-by: Nishanth Menon --- Current upstream next-20150410 status: (all boards pass without this patch) Test is a basic boot test (using omap2plus_defconfig ofcourse).. Ofcourse: [ 0.001035] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0' does not help userspace when they are not able to dynamically handle switch. Just curious if folks feel we are ready for this switch yet... ttyS-change 1: am335x-evm: BOOT: PASS: http://paste.ubuntu.org.cn/2551733 2: am335x-sk: BOOT: FAIL: http://paste.ubuntu.org.cn/2551734 3: am3517-evm: BOOT: FAIL: http://paste.ubuntu.org.cn/2551735 4: am37x-evm: BOOT: FAIL: http://paste.ubuntu.org.cn/2551736 5: am437x-sk: BOOT: FAIL: http://paste.ubuntu.org.cn/2551737 6: am43xx-epos: BOOT: FAIL: http://paste.ubuntu.org.cn/2551738 7: am43xx-gpevm: BOOT: PASS: http://paste.ubuntu.org.cn/2551739 8: BeagleBoard-XM: BOOT: FAIL: http://paste.ubuntu.org.cn/2551740 9: beagleboard-vanilla: BOOT: FAIL: http://paste.ubuntu.org.cn/2551741 10: beaglebone-black: BOOT: PASS: http://paste.ubuntu.org.cn/2551742 11: beaglebone: BOOT: FAIL: http://paste.ubuntu.org.cn/2551743 12: craneboard: BOOT: FAIL: http://paste.ubuntu.org.cn/2551744 13: dra72x-evm: BOOT: FAIL: http://paste.ubuntu.org.cn/2551745 14: dra7xx-evm: BOOT: FAIL: http://paste.ubuntu.org.cn/2551746 15: OMAP3430-Labrador(LDP): BOOT: FAIL: http://paste.ubuntu.org.cn/2551747 16: n900: BOOT: FAIL: http://paste.ubuntu.org.cn/2551748 17: omap5-evm: BOOT: FAIL: http://paste.ubuntu.org.cn/2551749 18: pandaboard-es: BOOT: FAIL: http://paste.ubuntu.org.cn/2551750 19: pandaboard-vanilla: BOOT: FAIL: http://paste.ubuntu.org.cn/2551751 20: sdp2430: BOOT: FAIL: http://paste.ubuntu.org.cn/2551752 21: sdp3430: BOOT: FAIL: http://paste.ubuntu.org.cn/2551753 22: sdp4430: BOOT: FAIL: http://paste.ubuntu.org.cn/2551754 TOTAL = 22 boards, Booted Boards = 3, No Boot boards = 19 arc/arm/configs/omap2plus_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig index 9ff7b54b2a83..6ef76856ac8e 100644 --- a/arch/arm/configs/omap2plus_defconfig +++ b/arch/arm/configs/omap2plus_defconfig @@ -220,6 +220,8 @@ CONFIG_SERIAL_8250_MANY_PORTS=y CONFIG_SERIAL_8250_SHARE_IRQ=y CONFIG_SERIAL_8250_DETECT_IRQ=y CONFIG_SERIAL_8250_RSA=y +CONFIG_SERIAL_8250_OMAP=y +CONFIG_SERIAL_8250_OMAP_TTYO_FIXUP=y CONFIG_SERIAL_OF_PLATFORM=y CONFIG_SERIAL_OMAP=y CONFIG_SERIAL_OMAP_CONSOLE=y