From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Herrenschmidt Subject: Re: case sensitivity for devicetree node names Date: Sun, 12 Jun 2016 08:05:43 +1000 Message-ID: <1465682743.19533.18.camel@kernel.crashing.org> References: <575B1D84.2010703@gmail.com> <575C68A1.1020701@gmail.com> Mime-Version: 1.0 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <575C68A1.1020701-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> Sender: devicetree-spec-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="utf-8" To: Frank Rowand Cc: Rob Herring , Grant Likely , David Gibson , "devicetree-spec-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Paul Mackerras , Michael Ellerman , linuxppc-dev-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org On Sat, 2016-06-11 at 12:38 -0700, Frank Rowand wrote: > I chased through the history and found a 2.6.0-test5 announcement > which noted the patch from you which adds: >=20 > =C2=A0 of_find_node_by_path() > =C2=A0 of_find_node_by_name() > =C2=A0 of_find_node_by_type() > =C2=A0 of_find_compatible_node() >=20 > (And the patch is commit 394edd852a14 in the git recreation > of bitkeeper days, which is found at > git://git.kernel.org/pub/scm/linux/kernel/git/tglx/history.git) >=20 > That version of the functions uses a case insensitive compare for > devicetree node names. >=20 > Do you remember why you chose to not use a case sensitive compare? =46rom memory, there were inconsistency in case on various earlier machines (notably old macs). I think that's the main reason. Cheers, Ben.