Re: [PATCH 0/7] Move Qualcomm gpio drivers into drivers dir

From: David Brown
Date: Fri May 27 2011 - 12:30:06 EST


On Thu, May 26 2011, Grant Likely wrote:

> On Wed, May 18, 2011 at 02:50:46PM -0700, David Brown wrote:
>> This patch series moves the Qualcomm MSM gpio device drivers into the
>> drivers/gpio directory.
>>
>> The MSM's have two flavors of gpio driver. The one for the newer
>> v7-based chips is a bit cleaner, and can just be moved. The one for
>> the older v6-based chips took some cleanup to get rid of numerous
>> ifdefs based on the particular machine. Both drivers can now be
>> selected and will be used on appropriate targets.
>>
>> There is still a minor entanglement with the MSM-specific gpiomux
>> code. This will be cleaned up as MSM moves to use pinmux.
>>
>> David Brown (7):
>> msm: gpio: Remove unsupported devices
>> msm: Remove chip-ifdefs for GPIO io mappings
>> msm: gpio: Remove chip-specific register definitions
>> msm: gpio: Remove ifdefs on gpio chip registers
>> msm: gpiomux: Move public API to public header
>> gpio_msm: Move Qualcomm v6 MSM driver into drivers
>> gpio_msm: Move Qualcomm MSM v2 gpio driver into drivers
>
> What's the status of this series. I only got cc'd on the last two
> patches; did you want me to pick up the whole lot, or is it being
> merged via the msm tree?

Let me send out an update, incorporating the suggestions. I need to
rebase these changes off of the current MSM code, since the msm-next
tree contains changes that aren't going into the merge window because of
extra ARM scrutiny.

> Alternately, if there is a git branch with these patches in it, then I
> can merge that instead of applying individually.

I'll send you a pull request after I send out the updates.

Thanks,
David

> g.
>
>>
>> arch/arm/mach-msm/Kconfig | 4 +
>> arch/arm/mach-msm/Makefile | 8 -
>> arch/arm/mach-msm/gpio-v2.c | 427 -----------------------
>> arch/arm/mach-msm/gpio.c | 376 --------------------
>> arch/arm/mach-msm/gpio_hw.h | 278 ---------------
>> arch/arm/mach-msm/gpiomux.h | 17 +-
>> arch/arm/mach-msm/include/mach/msm_iomap-7x00.h | 10 +-
>> arch/arm/mach-msm/include/mach/msm_iomap-7x30.h | 10 +-
>> arch/arm/mach-msm/include/mach/msm_iomap-8x50.h | 10 +-
>> arch/arm/mach-msm/include/mach/msm_iomap.h | 2 +
>> arch/arm/mach-msm/io.c | 12 +-
>> drivers/gpio/Kconfig | 16 +
>> drivers/gpio/Makefile | 2 +
>> drivers/gpio/msm_v1.c | 387 ++++++++++++++++++++
>> drivers/gpio/msm_v1.h | 271 ++++++++++++++
>> drivers/gpio/msm_v2.c | 427 +++++++++++++++++++++++
>> include/linux/msm_gpiomux.h | 38 ++
>> 17 files changed, 1166 insertions(+), 1129 deletions(-)
>> delete mode 100644 arch/arm/mach-msm/gpio-v2.c
>> delete mode 100644 arch/arm/mach-msm/gpio.c
>> delete mode 100644 arch/arm/mach-msm/gpio_hw.h
>> create mode 100644 drivers/gpio/msm_v1.c
>> create mode 100644 drivers/gpio/msm_v1.h
>> create mode 100644 drivers/gpio/msm_v2.c
>> create mode 100644 include/linux/msm_gpiomux.h
>>
>> --
>> Sent by an employee of the Qualcomm Innovation Center, Inc.
>> The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
>>

--
Sent by an employee of the Qualcomm Innovation Center, Inc.
The 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/