devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* DT case sensitivity
@ 2018-08-23  0:47 Rob Herring
  2018-08-23  1:03 ` Benjamin Herrenschmidt
  2018-08-24  5:39 ` Michael Ellerman
  0 siblings, 2 replies; 16+ messages in thread
From: Rob Herring @ 2018-08-23  0:47 UTC (permalink / raw)
  To: Stephen Rothwell, Grant Likely, Michael Ellerman,
	Benjamin Herrenschmidt, Kumar Gala, David Gibson, Frank Rowand,
	devicetree-spec, devicetree, linuxppc-dev

The default DT string handling in the kernel is node names and
compatibles are case insensitive and property names are case sensitive
(Sparc is the the only variation and is opposite). It seems only PPC
(and perhaps only Power Macs?) needs to support case insensitive
comparisons. It was probably a mistake to follow PPC for new arches
and we should have made everything case sensitive from the start. So I
have a few questions for the DT historians. :)

What PPC systems are case insensitive? Can we limit that to certain systems?

AFAICT, dtc at least (if not anything FDT based) has always been case
sensitive at least for node and property names. I'm not sure about
compatible strings?

Anyone see potential issues with switching all platforms except PPC
and Sparc to case sensitive comparisons?

Rob

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2018-08-24 16:52 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-23  0:47 DT case sensitivity Rob Herring
2018-08-23  1:03 ` Benjamin Herrenschmidt
2018-08-23  1:26   ` Rob Herring
2018-08-23  1:29     ` Benjamin Herrenschmidt
2018-08-23  9:02       ` Grant Likely
2018-08-23 11:43         ` Rob Herring
2018-08-23 11:47           ` Benjamin Herrenschmidt
2018-08-23 11:56             ` Grant Likely
2018-08-23 12:08             ` Rob Herring
2018-08-23 12:48               ` Grant Likely
2018-08-23 12:36       ` Segher Boessenkool
2018-08-24 15:14         ` Rob Herring
2018-08-24 16:52           ` Segher Boessenkool
2018-08-23 12:19   ` Segher Boessenkool
2018-08-23 21:49     ` Benjamin Herrenschmidt
2018-08-24  5:39 ` Michael Ellerman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).