From mboxrd@z Thu Jan 1 00:00:00 1970 From: Segher Boessenkool Subject: Re: [PATCH 2/2] drivers/amba: probe via device tree Date: Sat, 21 May 2011 17:18:54 +0200 Message-ID: References: <1305829704-11774-1-git-send-email-robherring2@gmail.com> <20110519233958.GB18181@ponder.secretlab.ca> <4DD66B8A.5040404@gmail.com> <201105201621.03801.arnd@arndb.de> <4DD68614.6090209@gmail.com> <80f20ac921a33e9f0bf3e249f539a8ef@kernel.crashing.org> <4DD7D24D.2070604@gmail.com> Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4DD7D24D.2070604-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Sender: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org To: Rob Herring Cc: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org, Jeremy Kerr , linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org List-Id: devicetree@vger.kernel.org > 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? Segher