From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753943AbcALXxV (ORCPT ); Tue, 12 Jan 2016 18:53:21 -0500 Received: from mail.kernel.org ([198.145.29.136]:35917 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752961AbcALXxU (ORCPT ); Tue, 12 Jan 2016 18:53:20 -0500 MIME-Version: 1.0 In-Reply-To: <1452627672-9482-1-git-send-email-peter@hurleysoftware.com> References: <1428515119-25248-1-git-send-email-peter@hurleysoftware.com> <1452627672-9482-1-git-send-email-peter@hurleysoftware.com> From: Rob Herring Date: Tue, 12 Jan 2016 17:52:58 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v4 00/11] Earlycon cleanup To: Peter Hurley Cc: Greg Kroah-Hartman , Masahiro Yamada , Grant Likely , "linux-serial@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Kevin Cernekee , Jon Hunter , Sebastian Frias , Paul Burton Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 12, 2016 at 1:41 PM, Peter Hurley wrote: > Hi Greg, Grant & Rob, > > This patch series is a rebase of the v3 from April last year. > > This patch series builds on my earlier "Extensible console matching & > direct earlycon" to add several useful features to earlycon: > * Proper port i/o configuration from DT node with of_serial properties > (such as reg-io-width, reg-shift and reg-offset, and endianness) > * Proper console name & index initialization from earlycon name > (for both command line and DT-defined earlycons) > * Support for DT 'stdout-path' options pass-through to earlycon setup > * Improved log messages for troubleshooting > * Support for multiple OF earlycon declarations so different > compatible strings can specify the same OF earlycon > > * Changes from v3 > - Added 32-bit big-endian support > - Removed the omap8250 earlycon (will follow later) > > > Rob has expressed a desire to have the DT parts live in drivers/of/fdt.c > The problem with this approach is two-fold. Firstly, the number of required > parameters quickly becomes ugly (base address, io reg width, io reg offset, > io reg stride, endianness, earlycon name). Secondly, drivers are already > requiring access to alternate DT properties, like clocks, to initialize > earlycons, and this requirement will continue. I dislike ugliness more. So other than my one nit, for the series: Acked-by: Rob Herring