linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: prabhakar.csengg@gmail.com (Lad, Prabhakar)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v3 0/7] Convert GPIO Davinci to platform driver
Date: Sun, 18 Aug 2013 10:48:56 +0530	[thread overview]
Message-ID: <1376803143-13738-1-git-send-email-prabhakar.csengg@gmail.com> (raw)

From: Philip Avinash <avinashphilip@ti.com>

To support DT booting of da850 EVM, davinci gpio driver converted to platform
driver. Also when here, start using gpiolib API for gpio get/set functionalities.
Hence removing gpio inline functionalities. However usage of gpiolib API will
cause an additional software latencies.

In this patch series
- Cleaned gpio Davinci driver code with proper commenting style.
- Create platform driver for GPIO Davinci in da8xx and dmxxx platforms and
  removed gpio related member updation in davinci_soc_info structure.
- Remove soc_info reference in the gpio davinci driver and start uses
  gpiolib interface.
- gpio-tnetv107x driver also modified to use gpiolib API interface.

This series has been tested on da850 EVM for gpio interrupt generation.
This patch series is based on Linux 3.11-rc2 and is availabel at [1].

[1] http://git.linuxtv.org/mhadli/v4l-dvb-davinci_devices.git/shortlog/refs/heads/davinci_gpio

Changes for v3:
1: Moved the resources to Soc file.
2: Sorted the header file inclusions alphabetically.
3: included Ack from Linus.

KV Sujith (2):
  gpio: davinci: move to platform device
  ARM: davinci: da8xx: support gpio platform device

Philip Avinash (5):
  gpio: davinci: coding style correction
  ARM: davinci: devices.c: support gpio platform device
  ARM: davinci: da8xx: gpio device creation
  ARM: davinci: dmxxx: gpio device creation
  ARM: davinci: Start using gpiolib API inplace of inline functions

 arch/arm/Kconfig                                  |    1 -
 arch/arm/mach-davinci/board-da830-evm.c           |   28 ++--
 arch/arm/mach-davinci/board-da850-evm.c           |   16 ++-
 arch/arm/mach-davinci/board-dm355-evm.c           |   33 +++--
 arch/arm/mach-davinci/board-dm355-leopard.c       |   30 +++--
 arch/arm/mach-davinci/board-dm365-evm.c           |   30 +++--
 arch/arm/mach-davinci/board-dm644x-evm.c          |   40 +++---
 arch/arm/mach-davinci/board-dm646x-evm.c          |   37 +++---
 arch/arm/mach-davinci/board-neuros-osd2.c         |   18 ++-
 arch/arm/mach-davinci/board-omapl138-hawk.c       |   10 +-
 arch/arm/mach-davinci/da830.c                     |   26 ++--
 arch/arm/mach-davinci/da850.c                     |   30 +++--
 arch/arm/mach-davinci/davinci.h                   |   19 ++-
 arch/arm/mach-davinci/devices-da8xx.c             |   26 ++++
 arch/arm/mach-davinci/devices.c                   |   13 ++
 arch/arm/mach-davinci/dm355.c                     |   53 +++++---
 arch/arm/mach-davinci/dm365.c                     |   57 +++++---
 arch/arm/mach-davinci/dm644x.c                    |   46 +++++--
 arch/arm/mach-davinci/dm646x.c                    |   46 +++++--
 arch/arm/mach-davinci/include/mach/common.h       |    2 +
 arch/arm/mach-davinci/include/mach/da8xx.h        |   23 ++--
 arch/arm/mach-davinci/include/mach/gpio-davinci.h |   91 -------------
 arch/arm/mach-davinci/include/mach/gpio.h         |   88 -------------
 arch/arm/mach-davinci/tnetv107x.c                 |   14 +-
 drivers/gpio/gpio-davinci.c                       |  143 ++++++++++++++-------
 drivers/gpio/gpio-tnetv107x.c                     |    5 +-
 include/linux/platform_data/gpio-davinci.h        |   59 +++++++++
 27 files changed, 558 insertions(+), 426 deletions(-)
 delete mode 100644 arch/arm/mach-davinci/include/mach/gpio-davinci.h
 delete mode 100644 arch/arm/mach-davinci/include/mach/gpio.h
 create mode 100644 include/linux/platform_data/gpio-davinci.h

-- 
1.7.9.5

             reply	other threads:[~2013-08-18  5:18 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-18  5:18 Lad, Prabhakar [this message]
2013-08-18  5:18 ` [PATCH v3 1/7] gpio: davinci: coding style correction Lad, Prabhakar
2013-08-23 17:53   ` Sekhar Nori
2013-08-18  5:18 ` [PATCH v3 2/7] gpio: davinci: move to platform device Lad, Prabhakar
2013-08-23 18:02   ` Sekhar Nori
2013-08-18  5:18 ` [PATCH v3 3/7] ARM: davinci: da8xx: support gpio " Lad, Prabhakar
2013-08-26 10:55   ` Sekhar Nori
2013-08-18  5:19 ` [PATCH v3 4/7] ARM: davinci: devices.c: " Lad, Prabhakar
2013-08-27 19:37   ` Sekhar Nori
2013-08-18  5:19 ` [PATCH v3 5/7] ARM: davinci: da8xx: gpio device creation Lad, Prabhakar
2013-08-27 20:05   ` Sekhar Nori
2013-08-18  5:19 ` [PATCH v3 6/7] ARM: davinci: dmxxx: " Lad, Prabhakar
2013-08-27 20:25   ` Sekhar Nori
2013-08-18  5:19 ` [PATCH v3 7/7] ARM: davinci: Start using gpiolib API inplace of inline functions Lad, Prabhakar
2013-08-27 20:33   ` Sekhar Nori

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=1376803143-13738-1-git-send-email-prabhakar.csengg@gmail.com \
    --to=prabhakar.csengg@gmail.com \
    --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).