linux/drivers/of
Grant Likely 5de1540b7b drivers/amba: create devices from device tree
Add a function to create amba_devices (i.e. primecell peripherals)
from device tree nodes. The device tree scanning is done by the
of_platform_populate() function which can call of_amba_device_create
based on a match table entry.

Nodes with a "arm,primecell-periphid" property can override the h/w
peripheral id value.

Based on the original work by Jeremy Kerr.

Signed-off-by: Jeremy Kerr <jeremy.kerr@canonical.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
[grant.likely: add Jeremy's original s-o-b line, changes from review
               comments, and moved all code to drivers/of/platform.c]
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
2011-06-21 11:02:37 -06:00
..
Kconfig x86: dtb: Add support for PCI devices backed by dtb nodes 2011-02-23 22:27:53 +01:00
Makefile of/pci: move of_irq_map_pci() into generic code 2011-02-04 11:46:50 -07:00
address.c of/address: use proper endianess in get_flags 2010-12-23 15:57:48 -07:00
base.c dt: protect against NULL matches passed to of_match_node() 2011-03-23 14:55:55 -06:00
device.c dt/powerpc: move of_bus_type infrastructure to ibmebus 2011-02-28 01:36:38 -07:00
fdt.c dt/flattree: explicitly pass command line pointer to early_init_dt_scan_chosen 2011-05-11 14:53:18 +02:00
gpio.c of/gpio: fix of_gpio includes 2010-07-05 16:14:44 -06:00
irq.c of: Export of_irq_find_parent() 2011-04-20 17:01:19 +10:00
of_i2c.c of/i2c: Fix request module by alias 2010-12-24 01:28:54 -07:00
of_mdio.c Fix common misspellings 2011-03-31 11:26:23 -03:00
of_net.c of/net: Move of_get_mac_address() to a common source file. 2010-11-01 01:08:14 -04:00
of_pci.c x86: dtb: Add support for PCI devices backed by dtb nodes 2011-02-23 22:27:53 +01:00
of_spi.c of/spi: call of_register_spi_devices() from spi core code 2010-07-30 00:03:59 -06:00
pdt.c of/promtree: allow DT device matching by fixing 'name' brokenness (v5) 2011-03-02 13:45:19 -07:00
platform.c drivers/amba: create devices from device tree 2011-06-21 11:02:37 -06:00