Re: [PATCH] gpio: em: Add Device Tree support

2013-03-03 Thread Grant Likely
On Thu, 28 Feb 2013 14:11:23 +0900, Simon Horman wrote: > On Wed, Feb 27, 2013 at 07:13:46PM +0900, Magnus Damm wrote: > > Hi Dmitry, > > > > Thanks for your feedback! > > > > On Wed, Feb 27, 2013 at 7:41 AM, Dmitry Torokhov > > wrote: > > > Hi Magnus, > > > > > > On Tue, Feb 26, 2013 at 10:26:

Re: [PATCH] gpio: em: Add Device Tree support

2013-02-27 Thread Simon Horman
On Wed, Feb 27, 2013 at 07:13:46PM +0900, Magnus Damm wrote: > Hi Dmitry, > > Thanks for your feedback! > > On Wed, Feb 27, 2013 at 7:41 AM, Dmitry Torokhov > wrote: > > Hi Magnus, > > > > On Tue, Feb 26, 2013 at 10:26:23PM +0900, Magnus Damm wrote: > >> From: Magnus Damm > >> > >> Update the E

Re: [PATCH] gpio: em: Add Device Tree support

2013-02-27 Thread Magnus Damm
Hi Dmitry, Thanks for your feedback! On Wed, Feb 27, 2013 at 7:41 AM, Dmitry Torokhov wrote: > Hi Magnus, > > On Tue, Feb 26, 2013 at 10:26:23PM +0900, Magnus Damm wrote: >> From: Magnus Damm >> >> Update the Emma Mobile GPIO driver to add DT support. >> > > ... > >> @@ -366,15 +387,33 @@ stati

Re: [PATCH] gpio: em: Add Device Tree support

2013-02-26 Thread Dmitry Torokhov
Hi Magnus, On Tue, Feb 26, 2013 at 10:26:23PM +0900, Magnus Damm wrote: > From: Magnus Damm > > Update the Emma Mobile GPIO driver to add DT support. > ... > @@ -366,15 +387,33 @@ static int em_gio_remove(struct platform > return 0; > } > #ifdef CONFIG_OF here? No need to have extra

[PATCH] gpio: em: Add Device Tree support

2013-02-26 Thread Magnus Damm
From: Magnus Damm Update the Emma Mobile GPIO driver to add DT support. The patch simply adds a two-cell xlate function and updates the probe code to allow configuration via DT using the "ngpios" property plus OF id in the same style as gpio-mvebu.c. The code is also adjusted to use postcore_ini