Re: [RFC PATCH 04/19] powerpc: wii: device tree
From: Segher Boessenkool <hidden>
Date: 2009-11-26 23:10:07
From: Segher Boessenkool <hidden>
Date: 2009-11-26 23:10:07
quoted
They are a bit special because registers are in reverse little endian format, must be written in 32-bit chunks, and (all things point to) they have hardware bugs.Well.. first what is "reverse little endian" ? :-) Big endian ?
Nah. Little-endian, with a 32-bit bus swizzle. This is not the same thing as big-endian when not all your registers are 32 bits. Also, you can only write 32 bits, they don't use byte enables.
As for HW bugs, well, as long as we know them we can define a quirk bit and add the necessary workarounds to the driver :-)
The question is if the device is close enough to OHCI to declare it as that in the device tree. I would say "yes". Segher