From: s.hauer@pengutronix.de (Sascha Hauer)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 0/8] Clean up MXC and MXS mach/gpio.h
Date: Tue, 16 Aug 2011 09:19:50 +0200 [thread overview]
Message-ID: <20110816071950.GV31404@pengutronix.de> (raw)
In-Reply-To: <1313252047-8820-1-git-send-email-shawn.guo@linaro.org>
Shawn,
On Sun, Aug 14, 2011 at 12:13:59AM +0800, Shawn Guo wrote:
> As one step to single image for multiple platforms, mach/gpio.h needs
> to be removed from asm/gpio.h. The patch set cleans up MXC and MXS
> mach/gpio.h to an empty header.
>
> It's based on v3.1-rc1 plus rmk's patch series below.
>
> [PATCH 00/13] Clean up mach/gpio.h headers
>
> The Ben's fix is on the way to -rc2 through arm-soc tree.
>
> Grant, Sascha,
>
> Can you please review the series and give comments or your ack tag?
I'm fine with this series. I removed the dependency on rmks patches
(can be easily merged later) and checked it into my cleanup branch.
Please check if you are fine with the result.
Sascha
>
> Regards,
> Shawn
>
> Changes since v1:
> * Add patches #7 and #8 to clean up mxs mach/gpio.h
> * Leave run-time gpio_to_irq() calls there and only convert these
> in static initializers to IMX_GPIO_TO_IRQ()
> * Mark the empty headers with /* empty */
>
> Ben Dooks (1):
> ARM: mx5: board-cpuimx51.c fixup irq_to_gpio() usage
>
> Shawn Guo (7):
> arm/mxc: do not use gpio_to_irq() for static initializers
> gpio/mxc: add .to_irq for gpio chip
> arm/mxc: remove gpio_to_irq() from mach/gpio.h
> gpio/mxc: move irq_to_gpio() into gpio-mxc driver
> arm/mxc: move IMX_GPIO_NR into mach/hardware.h
> gpio/mxs: move irq_to_gpio() into gpio-mxs driver
> arm/mxs: move MXS_GPIO_NR into mach/mxs.h
>
> arch/arm/mach-imx/mach-cpuimx35.c | 2 +-
> arch/arm/mach-imx/mach-mx27_3ds.c | 2 +-
> arch/arm/mach-imx/mach-vpr200.c | 2 +-
> arch/arm/mach-mx5/board-cpuimx51.c | 8 +++---
> arch/arm/mach-mx5/board-cpuimx51sd.c | 4 +-
> arch/arm/mach-mx5/board-mx53_ard.c | 4 +-
> arch/arm/mach-mx5/eukrea_mbimx51-baseboard.c | 2 +-
> arch/arm/mach-mx5/mx51_efika.c | 2 +-
> arch/arm/mach-mxs/include/mach/gpio.h | 28 +--------------------
> arch/arm/mach-mxs/include/mach/mxs.h | 2 +
> arch/arm/plat-mxc/include/mach/gpio.h | 34 +-------------------------
> arch/arm/plat-mxc/include/mach/hardware.h | 6 ++++
> drivers/gpio/gpio-mxc.c | 12 +++++++++
> drivers/gpio/gpio-mxs.c | 2 +
> 14 files changed, 37 insertions(+), 73 deletions(-)
>
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
next prev parent reply other threads:[~2011-08-16 7:19 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-13 16:13 [PATCH v2 0/8] Clean up MXC and MXS mach/gpio.h Shawn Guo
2011-08-13 16:14 ` [PATCH v2 1/8] ARM: mx5: board-cpuimx51.c fixup irq_to_gpio() usage Shawn Guo
2011-08-13 16:14 ` [PATCH v2 2/8] arm/mxc: do not use gpio_to_irq() for static initializers Shawn Guo
2011-08-13 16:14 ` [PATCH v2 3/8] gpio/mxc: add .to_irq for gpio chip Shawn Guo
2011-08-13 16:14 ` [PATCH v2 4/8] arm/mxc: remove gpio_to_irq() from mach/gpio.h Shawn Guo
2011-08-13 16:14 ` [PATCH v2 5/8] gpio/mxc: move irq_to_gpio() into gpio-mxc driver Shawn Guo
2011-08-13 16:14 ` [PATCH v2 6/8] arm/mxc: move IMX_GPIO_NR into mach/hardware.h Shawn Guo
2011-08-13 16:14 ` [PATCH v2 7/8] gpio/mxs: move irq_to_gpio() into gpio-mxs driver Shawn Guo
2011-08-13 16:14 ` [PATCH v2 8/8] arm/mxs: move MXS_GPIO_NR into mach/mxs.h Shawn Guo
2011-08-16 7:19 ` Sascha Hauer [this message]
2011-08-17 6:25 ` [PATCH v2 0/8] Clean up MXC and MXS mach/gpio.h Shawn Guo
2011-08-17 6:47 ` Sascha Hauer
2011-08-17 7:10 ` Shawn Guo
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=20110816071950.GV31404@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
/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).