From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Subject: Re: [PATCHv2 05/15] ARM: mvebu: add stdout-path to all armada-*.dts Date: Tue, 3 Mar 2015 10:45:41 +0100 Message-ID: <20150303104541.345608b4@free-electrons.com> References: <1424451874-25375-1-git-send-email-thomas.petazzoni@free-electrons.com> <1424451874-25375-6-git-send-email-thomas.petazzoni@free-electrons.com> <54EB4E9B.6010001@free-electrons.com> <20150227174851.390d9f58@free-electrons.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from down.free-electrons.com ([37.187.137.238]:36519 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755781AbbCCJpr (ORCPT ); Tue, 3 Mar 2015 04:45:47 -0500 In-Reply-To: Sender: linux-gpio-owner@vger.kernel.org List-Id: linux-gpio@vger.kernel.org To: Rob Herring Cc: Gregory CLEMENT , Andrew Lunn , Mike Turquette , Jason Cooper , Pawel Moll , "devicetree@vger.kernel.org" , Linus Walleij , Ian Campbell , Stephen Boyd , Nadav Haklai , "linux-gpio@vger.kernel.org" , Lior Amsalem , Rob Herring , Ezequiel Garcia , Kumar Gala , Mark Rutland , Tawfik Bayouk , Maxime Ripard , "linux-arm-kernel@lists.infradead.org" , Sebastian Hesselbarth Dear Rob Herring, On Fri, 27 Feb 2015 11:42:43 -0600, Rob Herring wrote: > > It is worth mentioning that this also happens with > > > > stdout-path = "uart0:115200n8"; > > > > which was explicitly suggested by Mark in his e-mail. uart0 is an alias > > to the proper DT node, since stdout-path = &uart0; works almost fine. > > Mark forgot the '&'. So does 'stdout-path = "&uart0:115200n8";' work? Nah, there is really no '&' needed, Mark was right. What was wrong in my setup was that uart0 was a *label* for the serial port DT node, and not an alias. Once I created an alias 'serial0' for '&uart0', things started working all right. Thanks, Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com From mboxrd@z Thu Jan 1 00:00:00 1970 From: thomas.petazzoni@free-electrons.com (Thomas Petazzoni) Date: Tue, 3 Mar 2015 10:45:41 +0100 Subject: [PATCHv2 05/15] ARM: mvebu: add stdout-path to all armada-*.dts In-Reply-To: References: <1424451874-25375-1-git-send-email-thomas.petazzoni@free-electrons.com> <1424451874-25375-6-git-send-email-thomas.petazzoni@free-electrons.com> <54EB4E9B.6010001@free-electrons.com> <20150227174851.390d9f58@free-electrons.com> Message-ID: <20150303104541.345608b4@free-electrons.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Dear Rob Herring, On Fri, 27 Feb 2015 11:42:43 -0600, Rob Herring wrote: > > It is worth mentioning that this also happens with > > > > stdout-path = "uart0:115200n8"; > > > > which was explicitly suggested by Mark in his e-mail. uart0 is an alias > > to the proper DT node, since stdout-path = &uart0; works almost fine. > > Mark forgot the '&'. So does 'stdout-path = "&uart0:115200n8";' work? Nah, there is really no '&' needed, Mark was right. What was wrong in my setup was that uart0 was a *label* for the serial port DT node, and not an alias. Once I created an alias 'serial0' for '&uart0', things started working all right. Thanks, Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com