From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sylwester Nawrocki Subject: Re: [PATCH] ARM: dts: add interrupt-names property to get interrupt resource by name Date: Wed, 13 Mar 2013 23:42:33 +0100 Message-ID: <514100D9.1000603@gmail.com> References: <1363173980-11428-1-git-send-email-vikas.sajjan@linaro.org> <51408FB9.90808@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mail-ea0-f175.google.com ([209.85.215.175]:53438 "EHLO mail-ea0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755576Ab3CMWmh (ORCPT ); Wed, 13 Mar 2013 18:42:37 -0400 Received: by mail-ea0-f175.google.com with SMTP id o10so677786eaj.6 for ; Wed, 13 Mar 2013 15:42:36 -0700 (PDT) In-Reply-To: <51408FB9.90808@gmail.com> Sender: linux-samsung-soc-owner@vger.kernel.org List-Id: linux-samsung-soc@vger.kernel.org To: Rob Herring Cc: Vikas Sajjan , linux-samsung-soc@vger.kernel.org, kgene.kim@samsung.com, l.krishna@samsung.com, devicetree-discuss@lists.ozlabs.org, joshi@samsung.com, inki.dae@samsung.com, linaro-kernel@lists.linaro.org Rob, On 03/13/2013 03:39 PM, Rob Herring wrote: > I fail to see what the hack is. The order of interrupt properties must > be defined by the binding. interrupt-names is auxiliary data and must > not be required by an OS. It is clear that the order of the interrupts must be defined by the bindings. But how useful -names properties are when we cannot define them as required ? If an OS cannot rely on them then it must use some other, reliable, method to identify the resources, e.g. by hard coding the indexes. If we have to do it then why even bother with the -names properties ? I can see interrupt-names property specified as required in at least 2 bindings' documentation and all bindings having reg-names property define it as required. Are they wrong them ? Sorry to bother about perhaps obvious things, but I'm really confused now. -- Thanks, Sylwester