From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?QW5kcmVhcyBGw6RyYmVy?= Subject: Re: [PATCH v2 3/4] ARM: dts: exynos5250: Fold common ChromeOS parts into Snow Date: Tue, 29 Jul 2014 15:00:03 +0200 Message-ID: <53D79AD3.8020700@suse.de> References: <1405704009-8430-1-git-send-email-afaerber@suse.de> <1405704009-8430-4-git-send-email-afaerber@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Javier Martinez Canillas , Doug Anderson Cc: "linux-samsung-soc@vger.kernel.org" , Stephan van Schaik , Vincent Palatin , Ben Dooks , Kukjin Kim , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Russell King , "moderated list:ARM/SAMSUNG ARM A..." , "open list:OPEN FIRMWARE AND..." , open list List-Id: devicetree@vger.kernel.org Hi Javier and Doug, Am 25.07.2014 19:02, schrieb Javier Martinez Canillas: > On Fri, Jul 25, 2014 at 6:43 PM, Doug Anderson wrote: >> On Fri, Jul 25, 2014 at 9:35 AM, Javier Martinez Canillas >> wrote: >>> Hello Andreas, >>> >>> On Fri, Jul 18, 2014 at 7:20 PM, Andreas F=C3=A4rber wrote: >>>> >>>> + memory { >>>> + reg =3D <0x40000000 0x80000000>; >>>> + }; >>>> + >>>> + chosen { >>>> + }; >>>> + >>> >>> Is there a reason for an empty chosen node? Same for the Spring DTS= =2E >> >> I know that the bootloader (U-Boot) fills this in. I'd have to doub= le >> check how the bootloader handles the node not being there to begin >> with. >=20 > Yes, U-Boot fills this but if the node does not exist in the FDT, it > creates one. Take a look at fdt_chosen() in common/fdt_support.c [0]. >=20 > So I think it's better to just remove it since is empty. Hm, in different context it was stated that device trees shouldn't rely on bootloader behavior (for a /memory node on Zynq we ended up specifying the size cell with the real value despite U-Boot overriding it to a lesser value). Can we instead settle on filling this node with defaults? :) bootargs =3D "console=3Dtty1"; would be my choice for Spring. Would tha= t be applicable for Snow as well? Not sure how to specify that via linux,stdout-path property. I believe this would be a follow-up patch either way. Since there's at least two series out there trying to fiddle with -cros-common.dtsi, including one that drops the slot sub-node of the MM= C and one that adds CPU power supply, it would be nice if we can get the -cros-common parts sorted out and applied. Can you ack/review 1-2? Should I squash them in a v3? Thanks, Andreas --=20 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=C3=BCrnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imend=C3=B6rffer; HRB 16746 AG N=C3= =BCrnberg