[PATCH 1/7] mfd: max8925: add irqdomain for dt

Qing Xu qingx at marvell.com
Fri Nov 23 18:13:08 EST 2012


On 11/06/2012 03:37 PM, Qing Xu wrote:
> From: Qing Xu <qingx at 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 <qingx at 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



More information about the devicetree-discuss mailing list