linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Linus Walleij <linus.walleij@linaro.org>
To: linux-gpio@vger.kernel.org,
	Lennert Buytenhek <kernel@wantstofly.org>,
	Dan Williams <dan.j.williams@intel.com>,
	Mikael Pettersson <mikpe@it.uu.se>
Cc: Alexandre Courbot <acourbot@nvidia.com>,
	linux-arm-kernel@lists.infradead.org,
	Linus Walleij <linus.walleij@linaro.org>
Subject: [PATCH 0/8] IOP GPIO refactoring
Date: Mon,  9 Sep 2013 17:39:58 +0200	[thread overview]
Message-ID: <1378741198-12847-1-git-send-email-linus.walleij@linaro.org> (raw)

This series refactor the IOP GPIO driver to move down to the
GPIO subsystem, instatiate as a platform device, remap its
I/O address, and kills off the <mach/gpio.h> dependency.

This is done to get rid of <mach/gpio.h> and the complex
local GPIO implementation.

Please do not report the checkpatch warning in patch 5,
I am only copy/pasting code from one place to another and
the warning is removed later in the series.

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/include/mach/gpio.h    |   6 --
 arch/arm/mach-iop32x/include/mach/iop32x.h  |   1 -
 arch/arm/mach-iop32x/iq31244.c              |   7 ++
 arch/arm/mach-iop32x/iq80321.c              |   7 ++
 arch/arm/mach-iop32x/n2100.c                |  27 +++++-
 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 ++++++++++++++++++++++++++++
 17 files changed, 194 insertions(+), 201 deletions(-)
 delete mode 100644 arch/arm/include/asm/hardware/iop3xx-gpio.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


             reply	other threads:[~2013-09-09 15:40 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-09 15:39 Linus Walleij [this message]
2013-09-10 14:14 ` [PATCH 0/8] IOP GPIO refactoring Aaro Koskinen
2013-09-13  7:42   ` Linus Walleij
2013-09-13  8:15   ` Linus Walleij
2013-09-13 16:07     ` Mikael Pettersson
2013-09-13 16:17     ` Aaro Koskinen
2013-09-20 19:50       ` Linus Walleij

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1378741198-12847-1-git-send-email-linus.walleij@linaro.org \
    --to=linus.walleij@linaro.org \
    --cc=acourbot@nvidia.com \
    --cc=dan.j.williams@intel.com \
    --cc=kernel@wantstofly.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=mikpe@it.uu.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).