diff options
author | Grant Likely <[email protected]> | 2011-06-21 10:59:34 -0600 |
---|---|---|
committer | Grant Likely <[email protected]> | 2011-06-21 11:02:37 -0600 |
commit | 5de1540b7bc4c23470f86add1e517be41e7fefe2 (patch) | |
tree | a1c18d1ec0b7009966f114565424e9bbb31da1c1 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 29d4f8a4974aacf46b028fa92f9dd3ffdba3e614 (diff) |
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 <[email protected]>
Acked-by: Linus Walleij <[email protected]>
Signed-off-by: Rob Herring <[email protected]>
Reviewed-by: Arnd Bergmann <[email protected]>
[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 <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions