From: Benoit Cousson Date: Wed, 10 Aug 2011 11:32:08 +0000 (+0200) Subject: ARM: OMAP: omap_device: Add a method to build an omap_device from a DT node X-Git-Tag: v3.2-rc1~90^2~7^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc2d07ebaea839a6e0fa47588c7984931f3c9c71;p=pandora-kernel.git ARM: OMAP: omap_device: Add a method to build an omap_device from a DT node Add a notifier called during device_add phase. If an of_node is present, retrieve the hwmod entry in order to populate properly the omap_device structure. For the moment the resource from the device-tree are overloaded. DT does not support named resource yet, and thus, most driver will not work without that information. Add a documentation to capture the specifics OMAP bindings needed for device-tree support. Signed-off-by: Benoit Cousson Cc: Grant Likely Signed-off-by: Kevin Hilman --- Reading git-diff-tree failed