[lkml]   [2010]   [Jun]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH 0/3] msm: Add gpiolib devices to MSM7x30 and QSD8x50.
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.



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.

 \ /
  Last update: 2010-06-18 21:15    [W:0.061 / U:5.124 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site