[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1395413185-29763-1-git-send-email-jjhiblot@traphandler.com>
Date: Fri, 21 Mar 2014 15:46:23 +0100
From: Jean-Jacques Hiblot <jjhiblot@...phandler.com>
To: grant.likely@...retlab.ca
Cc: devicetree@...r.kernel.org, gregkh@...uxfoundation.org,
linux-kernel@...r.kernel.org, robh+dt@...nel.org,
gregory.clement@...e-electrons.com,
linux-arm-kernel@...ts.infradead.org,
Jean-Jacques Hiblot <jjhiblot@...phandler.com>
Subject: [PATCH v3 0/2] dt: platform driver: Fill the resources before probe and defer if needed
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists