From: Gregory Bean on
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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/