Thread (48 messages) 48 messages, 11 authors, 2020-09-29

Re: [net-next PATCH v7 1/6] Documentation: ACPI: DSD: Document MDIO PHY

From: Andrew Lunn <andrew@lunn.ch>
Date: 2020-09-29 15:06:33
Also in: linux-acpi

quoted
Does it have a standardized way of
saying a device is big endian, swap words around if appropriate when
doing IO?
I guess this is not applicable to ACPI. Does Linux have a standardized way?
DT does. You add the property 'little-endian' to indicate you should
do IO to the device using little endian.
So, what did you mean under doing I/O? I mean in which context?
NXP can synthesise the MDIO controller either big endian, or little
endian. So on some SoCs we need to tell the driver to talk to the
hardware using big endian accesses. On other SoCs we need to tell the
driver to talk to the hardware using little endian.

Is there a standard way in ACPI to describe this?

   Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help