* Russell King - ARM Linux [off-list ref] [120902 01:54]:
On Fri, Aug 31, 2012 at 07:48:42PM -0500, Rob Herring wrote:
quoted
On 08/30/2012 02:28 PM, Russell King - ARM Linux wrote:
quoted
It's not only about virtual addresses, it's about physical addresses too,
and we can't dictate that all hardware exposes a UART at any particular
physical address.
We have 3 things to track for each platform: the type of uart, the
uart's phys address, and the virtual address we map it to.
Right, thanks for explaining it more properly the second time around.
However, you actually have four things to track:
1. The physical address
2. The virtual address
3. The inter-register offset
4. The type of the UART
And these can be machine specific, not platform specific. Some omaps
have an external uart only where the address and register shift are
different from the internal ports.
Regards,
Tony