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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > 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



[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux