Re: [PATCH 3/5] drivers/amba: create devices from device tree

2011-06-23 Thread Grant Likely
On Tue, Jun 21, 2011 at 2:07 PM, Rob Herring wrote: > Grant, > > On 06/21/2011 01:45 PM, Grant Likely wrote: >> 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

Re: [PATCH 3/5] drivers/amba: create devices from device tree

2011-06-21 Thread Rob Herring
Grant, On 06/21/2011 01:45 PM, Grant Likely wrote: > 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. > > Node

[PATCH 3/5] drivers/amba: create devices from device tree

2011-06-21 Thread Grant Likely
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