Skip to contentSkip to conversation

Convert GPMC to driver

RFC PATCH New Afzal Mohammed 3 participants 4 messages Mar 23, 2012 – Mar 26, 2012

lore
Share & tools
lore
#0 lore raw

cover Convert GPMC to driver

Hi,

Convert GPCM code to be a driver. Existing GPMC NAND platform handling has been modified to work with the new GPMC driver (patches 2 & 3). Patch 5 is to test the driver in OMAP3EVM.

Once all the users has been converted to use this driver, would be converted to MFD type.

TODO:
1. Let OMAP NAND driver deal with GPMC NAND block
2. Remove struct gpmc * stored as static
3. Convert all peripherals to use GPMC driver
4. Devise method to handle OneNAND cleanly
5. Handle acquiring CS# cases
6. Convert to MFD driver

Regards
Afzal

Afzal Mohammed (5):
ARM: OMAP2+: gpmc: driver conversion
ARM: OMAP2+: nand: create platform data structure
ARM: OMAP2+: gpmc-nand: populate gpmc configs
mtd: nand: omap2: obtain memory from resource
OMAP3EVM: Test gpmc-nand

 arch/arm/mach-omap2/board-devkit8000.c     |    6 +-
 arch/arm/mach-omap2/board-flash.c          |   63 +-
 arch/arm/mach-omap2/board-flash.h          |   13 +-
 arch/arm/mach-omap2/board-ldp.c            |    4 +-
 arch/arm/mach-omap2/board-omap3beagle.c    |    6 +-
 arch/arm/mach-omap2/board-omap3evm.c       |   82 +++
 arch/arm/mach-omap2/board-omap3touchbook.c |    6 +-
 arch/arm/mach-omap2/board-overo.c          |    5 +-
 arch/arm/mach-omap2/board-zoom.c           |    5 +-
 arch/arm/mach-omap2/common-board-devices.c |   46 --
 arch/arm/mach-omap2/common-board-devices.h |    1 -
 arch/arm/mach-omap2/gpmc-nand.c            |   88 +--
 arch/arm/mach-omap2/gpmc.c                 | 1083 ++++++++++++++++------------
 arch/arm/plat-omap/include/plat/gpmc.h     |   34 +-
 arch/arm/plat-omap/include/plat/nand.h     |    9 +-
 drivers/mtd/nand/omap2.c                   |   19 +-
 16 files changed, 869 insertions(+), 601 deletions(-)
Signature · 1 line
1.7.9.3
#1 lore raw

cover Convert GPMC to driver

Hi Mohammed,

Quoted 6 lines · Afzal Mohammed

Hi,

Convert GPCM code to be a driver. Existing GPMC NAND platform handling has been modified to work with the new GPMC driver (patches 2& 3). Patch 5 is to test the driver in OMAP3EVM.

Hehe, cool, thanks for that series,
Benoit

Quoted 40 lines

Once all the users has been converted to use this driver, would be converted to MFD type.

TODO:
1. Let OMAP NAND driver deal with GPMC NAND block
2. Remove struct gpmc * stored as static
3. Convert all peripherals to use GPMC driver
4. Devise method to handle OneNAND cleanly
5. Handle acquiring CS# cases
6. Convert to MFD driver

Regards
Afzal

Afzal Mohammed (5):
ARM: OMAP2+: gpmc: driver conversion
ARM: OMAP2+: nand: create platform data structure
ARM: OMAP2+: gpmc-nand: populate gpmc configs
mtd: nand: omap2: obtain memory from resource
OMAP3EVM: Test gpmc-nand

  arch/arm/mach-omap2/board-devkit8000.c     |    6 +-
  arch/arm/mach-omap2/board-flash.c          |   63 +-
  arch/arm/mach-omap2/board-flash.h          |   13 +-
  arch/arm/mach-omap2/board-ldp.c            |    4 +-
  arch/arm/mach-omap2/board-omap3beagle.c    |    6 +-
  arch/arm/mach-omap2/board-omap3evm.c       |   82 +++
  arch/arm/mach-omap2/board-omap3touchbook.c |    6 +-
  arch/arm/mach-omap2/board-overo.c          |    5 +-
  arch/arm/mach-omap2/board-zoom.c           |    5 +-
  arch/arm/mach-omap2/common-board-devices.c |   46 --
  arch/arm/mach-omap2/common-board-devices.h |    1 -
  arch/arm/mach-omap2/gpmc-nand.c            |   88 +--
  arch/arm/mach-omap2/gpmc.c                 | 1083 ++++++++++++++++------------
  arch/arm/plat-omap/include/plat/gpmc.h     |   34 +-
  arch/arm/plat-omap/include/plat/nand.h     |    9 +-
  drivers/mtd/nand/omap2.c                   |   19 +-
  16 files changed, 869 insertions(+), 601 deletions(-)
#2 lore raw

cover Convert GPMC to driver

In reply to Afzal Mohammed
Quoted 10 lines · Afzal Mohammed

Hi,

Convert GPCM code to be a driver. Existing GPMC NAND platform handling has been modified to work with the new GPMC driver (patches 2 & 3). Patch 5 is to test the driver in OMAP3EVM.

Once all the users has been converted to use this driver, would be converted to MFD type.

Much needed series. Thanks Afzal for doing it.

Quoted 10 lines

TODO:
1. Let OMAP NAND driver deal with GPMC NAND block
2. Remove struct gpmc * stored as static
3. Convert all peripherals to use GPMC driver
4. Devise method to handle OneNAND cleanly
5. Handle acquiring CS# cases
6. Convert to MFD driver

Quoted 7 lines

Afzal Mohammed (5):
?ARM: OMAP2+: gpmc: driver conversion ?ARM: OMAP2+: nand: create platform data structure ?ARM: OMAP2+: gpmc-nand: populate gpmc configs ?mtd: nand: omap2: obtain memory from resource ?OMAP3EVM: Test gpmc-nand

Will have a look at your series next week.

Regards
Santosh

#3 lore raw

cover Convert GPMC to driver

Hi Santosh,

Quoted 1 line · Santosh

Much needed series. Thanks Afzal for doing it.

Probably going through this first version, your thanks would have evaporated; else if (thanks > 0)
redirected to Vaibhav Hiremath & Sekhar Nori.

Regards
Afzal