linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Gregory Bean <gbean@codeaurora.org>
To: dwalker@codeaurora.org
Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org,
	Gregory Bean <gbean@codeaurora.org>
Subject: [PATCH 0/3] msm: Add gpiolib devices to MSM7x30 and QSD8x50.
Date: Fri, 18 Jun 2010 12:12:52 -0700	[thread overview]
Message-ID: <1276888375-13221-1-git-send-email-gbean@codeaurora.org> (raw)

Hi folks:

Here is a proposed patch series which adds the configuration and devices
needed to enable gpiolib on the MSM7x30 and QSD8x50 chipsets.

Patch 1 adds the register mapping information for all supported
MSM/QSD targets.  I wasn't sure about adding register definitions for boards
which weren't yet using those definitions, but the alternative was to have
each following patch change gpio_hw.h over and over, so I put all the
definitions in at once.  Thoughts?

Patch 2 adds the first target, the 7x30, as well as some generic macros
to ease the definition of the gpio devices and their platform data,
as this is long-winded, but mindless and repetitive work.  I considered
putting the generic macro-definitions in their own patch, but without
any targets to use them it seemed a little silly to leave them on their
own and I ended up attaching them to the first patch to use them - 
what do y'all think?  Does it warrant being split up?

Patch 3 adds device configuration for the 8x50.

Thanks,

G

Gregory Bean (3):
  msm: Add gpio register address mapping information.
  msm: 7x30: Add gpio device configuration.
  msm: 8x50: add gpio device configuration.

 arch/arm/mach-msm/board-msm7x30.c     |   29 ++++++++-
 arch/arm/mach-msm/board-qsd8x50.c     |   29 ++++++++-
 arch/arm/mach-msm/devices-msm7x30.c   |   23 +++++++
 arch/arm/mach-msm/devices-qsd8x50.c   |   23 +++++++
 arch/arm/mach-msm/devices.h           |   35 ++++++++++
 arch/arm/mach-msm/gpio_hw-7x30.h      |  112 +++++++++++++++++++++++++++++++++
 arch/arm/mach-msm/gpio_hw-7xxx.h      |   97 ++++++++++++++++++++++++++++
 arch/arm/mach-msm/gpio_hw-8x50.h      |  112 +++++++++++++++++++++++++++++++++
 arch/arm/mach-msm/gpio_hw.h           |   35 ++++++++++
 arch/arm/mach-msm/include/mach/gpio.h |    2 +
 10 files changed, 493 insertions(+), 4 deletions(-)
 create mode 100644 arch/arm/mach-msm/gpio_hw-7x30.h
 create mode 100644 arch/arm/mach-msm/gpio_hw-7xxx.h
 create mode 100644 arch/arm/mach-msm/gpio_hw-8x50.h
 create mode 100644 arch/arm/mach-msm/gpio_hw.h

--
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.

             reply	other threads:[~2010-06-18 19:12 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-18 19:12 Gregory Bean [this message]
2010-06-18 19:12 ` [PATCH 1/3] msm: Add gpio register address mapping information Gregory Bean
2010-06-19 20:02   ` Pavel Machek
2010-06-21 17:03     ` Bryan Huntsman
2010-06-21 17:18       ` Alan Cox
2010-06-21 17:28         ` Bryan Huntsman
2010-06-21 19:08           ` Alan Cox
2010-06-21 17:51         ` Daniel Walker
2010-06-21 17:27       ` Pavel Machek
2010-06-18 19:12 ` [PATCH 2/3] msm: 7x30: Add gpio device configuration Gregory Bean
2010-06-18 19:12 ` [PATCH 3/3] msm: 8x50: add " Gregory Bean
2010-06-18 21:59   ` Daniel Walker
2010-06-18 19:26 ` [PATCH 0/3] msm: Add gpiolib devices to MSM7x30 and QSD8x50 Daniel Walker

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=1276888375-13221-1-git-send-email-gbean@codeaurora.org \
    --to=gbean@codeaurora.org \
    --cc=dwalker@codeaurora.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.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).