From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 41xnR930b2zDqj4 for ; Sat, 25 Aug 2018 02:53:24 +1000 (AEST) Date: Fri, 24 Aug 2018 11:52:42 -0500 From: Segher Boessenkool To: Rob Herring Cc: Benjamin Herrenschmidt , Stephen Rothwell , Kumar Gala , devicetree@vger.kernel.org, devicetree-spec@vger.kernel.org, linuxppc-dev , Grant Likely , Frank Rowand , David Gibson Subject: Re: DT case sensitivity Message-ID: <20180824165242.GW24439@gate.crashing.org> References: <3335cff2cc999c1dda58d75949ab3d12185fca79.camel@kernel.crashing.org> <18175413a0148f7859ab36ed9715dce7a598f318.camel@kernel.crashing.org> <20180823123650.GT24439@gate.crashing.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Fri, Aug 24, 2018 at 10:14:01AM -0500, Rob Herring wrote: > Another question: Is there ever a case where the node name in the path > aka 'driver-name' doesn't match the 'name' property? I think this > generally can't happen on FDT as the 'name' property is generated when > we unflatten it though I suppose one could craft an FDT with name > properties. In Open Firmware, it *is* the "name" property :-) > There's also various places in the kernel that check for a NULL name > which doesn't seem like it could happen either other than the root > node. In Open Firmware the root node is required to have a "name" property, too. There are systems that violate that rule (as with most rules...) Segher