On Mon, 2 Mar 2015 10:57:41 -0800 , Kevin Cernekee <cernekee@xxxxxxxxx> wrote: > On Mon, Mar 2, 2015 at 9:45 AM, Peter Hurley <peter@xxxxxxxxxxxxxxxxxx> wrote: > >> This doesn't change the behavior of pre-existing drivers that > >> implement the *-endian properties in a different way. There are not > >> many of these drivers and they can be documented as special cases. > > > > Yeah, ok, as long as there's no expectation that existing drivers > > meet this criteria when they add big-endian support. > > The intention is to make it easy for existing drivers with LE register > accesses (i.e. mostly drivers taken from an x86 + PCI environment) to > work on systems with native to BE register accesses. 8250 and USB are > the first two examples of this. I think the right solution here is to drop any specified default in the common properties binding and replace with something like, "If a binding supports these properties, then that binding should also specify the default if none of these properties are present. In such cases, little-endian is the preferred default, but it is not a requirement" g. -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html