On 11/06/2012 03:37 PM, Qing Xu wrote:
From: Qing Xu <qi...@marvell.com>
Add irqdomains for max8925's main irq, and touch irq.
Wrap irq register operations into irqdomain's map func.
it is necessary for dt support.
Also, add dt support for max8925 driver.
Signed-off-by: Qing Xu <qi...@marvell.com>
---
drivers/mfd/max8925-core.c | 87 ++++++++++++++++++++++++++++---------------
drivers/mfd/max8925-i2c.c | 32 +++++++++++++++-
include/linux/mfd/max8925.h | 12 ++++-
3 files changed, 96 insertions(+), 35 deletions(-)
diff --git a/drivers/mfd/max8925-core.c b/drivers/mfd/max8925-core.c
index 1e0ab0a..dcc218a 100644
--- a/drivers/mfd/max8925-core.c
+++ b/drivers/mfd/max8925-core.c
@@ -14,10 +14,14 @@
#include <linux/i2c.h>
#include <linux/irq.h>
#include <linux/interrupt.h>
+#include <linux/irqdomain.h>
#include <linux/platform_device.h>
#include <linux/regulator/machine.h>
#include <linux/mfd/core.h>
#include <linux/mfd/max8925.h>
+#include <linux/of.h>
+#include <linux/of_platform.h>
+#include <linux/of_irq.h>
Hi Haojian, Sameo,
Could you help to review my patches? Can it be merged?
Thanks a lot!
-Qing
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/