[PATCH v3 0/2] dt: platform driver: Fill the resources before probe and defer if needed
Jean-Jacques Hiblot
jjhiblot at traphandler.com
Fri Mar 21 10:46:23 EDT 2014
Hi Grant,
This is the 3rd version of the patch. It's been reworked to screen the devices
not created by of_device_alloc() and check the reason why an OF IRQ description
can't be translated into a resource.
Jean-Jacques
Changes since V2:
* only fill the resources for devices created by of_device_alloc(). Note:
this is done by adding a new flag in struct device {}.
* use deferred probing only if the IRQ domain cannot be found.
Jean-Jacques Hiblot (2):
of: irq: Added of_find_irq_domain() to get the domain of an irq
dt: platform driver: Fill the resources before probe and defer if
needed
drivers/base/platform.c | 5 ++
drivers/of/irq.c | 20 ++++++++
drivers/of/platform.c | 114 ++++++++++++++++++++++++++++++++++----------
include/linux/device.h | 1 +
include/linux/of_irq.h | 2 +
include/linux/of_platform.h | 10 ++++
6 files changed, 127 insertions(+), 25 deletions(-)
--
1.9.0
More information about the linux-arm-kernel
mailing list