* [PATCH/RFC 00/12] Split PFC and GPIO for R8A7779
@ 2013-03-10 18:58 Laurent Pinchart
2013-03-27 10:47 ` Simon Horman
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Laurent Pinchart @ 2013-03-10 18:58 UTC (permalink / raw)
To: linux-sh
Hello,
This patch set replaces the GPIO handling code in the PFC driver with the
Renesas R-Car (R8A7779) GPIO driver submitted by Magnus Damm.
Patch 01/12 adds the R-Car GPIO driver. I've picked the patch from the
linux-sh mailing as-is. Review for this patch should be directed to the
mailing list in the "[PATCH] gpio: Renesas R-Car GPIO driver" thread. Patch
02/12 further extends the GPIO driver to add pinctrl support.
Patch 03/12 adds a GPIO LEDs device to the Marzen board. This isn't strictly
required by this patch series but is useful for test purposes.
Patches 04/12 to 07/12 make GPIOs support optional in the PFC driver and fix
the pin configuration code to support an external GPIO driver.
Patches 08/12 to 10/12 remove function GPIOs from the R-Car platform and
remove the now unused GPIO enumeration.
Finally patches 11/12 and 12/12 register GPIO devices for the R-Car platform
and remove GPIO data from the R-Car SoC data.
The PFC GPIO code isn't removed as all platforms will need to be converted
first. This is a first step towards that goal.
Laurent Pinchart (11):
gpio-rcar: Add pinctrl support
ARM: shmobile: marzen: Add GPIO LEDs
sh-pfc: Make function GPIOs support optional
sh-pfc: Make GPIO support optional
sh-pfc: Skip gpiochip registration when no GPIO resource is found
sh-pfc: Configure pins as GPIOs at request time when handled
externally
sh-pfc: r8a7779: Remove function GPIOs
sh-pfc: r8a7779: Don't use GPIO enum entries
ARM: shmobile: r8a7779: Remove all GPIOs
ARM: shmobile: r8a7779: Register GPIO devices
sh-pfc: r8a7779: Remove GPIO data
Magnus Damm (1):
gpio: Renesas R-Car GPIO driver
arch/arm/mach-shmobile/board-marzen.c | 32 ++
arch/arm/mach-shmobile/include/mach/r8a7779.h | 317 -------------------
arch/arm/mach-shmobile/setup-r8a7779.c | 58 +++-
drivers/gpio/Kconfig | 6 +
drivers/gpio/Makefile | 1 +
drivers/gpio/gpio-rcar.c | 429 ++++++++++++++++++++++++++
drivers/pinctrl/sh-pfc/core.c | 37 +--
drivers/pinctrl/sh-pfc/gpio.c | 45 +--
drivers/pinctrl/sh-pfc/pfc-r8a7779.c | 419 ++++---------------------
drivers/pinctrl/sh-pfc/pinctrl.c | 11 +
include/linux/platform_data/gpio-rcar.h | 30 ++
11 files changed, 672 insertions(+), 713 deletions(-)
create mode 100644 drivers/gpio/gpio-rcar.c
create mode 100644 include/linux/platform_data/gpio-rcar.h
--
Regards,
Laurent Pinchart
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH/RFC 00/12] Split PFC and GPIO for R8A7779
2013-03-10 18:58 [PATCH/RFC 00/12] Split PFC and GPIO for R8A7779 Laurent Pinchart
@ 2013-03-27 10:47 ` Simon Horman
2013-03-27 18:17 ` Laurent Pinchart
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Simon Horman @ 2013-03-27 10:47 UTC (permalink / raw)
To: linux-sh
On Sun, Mar 10, 2013 at 07:58:36PM +0100, Laurent Pinchart wrote:
> Hello,
>
> This patch set replaces the GPIO handling code in the PFC driver with the
> Renesas R-Car (R8A7779) GPIO driver submitted by Magnus Damm.
>
> Patch 01/12 adds the R-Car GPIO driver. I've picked the patch from the
> linux-sh mailing as-is. Review for this patch should be directed to the
> mailing list in the "[PATCH] gpio: Renesas R-Car GPIO driver" thread. Patch
> 02/12 further extends the GPIO driver to add pinctrl support.
>
> Patch 03/12 adds a GPIO LEDs device to the Marzen board. This isn't strictly
> required by this patch series but is useful for test purposes.
>
> Patches 04/12 to 07/12 make GPIOs support optional in the PFC driver and fix
> the pin configuration code to support an external GPIO driver.
>
> Patches 08/12 to 10/12 remove function GPIOs from the R-Car platform and
> remove the now unused GPIO enumeration.
>
> Finally patches 11/12 and 12/12 register GPIO devices for the R-Car platform
> and remove GPIO data from the R-Car SoC data.
>
> The PFC GPIO code isn't removed as all platforms will need to be converted
> first. This is a first step towards that goal.
>
> Laurent Pinchart (11):
> gpio-rcar: Add pinctrl support
> ARM: shmobile: marzen: Add GPIO LEDs
> sh-pfc: Make function GPIOs support optional
> sh-pfc: Make GPIO support optional
> sh-pfc: Skip gpiochip registration when no GPIO resource is found
> sh-pfc: Configure pins as GPIOs at request time when handled
> externally
> sh-pfc: r8a7779: Remove function GPIOs
> sh-pfc: r8a7779: Don't use GPIO enum entries
> ARM: shmobile: r8a7779: Remove all GPIOs
> ARM: shmobile: r8a7779: Register GPIO devices
> sh-pfc: r8a7779: Remove GPIO data
>
> Magnus Damm (1):
> gpio: Renesas R-Car GPIO driver
>
> arch/arm/mach-shmobile/board-marzen.c | 32 ++
> arch/arm/mach-shmobile/include/mach/r8a7779.h | 317 -------------------
> arch/arm/mach-shmobile/setup-r8a7779.c | 58 +++-
> drivers/gpio/Kconfig | 6 +
> drivers/gpio/Makefile | 1 +
> drivers/gpio/gpio-rcar.c | 429 ++++++++++++++++++++++++++
> drivers/pinctrl/sh-pfc/core.c | 37 +--
> drivers/pinctrl/sh-pfc/gpio.c | 45 +--
> drivers/pinctrl/sh-pfc/pfc-r8a7779.c | 419 ++++---------------------
> drivers/pinctrl/sh-pfc/pinctrl.c | 11 +
> include/linux/platform_data/gpio-rcar.h | 30 ++
> 11 files changed, 672 insertions(+), 713 deletions(-)
> create mode 100644 drivers/gpio/gpio-rcar.c
> create mode 100644 include/linux/platform_data/gpio-rcar.h
Thanks Laurent,
I have cherry picked a revised version of this series from
your git tree into the pinmux branch of the renesas tree.
For reference The details of the tree are:
git://linuxtv.org/pinchartl/fbdev.git pinmux/3.9/gpio
Head commit: b00b260969c3c1fd357233c9c1c6bf6a6980d921
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH/RFC 00/12] Split PFC and GPIO for R8A7779
2013-03-10 18:58 [PATCH/RFC 00/12] Split PFC and GPIO for R8A7779 Laurent Pinchart
2013-03-27 10:47 ` Simon Horman
@ 2013-03-27 18:17 ` Laurent Pinchart
2013-03-28 0:24 ` Simon Horman
2013-03-28 6:03 ` Magnus Damm
3 siblings, 0 replies; 5+ messages in thread
From: Laurent Pinchart @ 2013-03-27 18:17 UTC (permalink / raw)
To: linux-sh
Hi Simon,
On Wednesday 27 March 2013 19:47:34 Simon Horman wrote:
> On Sun, Mar 10, 2013 at 07:58:36PM +0100, Laurent Pinchart wrote:
> > Hello,
> >
> > This patch set replaces the GPIO handling code in the PFC driver with the
> > Renesas R-Car (R8A7779) GPIO driver submitted by Magnus Damm.
> >
> > Patch 01/12 adds the R-Car GPIO driver. I've picked the patch from the
> > linux-sh mailing as-is. Review for this patch should be directed to the
> > mailing list in the "[PATCH] gpio: Renesas R-Car GPIO driver" thread.
> > Patch
> > 02/12 further extends the GPIO driver to add pinctrl support.
> >
> > Patch 03/12 adds a GPIO LEDs device to the Marzen board. This isn't
> > strictly required by this patch series but is useful for test purposes.
> >
> > Patches 04/12 to 07/12 make GPIOs support optional in the PFC driver and
> > fix the pin configuration code to support an external GPIO driver.
> >
> > Patches 08/12 to 10/12 remove function GPIOs from the R-Car platform and
> > remove the now unused GPIO enumeration.
> >
> > Finally patches 11/12 and 12/12 register GPIO devices for the R-Car
> > platform and remove GPIO data from the R-Car SoC data.
> >
> > The PFC GPIO code isn't removed as all platforms will need to be converted
> > first. This is a first step towards that goal.
> >
> > Laurent Pinchart (11):
> > gpio-rcar: Add pinctrl support
> > ARM: shmobile: marzen: Add GPIO LEDs
> > sh-pfc: Make function GPIOs support optional
> > sh-pfc: Make GPIO support optional
> > sh-pfc: Skip gpiochip registration when no GPIO resource is found
> > sh-pfc: Configure pins as GPIOs at request time when handled
> >
> > externally
> >
> > sh-pfc: r8a7779: Remove function GPIOs
> > sh-pfc: r8a7779: Don't use GPIO enum entries
> > ARM: shmobile: r8a7779: Remove all GPIOs
> > ARM: shmobile: r8a7779: Register GPIO devices
> > sh-pfc: r8a7779: Remove GPIO data
> >
> > Magnus Damm (1):
> > gpio: Renesas R-Car GPIO driver
> >
> > arch/arm/mach-shmobile/board-marzen.c | 32 ++
> > arch/arm/mach-shmobile/include/mach/r8a7779.h | 317 -------------------
> > arch/arm/mach-shmobile/setup-r8a7779.c | 58 +++-
> > drivers/gpio/Kconfig | 6 +
> > drivers/gpio/Makefile | 1 +
> > drivers/gpio/gpio-rcar.c | 429 +++++++++++++++++++++
> > drivers/pinctrl/sh-pfc/core.c | 37 +--
> > drivers/pinctrl/sh-pfc/gpio.c | 45 +--
> > drivers/pinctrl/sh-pfc/pfc-r8a7779.c | 419 ++++----------------
> > drivers/pinctrl/sh-pfc/pinctrl.c | 11 +
> > include/linux/platform_data/gpio-rcar.h | 30 ++
> > 11 files changed, 672 insertions(+), 713 deletions(-)
> > create mode 100644 drivers/gpio/gpio-rcar.c
> > create mode 100644 include/linux/platform_data/gpio-rcar.h
>
> Thanks Laurent,
>
> I have cherry picked a revised version of this series from
> your git tree into the pinmux branch of the renesas tree.
>
> For reference The details of the tree are:
>
> git://linuxtv.org/pinchartl/fbdev.git pinmux/3.9/gpio
> Head commit: b00b260969c3c1fd357233c9c1c6bf6a6980d921
Thank you. When do you plan to merge that in a branch you will submit to v3.10
?
--
Regards,
Laurent Pinchart
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH/RFC 00/12] Split PFC and GPIO for R8A7779
2013-03-10 18:58 [PATCH/RFC 00/12] Split PFC and GPIO for R8A7779 Laurent Pinchart
2013-03-27 10:47 ` Simon Horman
2013-03-27 18:17 ` Laurent Pinchart
@ 2013-03-28 0:24 ` Simon Horman
2013-03-28 6:03 ` Magnus Damm
3 siblings, 0 replies; 5+ messages in thread
From: Simon Horman @ 2013-03-28 0:24 UTC (permalink / raw)
To: linux-sh
On Wed, Mar 27, 2013 at 07:17:23PM +0100, Laurent Pinchart wrote:
> Hi Simon,
>
> On Wednesday 27 March 2013 19:47:34 Simon Horman wrote:
> > On Sun, Mar 10, 2013 at 07:58:36PM +0100, Laurent Pinchart wrote:
> > > Hello,
> > >
> > > This patch set replaces the GPIO handling code in the PFC driver with the
> > > Renesas R-Car (R8A7779) GPIO driver submitted by Magnus Damm.
> > >
> > > Patch 01/12 adds the R-Car GPIO driver. I've picked the patch from the
> > > linux-sh mailing as-is. Review for this patch should be directed to the
> > > mailing list in the "[PATCH] gpio: Renesas R-Car GPIO driver" thread.
> > > Patch
> > > 02/12 further extends the GPIO driver to add pinctrl support.
> > >
> > > Patch 03/12 adds a GPIO LEDs device to the Marzen board. This isn't
> > > strictly required by this patch series but is useful for test purposes.
> > >
> > > Patches 04/12 to 07/12 make GPIOs support optional in the PFC driver and
> > > fix the pin configuration code to support an external GPIO driver.
> > >
> > > Patches 08/12 to 10/12 remove function GPIOs from the R-Car platform and
> > > remove the now unused GPIO enumeration.
> > >
> > > Finally patches 11/12 and 12/12 register GPIO devices for the R-Car
> > > platform and remove GPIO data from the R-Car SoC data.
> > >
> > > The PFC GPIO code isn't removed as all platforms will need to be converted
> > > first. This is a first step towards that goal.
> > >
> > > Laurent Pinchart (11):
> > > gpio-rcar: Add pinctrl support
> > > ARM: shmobile: marzen: Add GPIO LEDs
> > > sh-pfc: Make function GPIOs support optional
> > > sh-pfc: Make GPIO support optional
> > > sh-pfc: Skip gpiochip registration when no GPIO resource is found
> > > sh-pfc: Configure pins as GPIOs at request time when handled
> > >
> > > externally
> > >
> > > sh-pfc: r8a7779: Remove function GPIOs
> > > sh-pfc: r8a7779: Don't use GPIO enum entries
> > > ARM: shmobile: r8a7779: Remove all GPIOs
> > > ARM: shmobile: r8a7779: Register GPIO devices
> > > sh-pfc: r8a7779: Remove GPIO data
> > >
> > > Magnus Damm (1):
> > > gpio: Renesas R-Car GPIO driver
> > >
> > > arch/arm/mach-shmobile/board-marzen.c | 32 ++
> > > arch/arm/mach-shmobile/include/mach/r8a7779.h | 317 -------------------
> > > arch/arm/mach-shmobile/setup-r8a7779.c | 58 +++-
> > > drivers/gpio/Kconfig | 6 +
> > > drivers/gpio/Makefile | 1 +
> > > drivers/gpio/gpio-rcar.c | 429 +++++++++++++++++++++
> > > drivers/pinctrl/sh-pfc/core.c | 37 +--
> > > drivers/pinctrl/sh-pfc/gpio.c | 45 +--
> > > drivers/pinctrl/sh-pfc/pfc-r8a7779.c | 419 ++++----------------
> > > drivers/pinctrl/sh-pfc/pinctrl.c | 11 +
> > > include/linux/platform_data/gpio-rcar.h | 30 ++
> > > 11 files changed, 672 insertions(+), 713 deletions(-)
> > > create mode 100644 drivers/gpio/gpio-rcar.c
> > > create mode 100644 include/linux/platform_data/gpio-rcar.h
> >
> > Thanks Laurent,
> >
> > I have cherry picked a revised version of this series from
> > your git tree into the pinmux branch of the renesas tree.
> >
> > For reference The details of the tree are:
> >
> > git://linuxtv.org/pinchartl/fbdev.git pinmux/3.9/gpio
> > Head commit: b00b260969c3c1fd357233c9c1c6bf6a6980d921
>
> Thank you. When do you plan to merge that in a branch you will submit to v3.10
> ?
I have pushed it to the pinmux branch which I intend to submit to v3.10.
Please let me know if I have missed anything.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH/RFC 00/12] Split PFC and GPIO for R8A7779
2013-03-10 18:58 [PATCH/RFC 00/12] Split PFC and GPIO for R8A7779 Laurent Pinchart
` (2 preceding siblings ...)
2013-03-28 0:24 ` Simon Horman
@ 2013-03-28 6:03 ` Magnus Damm
3 siblings, 0 replies; 5+ messages in thread
From: Magnus Damm @ 2013-03-28 6:03 UTC (permalink / raw)
To: linux-sh
On Mon, Mar 11, 2013 at 3:58 AM, Laurent Pinchart
<laurent.pinchart+renesas@ideasonboard.com> wrote:
> Hello,
>
> This patch set replaces the GPIO handling code in the PFC driver with the
> Renesas R-Car (R8A7779) GPIO driver submitted by Magnus Damm.
>
> Patch 01/12 adds the R-Car GPIO driver. I've picked the patch from the
> linux-sh mailing as-is. Review for this patch should be directed to the
> mailing list in the "[PATCH] gpio: Renesas R-Car GPIO driver" thread. Patch
> 02/12 further extends the GPIO driver to add pinctrl support.
>
> Patch 03/12 adds a GPIO LEDs device to the Marzen board. This isn't strictly
> required by this patch series but is useful for test purposes.
>
> Patches 04/12 to 07/12 make GPIOs support optional in the PFC driver and fix
> the pin configuration code to support an external GPIO driver.
>
> Patches 08/12 to 10/12 remove function GPIOs from the R-Car platform and
> remove the now unused GPIO enumeration.
>
> Finally patches 11/12 and 12/12 register GPIO devices for the R-Car platform
> and remove GPIO data from the R-Car SoC data.
>
> The PFC GPIO code isn't removed as all platforms will need to be converted
> first. This is a first step towards that goal.
>
> Laurent Pinchart (11):
> gpio-rcar: Add pinctrl support
> ARM: shmobile: marzen: Add GPIO LEDs
> sh-pfc: Make function GPIOs support optional
> sh-pfc: Make GPIO support optional
> sh-pfc: Skip gpiochip registration when no GPIO resource is found
> sh-pfc: Configure pins as GPIOs at request time when handled
> externally
> sh-pfc: r8a7779: Remove function GPIOs
> sh-pfc: r8a7779: Don't use GPIO enum entries
> ARM: shmobile: r8a7779: Remove all GPIOs
> ARM: shmobile: r8a7779: Register GPIO devices
> sh-pfc: r8a7779: Remove GPIO data
Thanks, looking good. They work well too!
If it still matters, for the above patches:
Acked-by: Magnus Damm <damm@opensource.se>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2013-03-28 6:03 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-10 18:58 [PATCH/RFC 00/12] Split PFC and GPIO for R8A7779 Laurent Pinchart
2013-03-27 10:47 ` Simon Horman
2013-03-27 18:17 ` Laurent Pinchart
2013-03-28 0:24 ` Simon Horman
2013-03-28 6:03 ` Magnus Damm
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.