From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Likely Subject: Re: [RFC PATCH 2/2] ARM: DT: kernel: DT cpu node bindings update Date: Thu, 18 Apr 2013 13:40:21 +0100 Message-ID: <20130418124021.DE4C63E118C@localhost> References: <1366042402-8987-1-git-send-email-lorenzo.pieralisi@arm.com> <1366042402-8987-3-git-send-email-lorenzo.pieralisi@arm.com> <516C544A.4090107@wwwdotorg.org> <20130417091457.GB5012@e106331-lin.cambridge.arm.com> <516EBC66.20508@wwwdotorg.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <516EBC66.20508-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Sender: "devicetree-discuss" To: Stephen Warren , Mark Rutland Cc: Nicolas Pitre , Jon Medhurst , Catalin Marinas , "linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org" , Andrew Lunn , Sekhar Nori , Lennert Buytenhek , Kukjin Kim , Russell King , Magnus Damm , Viresh Kumar , David Brown , "devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org" , "rob.herring-bsGFqQB8/DxBDgjK7y7TUQ@public.gmane.org" , Simon Horman , Barry Song , ".infradead.org"@ozlabs.org, Amit Kucheria List-Id: devicetree@vger.kernel.org On Wed, 17 Apr 2013 09:14:46 -0600, Stephen Warren wrote: > On 04/17/2013 03:14 AM, Mark Rutland wrote: > > Hi Stephen, > > > >>> + - enable-method > >>> + Usage: required on ARM 64-bit systems, optional on ARM 32-bit > >>> + systems > >>> + Value type: > >>> + Definition: On ARM 64-bit systems must be "spin-table" [1]. > >> > >> Can that be an integer instead? with dtc+cpp support, that shouldn't > >> hurt the eyes too much any more. > > > > The "enable-method" property is described as a stringlist by ePAPR, and is > > currently in use on arm64 as such. It *must* remain a string(list) for arm64. > > > > Having it as an integer for arm is only going to cause us additional work, > > makes it impossible to share a common dt between 64bit and 32bit, and goes > > against the standard. I think it should be a stringlist for arm. > > OK, that's a great reason for this case. > > I hope we don't introduce any more standards that use strings, but that > may just be my personal preference... We've got lots of bindings using strings like this. I don't really see any problem with it. g.