Skip to content

omap: gpmc-nand: add ability to keep timings defined by the bootloader

Mike Rapoport linux-omap 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 5 repliesIn review
  2. v12 patches 4 repliesSuperseded

Changes in v2 from the cover letter

- remove debug leftovers
- make timing rounding depend on .keep_timing flag and introduce omap2_nand_gpmc_round_timings to facilitate this change

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3omap: gpmc: add gpmc_cs_get_timingsarch/arm/mach-omap2/gpmc.c arch/arm/plat-omap/include/plat/gpmc.h+77 -00 replies
2/3omap: gpmc-nand: introduce omap2_nand_gpmc_round_timings helperarch/arm/mach-omap2/gpmc-nand.c+30 -260 replies
3/3omap: gpmc-nand: add ability to keep timings defined by the bootloaderarch/arm/mach-omap2/gpmc-nand.c arch/arm/plat-omap/include/plat/nand.h+18 -45 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] omap: gpmc-nand: add ability to keep timings defined by the bootloader

These patches add ability to keep GPMC timings configured by the bootloader. The platforms have to either define NAND GPMC timinings explicitly via gpmc_t field of omap_nand_platform_data or set keep_timings flag to allow detection of current timing configuration and its subsequent use in omap2_nand_gpmc_retime.

v2 changes:
- remove debug leftovers
- make timing rounding depend on .keep_timing flag and introduce omap2_nand_gpmc_round_timings to facilitate this change

Mike Rapoport (3):
omap: gpmc: add gpmc_cs_get_timings
omap: gpmc-nand: introduce omap2_nand_gpmc_round_timings helper
omap: gpmc-nand: add ability to keep timings defined by the
bootloader

 arch/arm/mach-omap2/gpmc-nand.c        |   73 +++++++++++++++++++------------
 arch/arm/mach-omap2/gpmc.c             |   76 ++++++++++++++++++++++++++++++++
 arch/arm/plat-omap/include/plat/gpmc.h |    1 +
 arch/arm/plat-omap/include/plat/nand.h |    1 +
 4 files changed, 123 insertions(+), 28 deletions(-)