Thread (1 message) 1 message, 1 author, 2015-03-20

Re: [PATCH V3 3/7] of: Document {little,big,native}-endian bindings

From: Grant Likely <hidden>
Date: 2015-03-20 23:48:36
Also in: linux-devicetree, linux-serial

Possibly related (same subject, not in this thread)

On Mon, 2 Mar 2015 10:57:41 -0800
, Kevin Cernekee [off-list ref]
 wrote:
On Mon, Mar 2, 2015 at 9:45 AM, Peter Hurley [off-list ref] wrote:
quoted
quoted
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help