From patchwork Thu May 8 22:23:43 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 4139161 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id DAEA29F387 for ; Thu, 8 May 2014 22:26:57 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 104D0202EA for ; Thu, 8 May 2014 22:26:57 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CFE6D202DD for ; Thu, 8 May 2014 22:26:55 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WiWkA-00054k-As; Thu, 08 May 2014 22:24:46 +0000 Received: from mail-ob0-x231.google.com ([2607:f8b0:4003:c01::231]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WiWjp-0004ZN-BI for linux-arm-kernel@lists.infradead.org; Thu, 08 May 2014 22:24:26 +0000 Received: by mail-ob0-f177.google.com with SMTP id gq1so3743936obb.36 for ; Thu, 08 May 2014 15:24:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=OaVo/ccLPeaILJtylIDSofO9SMQCvBCva43jzDaKq8I=; b=THYa/t9XT8f9TIS6kLVGMJh19EsJktiEKL7D+kahQ3YFaotr4juKwL/UrthowNRPuz idA1VzegUr5uxsmOZxRHJ3lyFFeyR6SKzuL98XbqxKXBTLB5qzRx4SKJvQm0H3+g2Ims XiwzpPRRh3TbuqbKQ6fLNV/bi+hOe2M0FTl/VmNzguAopU2VnuUNwd6f2FgbCTXffViz KhzzEKIKBJFepE00bQ1CIv5pGWdCwYdg/glcwGOFJXCggpKDw00bYVjUIwmxneLVQM+m yj3QSaQifhPzJyyoaVrnbmUw3paKdwLTMovCnGt0G2clML364vpPn/0kwZPzyaY8wd3T hZxw== X-Received: by 10.60.78.165 with SMTP id c5mr7413291oex.83.1399587844216; Thu, 08 May 2014 15:24:04 -0700 (PDT) Received: from localhost.localdomain (72-48-77-163.dyn.grandenetworks.net. [72.48.77.163]) by mx.google.com with ESMTPSA id fj9sm9311932oeb.6.2014.05.08.15.24.02 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 08 May 2014 15:24:03 -0700 (PDT) From: Rob Herring To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 6/6] tty/serial: pl011: add DT based earlycon support Date: Thu, 8 May 2014 17:23:43 -0500 Message-Id: <1399587823-17701-7-git-send-email-robherring2@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1399587823-17701-1-git-send-email-robherring2@gmail.com> References: <1399587823-17701-1-git-send-email-robherring2@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140508_152425_442326_E09FFB99 X-CRM114-Status: GOOD ( 10.84 ) X-Spam-Score: 0.1 (/) Cc: Rob Herring , Russell King , Arnd Bergmann , benh@kernel.crashing.org, Greg Kroah-Hartman , Grant Likely , Jiri Slaby X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham 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 From: Rob Herring Enable DT based earlycon initialization for the pl011 uart. Signed-off-by: Rob Herring Cc: Russell King Cc: Greg Kroah-Hartman Cc: Jiri Slaby --- drivers/tty/serial/amba-pl011.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/tty/serial/amba-pl011.c b/drivers/tty/serial/amba-pl011.c index ee3d803..908a6e3 100644 --- a/drivers/tty/serial/amba-pl011.c +++ b/drivers/tty/serial/amba-pl011.c @@ -2072,6 +2072,7 @@ static int __init pl011_early_console_setup(struct earlycon_device *device, return 0; } EARLYCON_DECLARE(pl011, pl011_early_console_setup); +OF_EARLYCON_DECLARE(pl011, "arm,pl011", pl011_early_console_setup); #else #define AMBA_CONSOLE NULL