From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755382AbbBLJyJ (ORCPT ); Thu, 12 Feb 2015 04:54:09 -0500 Received: from mail-by2on0093.outbound.protection.outlook.com ([207.46.100.93]:37600 "EHLO na01-by2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755096AbbBLJyG (ORCPT ); Thu, 12 Feb 2015 04:54:06 -0500 X-Greylist: delayed 921 seconds by postgrey-1.27 at vger.kernel.org; Thu, 12 Feb 2015 04:54:05 EST Date: Thu, 12 Feb 2015 10:38:21 +0100 From: Michal Simek User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Michal Simek , Mark Rutland , Simon Glass CC: "linux-arm-kernel@lists.infradead.org" , "monstr@monstr.eu" , Josh Cartwright , Steffen Trumtrar , Rob Herring , Peter Crosthwaite , Rob Herring , Pawel Moll , Ian Campbell , Kumar Gala , Russell King , =?windows-1252?Q?S=F6ren_Brinkmann?= , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH 2/2] ARM: dts: zynq: Add linux,stdout-path and stdout-path References: <0a0e0579fb6e2794d2c0c6fb9186c5b43618f448.1423657710.git.michal.simek@xilinx.com> <20150211124027.GH9154@leverpostej> <54DB663E.4060605@xilinx.com> In-Reply-To: <54DB663E.4060605@xilinx.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-RCIS-Action: ALLOW X-TM-AS-Product-Ver: IMSS-7.1.0.1224-7.5.0.1018-21296.000 X-TM-AS-User-Approved-Sender: Yes Message-ID: X-EOPAttributedMessage: 0 Authentication-Results: spf=pass (sender IP is 62.221.5.235) smtp.mailfrom=michal.simek@xilinx.com; X-Forefront-Antispam-Report: CIP:62.221.5.235;CTRY:GB;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(438002)(479174004)(51704005)(164054003)(377454003)(2950100001)(33646002)(46102003)(87936001)(93886004)(47776003)(108616004)(77156002)(77096005)(92726002)(62966003)(23746002)(50466002)(76176999)(50986999)(106466001)(104016003)(54356999)(86362001)(6806004)(19580395003)(74316001)(575784001)(92566002)(19580405001)(83506001)(65826006)(107986001)(142933001)(24736002);DIR:OUT;SFP:1101;SCL:1;SRVR:BL2FFO11HUB047;H:xir-pvapsmtpgw01;FPR:;SPF:Pass;MLV:sfv;LANG:en; X-Microsoft-Antispam: UriScan:; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:BL2FFO11HUB047; X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004);SRVR:BL2FFO11HUB047; X-Forefront-PRVS: 0485417665 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:;SRVR:BL2FFO11HUB047; X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Feb 2015 09:38:42.4351 (UTC) X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c;Ip=[62.221.5.235] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL2FFO11HUB047 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Mark and Simon, On 02/11/2015 03:25 PM, Michal Simek wrote: > On 02/11/2015 01:40 PM, Mark Rutland wrote: >> On Wed, Feb 11, 2015 at 12:29:02PM +0000, Michal Simek wrote: >>> parallella - Use reference instead of hardcoded path >>> (linux,stdout-path) >>> >>> stdout-path is used by bootloader to identify console. >>> >>> Signed-off-by: Michal Simek >>> --- >>> >>> U-Boot driver model requires stdout-path. >>> --- >>> arch/arm/boot/dts/zynq-parallella.dts | 3 ++- >>> arch/arm/boot/dts/zynq-zc702.dts | 2 ++ >>> arch/arm/boot/dts/zynq-zc706.dts | 2 ++ >>> arch/arm/boot/dts/zynq-zed.dts | 2 ++ >>> arch/arm/boot/dts/zynq-zybo.dts | 2 ++ >>> 5 files changed, 10 insertions(+), 1 deletion(-) >>> >>> diff --git a/arch/arm/boot/dts/zynq-parallella.dts b/arch/arm/boot/dts/zynq-parallella.dts >>> index 6a5f51daa708..45228a427006 100644 >>> --- a/arch/arm/boot/dts/zynq-parallella.dts >>> +++ b/arch/arm/boot/dts/zynq-parallella.dts >>> @@ -35,7 +35,8 @@ >>> >>> chosen { >>> bootargs = "console=ttyPS0,115200 earlyprintk root=/dev/mmcblk0p2 rootfstype=ext4 rw rootwait"; >>> - linux,stdout-path = "/amba/serial@e0001000"; >>> + linux,stdout-path = &uart1; >>> + stdout-path = &uart1; >> >> Given that you added aliases in the last patch, you can use that to >> refer to the serial: >> >> stdout-path - "serial0:115200n8"; >> >> With or without the alias you can encode the UART configuration here >> too: >> >> stdout-path = "/amba/serial@e0001000:115200n8" > > let me check this configuration if it is supported by u-boot. I have converted Linux DTSes to this style and it is working fine. For U-Boot DM this description is not supported. Simon: Do you have any plan to support this new description? Thanks, Michal