Skip to content

RFC OMAP4: mux: Add the OMAP4430 ES1 & ES2 support

Benoit Cousson linux-omap 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 RFC Latest7 patches 11 repliesIn review
  2. v1 RFC5 patches 21 repliesSuperseded

v1 from the cover letter

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7OMAP: mux: Replace printk with pr_xxx macrosarch/arm/mach-omap2/mux.c+19 -190 replies
2/7OMAP3: RX-51: Temporary disable dynamic mux change for eMMCarch/arm/mach-omap2/board-rx51-peripherals.c+2 -10 replies
3/7OMAP: mux: Add support for control module split in several partitionsarch/arm/mach-omap2/mux.c arch/arm/mach-omap2/mux.h arch/arm/mach-omap2/mux2420.c +2 more+252 -1463 replies
4/7OMAP4: mux: Add CBL package data for OMAP4430 ES1arch/arm/mach-omap2/Kconfig arch/arm/mach-omap2/Makefile arch/arm/mach-omap2/mux.h +2 more+1193 -04 replies
5/7OMAP4: mux: Select CBL package for SDP4430 with ES1arch/arm/mach-omap2/Kconfig arch/arm/mach-omap2/board-4430sdp.c+11 -00 replies
6/7OMAP4: mux: Add CBS package data for OMAP4430 ES2arch/arm/mach-omap2/Kconfig arch/arm/mach-omap2/mux.h arch/arm/mach-omap2/mux44xx.c +1 more+758 -80 replies
7/7OMAP4: mux: Select CBS package for SDP4430 with ES2arch/arm/mach-omap2/Kconfig arch/arm/mach-omap2/board-4430sdp.c+6 -10 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [RFC v2 0/7] OMAP4: mux: Add the OMAP4430 ES1 & ES2 support

Hi Tony,

Upon Nishanth request, here is the updated version...

It takes into account your proposal to store partition information in a partition structure instead of inside every pad entries. The mechanism relies on the uniqueness of the pad name in each partition to find the correct partition during iteration.

Removed as well some cpu_is_xxx calls from the core code by adding a couple of flags during partition init.

Please note that due to low level access to mux api from the RX51 board code, I have to disable the mux change to build properly with omap2plus_defconfig. Look like you do have some idea to fix that :-)
I was thinking of:
- brute force approach that consist of keeping all the data after init, and thus allowing removing the __init in the omap_mux_init_signal API
- or adding some flag in the pad entry to keep them after init .

Boot tested on SDP4430 with ES1.0 & ES2.0 with omap2plus_defconfig. Still require some real driver to use that mux API in order to validate it.

The series is on top of lo/master (2.6.36-rc8) and is available here:
git://gitorious.org/omap-pm/linux.git ctrl-wip/mux-omap4-v2

Thanks,
Benoit

v1:

    http://www.spinics.net/lists/linux-omap/msg37158.html    

Benoit Cousson (7):
OMAP: mux: Replace printk with pr_xxx macros
OMAP3: RX-51: Temporary disable dynamic mux change for eMMC
OMAP: mux: Add support for control module split in several partitions
OMAP4: mux: Add CBL package data for OMAP4430 ES1
OMAP4: mux: Select CBL package for SDP4430 with ES1
OMAP4: mux: Add CBS package data for OMAP4430 ES2
OMAP4: mux: Select CBS package for SDP4430 with ES2

 arch/arm/mach-omap2/Kconfig                  |    8 +
 arch/arm/mach-omap2/Makefile                 |    1 +
 arch/arm/mach-omap2/board-4430sdp.c          |   14 +
 arch/arm/mach-omap2/board-rx51-peripherals.c |    3 +-
 arch/arm/mach-omap2/mux.c                    |  330 ++++--
 arch/arm/mach-omap2/mux.h                    |   92 +-
 arch/arm/mach-omap2/mux2420.c                |    7 +-
 arch/arm/mach-omap2/mux2430.c                |    7 +-
 arch/arm/mach-omap2/mux34xx.c                |    7 +-
 arch/arm/mach-omap2/mux44xx.c                | 1625 ++++++++++++++++++++++++++
 arch/arm/mach-omap2/mux44xx.h                |  298 +++++
 11 files changed, 2229 insertions(+), 163 deletions(-)
 create mode 100644 arch/arm/mach-omap2/mux44xx.c
 create mode 100644 arch/arm/mach-omap2/mux44xx.h