25 May 17:47
[PATCH 0/6] Bridging PCI to amba
Alessandro Rubini <rubini <at> gnudd.com>
2012-05-25 15:47:48 GMT
2012-05-25 15:47:48 GMT
This patch set introduces use of the pl011 AMBA serial port under a
PCI bridge. To compile AMBA under x86, though I need <asm/sizes.h>,
which is moved to <linux/sizes.h> as suggested earlier.
I'm hereby volunteering to handle the moving of the various users
of <asm/sizes.h> to <linux/sizes.h>; this set only moves the ARM core
files and the ones that I need under x86.
The whole patch set is sent to the same set of recipients:
all relevant lists, Russell King (for arm), Greg-KH (for uart) and
Arnd Bergmann (for generic include).
With this set in place (plus a clok API not included here) I have
4 serial ports working. We have a number of other devices that can
use existing drivers, but we definitely need <linux/sizes.h> first.
spusa.root# uname -r
3.4.0-next-20120524-00014-gae0c129
spusa.root# dmesg | grep ttyA
pl011-pci-03:0005: ttyAMA0 at MMIO 0xcf400000 (irq = 46) is a PL011 rev3
pl011-pci-03:0006: ttyAMA1 at MMIO 0xcec00000 (irq = 47) is a PL011 rev3
pl011-pci-03:0007: ttyAMA2 at MMIO 0xce400000 (irq = 48) is a PL011 rev3
pl011-pci-04:0005: ttyAMA3 at MMIO 0xd3400000 (irq = 49) is a PL011 rev3
spusa.root# grep -C1 pl011 /proc/iomem
ce400000-ce7fffff : 0000:03:00.7
ce400000-ce400fff : pl011-pci-03:0007
ce400000-ce400fff : uart-pl011
ce800000-cebfffff : 0000:03:00.6
(Continue reading)
RSS Feed