Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756402AbbGFNzN (ORCPT ); Mon, 6 Jul 2015 09:55:13 -0400 Received: from muru.com ([72.249.23.125]:33320 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755141AbbGFNzL (ORCPT ); Mon, 6 Jul 2015 09:55:11 -0400 Date: Mon, 6 Jul 2015 06:55:06 -0700 From: Tony Lindgren To: Pali =?utf-8?B?Um9ow6Fy?= Cc: Arnd Bergmann , linux-arm-kernel@lists.infradead.org, Rob Herring , Russell King , Will Deacon , Ivaylo Dimitrov , Sebastian Reichel , Pavel Machek , Andreas =?utf-8?Q?F=C3=A4rber?= , linux-omap@vger.kernel.org, "linux-kernel@vger.kernel.org" , devicetree@vger.kernel.org Subject: Re: [RESEND] [PATCH v2 1/2] arm: devtree: Set system_rev from DT revision Message-ID: <20150706135506.GI10705@atomide.com> References: <1430902142-17035-1-git-send-email-pali.rohar@gmail.com> <201507061423.23505@pali> <20150706123126.GG10705@atomide.com> <201507061512.27124@pali> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <201507061512.27124@pali> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1518 Lines: 53 * Pali Rohár [150706 06:14]: > On Monday 06 July 2015 14:31:27 Tony Lindgren wrote: > > * Pali Rohár [150706 05:25]: > > > into which file should I put documentation about new DT properties? > > > > If it's Linux generic like linux,revision, then how about > > Documentation/devicetree/bindings/revision.txt? > > > > For the ATAGs, Documentation/devicetree/bindings/arm/atag.txt? > > Hm... now I'm thinking into which DT field should I put atags and > revision. In previous emails you wrote to use "linux,atags", now > "arm,atags"? And put them into root node? Or other? > > In arch/arm/boot/compressed/atags_to_fdt.c code I see that most atag > properties are converted into "/chosen" node in DT... > > So what do you prefer for "revision" and what for "atags"? I'd prefer linux,revision and arm,atags. Chances are the ATAGs won't be used on other architectures. I'm find with linux,atags too if people prefer that. Regards, Tony > Some mentioned examples: > > "/revision" > "/chosen/revision" > "/linux,revision" > "/chosen/linux,revision" > ... > > "/atags" > "/chosen/atags" > "/linux,atags" > "/chosen/linux,atags" > "/arm,atags" > "/chosen/arm,atags" > ... > > -- > Pali Rohár > pali.rohar@gmail.com -- 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/