Re: [PATCH v2 3/7] ARM: davinci: da8xx: creation of gpio platformdevice

From: Sekhar Nori
Date: Wed Jun 19 2013 - 07:52:34 EST


On 6/14/2013 3:05 PM, Philip Avinash wrote:
> From: KV Sujith <sujithkv@xxxxxx>
>
> gpio controller resource information being associated with
> davinci_soc_info structure and not created any device. Hence davinci
> gpio didn't fall under proper device model. This patch creates gpio
> davinci as a platform device for da8xx platforms.

I didn't really find the description coherent. I simplified it to:

ARM: davinci: da8xx: support gpio platform device

DaVinci GPIO driver now uses platform device model.
Convert DA8XX SoC code to use the new model.

- Add Memory and IRQ resources for da8xx
- Add da8xx_register_gpio API to create platform device for da8xx
platforms.

Signed-off-by: KV Sujith <sujithkv@xxxxxx>
Signed-off-by: Philip Avinash <avinashphilip@xxxxxx>
Acked-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
[nsekhar@xxxxxx: simplify commit message]
Signed-off-by: Sekhar Nori <nsekhar@xxxxxx>

Before applying the patch.

Thanks,
Sekhar
--
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/