Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933964AbbEMJvd (ORCPT ); Wed, 13 May 2015 05:51:33 -0400 Received: from mail-pa0-f54.google.com ([209.85.220.54]:32865 "EHLO mail-pa0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933610AbbEMJvb (ORCPT ); Wed, 13 May 2015 05:51:31 -0400 Message-ID: <55531E9E.2030805@gmail.com> Date: Wed, 13 May 2015 18:51:26 +0900 From: Krzysztof Kozlowski User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Kukjin Kim CC: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 02/13] ARM: dts: exynos4: Use labels for overriding nodesin Exynos4210 References: <1431351773-2031-1-git-send-email-k.kozlowski.k@gmail.com> <1431351773-2031-3-git-send-email-k.kozlowski.k@gmail.com> <5553130D.3010909@kernel.org> In-Reply-To: <5553130D.3010909@kernel.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1079 Lines: 41 W dniu 13.05.2015 o 18:02, Kukjin Kim pisze: > On 05/11/15 22:42, Krzysztof Kozlowski wrote: >> Usage of labels instead of full paths reduces possible mistakes when >> overriding nodes. >> > Well, I'm not sure what kind of the possible mistakes you mentioned...? One can make a mistake in path when overriding. For example we have: exynos4.dtsi: / { gic: interrupt-controller@10490000 { ... }; } and someone can add in child dtsi (like exynos4210.dtsi): / { soc { interrupt-controller@10490000 { cpu-offset = <0x8000>; } } } or he can make a mistake in address. As a result the gic node won't be properly overridden. > > I don't think we need to use the label for gic, combiner. They are overridden by child DTSI. First definition is in exynos4.dtsi and exynos4210.dtsi adds a cpu-offset. Best regards, Krzysztof -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/