[PATCH v3 0/2] dt: platform driver: Fill the resources before probe and defer if needed
From: Jean-Jacques Hiblot
Date: Fri Mar 21 2014 - 10:50:08 EST
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/