[PATCH 2/2] drivers/amba: probe via device tree

Grant Likely grant.likely at secretlab.ca
Sun May 22 03:43:38 EST 2011


On Sat, May 21, 2011 at 9:18 AM, Segher Boessenkool
<segher at kernel.crashing.org> wrote:
>> Identifying actual AMBA devices is already done. The question is how to
>> scan the tree for them and how that relates to regular platform devices. The
>> AMBA devices have a binding like this:
>>
>> compatible = "arm,pl011", "arm,amba-device";
>> arm,amba-deviceid = <0x00341011>;
>
> Excellent -- so you just find all devices with compatible "arm,amba-device".
> How that relates to legacy platform devices, I have no idea.  But you got
> a workable device binding :-)  Does this sit on a proper (AMBA-type) bus as
> well?

Actually, this is little more than a proposed binding.  I'm not
willing to lock it down quite yet until we've experimented a bit more
with it... but that does need to happen soon.

g.


More information about the devicetree-discuss mailing list