[<prev] [next>] [day] [month] [year] [list]
Message-ID: <b19bf0fdc82b47cc88187edecd23f5b6@BL2FFO11OLC004.protection.gbl>
Date: Thu, 12 Feb 2015 10:38:21 +0100
From: Michal Simek <michal.simek@...inx.com>
To: Michal Simek <michal.simek@...inx.com>,
Mark Rutland <mark.rutland@....com>,
Simon Glass <sjg@...omium.org>
CC: "linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
"monstr@...str.eu" <monstr@...str.eu>,
Josh Cartwright <josh.cartwright@...com>,
Steffen Trumtrar <s.trumtrar@...gutronix.de>,
Rob Herring <robherring2@...il.com>,
Peter Crosthwaite <peter.crosthwaite@...inx.com>,
Rob Herring <robh+dt@...nel.org>,
Pawel Moll <Pawel.Moll@....com>,
Ian Campbell <ijc+devicetree@...lion.org.uk>,
Kumar Gala <galak@...eaurora.org>,
Russell King <linux@....linux.org.uk>,
Sören Brinkmann <soren.brinkmann@...inx.com>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 2/2] ARM: dts: zynq: Add linux,stdout-path and stdout-path
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 <michal.simek@...inx.com>
>>> ---
>>>
>>> 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@...01000";
>>> + 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@...01000: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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists