linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/8] IOP GPIO refactoring take 2
@ 2013-09-20 20:17 Linus Walleij
  2013-09-20 20:58 ` Aaro Koskinen
  2013-09-20 21:09 ` Linus Walleij
  0 siblings, 2 replies; 3+ messages in thread
From: Linus Walleij @ 2013-09-20 20:17 UTC (permalink / raw)
  To: linux-gpio, Lennert Buytenhek, Dan Williams, Mikael Pettersson,
	Aaro Koskinen
  Cc: Alexandre Courbot, linux-arm-kernel, Linus Walleij

This is a resend of the IOP GPIO refactoring, this time
I took some extra care to be sure I moved all the IOP32x boards
to instantiate their platform devices properly, as noted
by Aaro.

Also available as a branch:

git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git iop-cleanup

Testing and ACKing appreciated.

Linus Walleij (8):
  ARM: plat-iop: move the GPIO driver to drivers/gpio
  ARM: iop32x: request and issue reset using gpio
  ARM: iop32x: read N2100 power key using gpiolib
  gpio: decouple the IOP GPIO driver from platform
  ARM: plat-iop: remove custom complex GPIO implementation
  ARM: plat-iop: instantiate GPIO from platform device
  gpio: iop: use readl/writel accessors
  ARM: plat-iop: pass physical base for GPIO

 arch/arm/Kconfig                            |   4 +-
 arch/arm/include/asm/hardware/iop3xx-gpio.h |  75 ----------------
 arch/arm/include/asm/hardware/iop3xx.h      |  12 ---
 arch/arm/mach-iop32x/em7210.c               |   2 +
 arch/arm/mach-iop32x/glantank.c             |   2 +
 arch/arm/mach-iop32x/gpio-iop32x.h          |  10 +++
 arch/arm/mach-iop32x/include/mach/gpio.h    |   6 --
 arch/arm/mach-iop32x/include/mach/iop32x.h  |   1 -
 arch/arm/mach-iop32x/iq31244.c              |   2 +
 arch/arm/mach-iop32x/iq80321.c              |   2 +
 arch/arm/mach-iop32x/n2100.c                |  47 ++++++++--
 arch/arm/mach-iop33x/include/mach/gpio.h    |   6 --
 arch/arm/mach-iop33x/include/mach/iop33x.h  |   1 -
 arch/arm/mach-iop33x/iq80331.c              |   7 ++
 arch/arm/mach-iop33x/iq80332.c              |   7 ++
 arch/arm/plat-iop/Makefile                  |   2 -
 arch/arm/plat-iop/gpio.c                    |  93 --------------------
 drivers/gpio/Kconfig                        |   9 ++
 drivers/gpio/Makefile                       |   1 +
 drivers/gpio/gpio-iop.c                     | 130 ++++++++++++++++++++++++++++
 20 files changed, 213 insertions(+), 206 deletions(-)
 delete mode 100644 arch/arm/include/asm/hardware/iop3xx-gpio.h
 create mode 100644 arch/arm/mach-iop32x/gpio-iop32x.h
 delete mode 100644 arch/arm/mach-iop32x/include/mach/gpio.h
 delete mode 100644 arch/arm/mach-iop33x/include/mach/gpio.h
 delete mode 100644 arch/arm/plat-iop/gpio.c
 create mode 100644 drivers/gpio/gpio-iop.c

-- 
1.8.3.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 0/8] IOP GPIO refactoring take 2
  2013-09-20 20:17 [PATCH 0/8] IOP GPIO refactoring take 2 Linus Walleij
@ 2013-09-20 20:58 ` Aaro Koskinen
  2013-09-20 21:09 ` Linus Walleij
  1 sibling, 0 replies; 3+ messages in thread
From: Aaro Koskinen @ 2013-09-20 20:58 UTC (permalink / raw)
  To: Linus Walleij
  Cc: linux-gpio, Lennert Buytenhek, Dan Williams, Mikael Pettersson,
	Alexandre Courbot, linux-arm-kernel

Hi,

On Fri, Sep 20, 2013 at 10:17:06PM +0200, Linus Walleij wrote:
> Testing and ACKing appreciated.

I think it looks good now. I applied the patches 1-8 on top of 3.12-rc1,
and Thecus N2100 boots fine and pressing the power button restarts the
system as expected. So for the whole series:

Tested-by: Aaro Koskinen <aaro.koskinen@iki.fi>

Thanks,

A.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 0/8] IOP GPIO refactoring take 2
  2013-09-20 20:17 [PATCH 0/8] IOP GPIO refactoring take 2 Linus Walleij
  2013-09-20 20:58 ` Aaro Koskinen
@ 2013-09-20 21:09 ` Linus Walleij
  1 sibling, 0 replies; 3+ messages in thread
From: Linus Walleij @ 2013-09-20 21:09 UTC (permalink / raw)
  To: linux-gpio@vger.kernel.org, Lennert Buytenhek, Dan Williams,
	Mikael Pettersson, Aaro Koskinen, arm@kernel.org
  Cc: Alexandre Courbot, linux-arm-kernel@lists.infradead.org,
	Linus Walleij

On Fri, Sep 20, 2013 at 10:17 PM, Linus Walleij
<linus.walleij@linaro.org> wrote:

> This is a resend of the IOP GPIO refactoring, this time
> I took some extra care to be sure I moved all the IOP32x boards
> to instantiate their platform devices properly, as noted
> by Aaro.
>
> Also available as a branch:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git iop-cleanup
>
> Testing and ACKing appreciated.

ARM SoC folks: are you happy with me taking this into the
GPIO tree?

Yours,
Linus Walleij

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-09-20 21:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-20 20:17 [PATCH 0/8] IOP GPIO refactoring take 2 Linus Walleij
2013-09-20 20:58 ` Aaro Koskinen
2013-09-20 21:09 ` Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).