From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.3 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 73D62C49ED7 for ; Mon, 16 Sep 2019 12:22:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4C82D214DE for ; Mon, 16 Sep 2019 12:22:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732437AbfIPMWx (ORCPT ); Mon, 16 Sep 2019 08:22:53 -0400 Received: from verein.lst.de ([213.95.11.211]:44549 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727845AbfIPMWx (ORCPT ); Mon, 16 Sep 2019 08:22:53 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id 90C2E68B05; Mon, 16 Sep 2019 14:22:49 +0200 (CEST) Date: Mon, 16 Sep 2019 14:22:49 +0200 From: Christoph Hellwig To: Paul Walmsley Cc: Andreas Schwab , Christoph Hellwig , gregkh@linuxfoundation.org, jslaby@suse.com, linux-serial@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] serial/sifive: select SERIAL_EARLYCON Message-ID: <20190916122249.GA30058@lst.de> References: <20190910055923.28384-1-hch@lst.de> <20190910070503.GA31743@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 16, 2019 at 05:18:57AM -0700, Paul Walmsley wrote: > I support Christoph's plan to add generic implicit earlycon support. I'm not planning to add it, it exist already. You just need a DT that sets the stdout node up properly, and a earlycon driver using OF_EARLYCON_DECLARE like the sifive uart driver. The DT here for example works perfectly fine: http://git.infradead.org/users/hch/riscv.git/commitdiff/f10e64873eafc68516b8884c06b9290b9887633b