From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mitch Bradley Subject: Re: Device tree node names Date: Fri, 17 Aug 2012 03:10:48 -1000 Message-ID: <502E42D8.7020205@firmworks.com> References: <502D4B28.4020108@wwwdotorg.org> <502D67DF.7010605@firmworks.com> <20120817113610.GB32216@opensource.wolfsonmicro.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20120817113610.GB32216-yzvPICuk2AATkU/dhu1WVueM+bqZidxxQQ4Iyu8u01E@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: Mark Brown Cc: devicetree-discuss , Rob Herring , Alexandre Courbot List-Id: devicetree@vger.kernel.org On 8/17/2012 1:36 AM, Mark Brown wrote: > On Thu, Aug 16, 2012 at 11:36:31AM -1000, Mitch Bradley wrote: > >> The main "rule" for node names is that a user browsing the device tree >> can easily determine what something is. Thus "ethernet" instead of >> "DEC,21140". > > Does this actually buy us much? It seems like it's something that's > much better addressed through comments in the device tree than with > syntax. > By "comments in the device tree", I assume that you mean "comments in the DTS source file". In real Open Firmware, there is no DTS source file - device nodes are created dynamically by the boot firmware. Pathnames are visible to, and typed by, users of that firmware.