Skip to content

RFC mux framework rework

Mike Rapoport linux-omap 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3omap2: mux: intoduce omap_mux_{read,write}arch/arm/mach-omap2/mux.c+19 -64 replies
2/3omap: mux: add interface for encoded mux configrationarch/arm/plat-omap/include/plat/mux.h arch/arm/plat-omap/mux.c+20 -00 replies
3/3omap2: mux: implement encoded mux configurationarch/arm/mach-omap2/include/mach/mux.h arch/arm/mach-omap2/include/mach/mux24xx.h arch/arm/mach-omap2/include/mach/mux34xx.h +2 more+1575 -590 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC PATCH 0/3] mux framework rework

This is an attempt to start rework of the mux framework keeping as much backward compatibility as possible.
The patch serie introduces a new mux configuration interface that follows the ideas of PXA MFP implementation ([1] and [2]). The mux configuration interface is implemented for OMAP3 and partially for OMAP2 processors.
The OMAP2 implementation is far from being complete. Unfortunately I do not have OMAP2 docs, so I've added only configration for pins defined in omap24xx_pins table.

The older opam_cfg_reg interface is still present and can be used to avoid too many broken things in steps 2 & 3 as of Tony's plans ([3]).

[1] Documentation/arm/pxa/mfp.txt
[2] http://elinux.org/OMAP_wishlist#References
[3] http://elinux.org/OMAP_wishlist#Initial_plans_.28from_Tony.2C_for_next_merge_window.29

Changes since commit 0bbf5337f2f2957775051a3caf60b66d3306c815
Tony Lindgren
Fix compile for 1510 innovator

Mike Rapoport (3):
omap2: mux: intoduce omap_mux_{read,write}
omap: mux: add interface for encoded mux configration
omap2: mux: implement encoded mux configuration

 arch/arm/mach-omap2/include/mach/mux.h     |  452 +++++++++++++++
 arch/arm/mach-omap2/include/mach/mux24xx.h |  128 ++++
 arch/arm/mach-omap2/include/mach/mux34xx.h |  862 ++++++++++++++++++++++++++++
 arch/arm/mach-omap2/mux.c                  |  158 +++++-
 arch/arm/plat-omap/include/plat/mux.h      |   62 +--
 arch/arm/plat-omap/mux.c                   |   17 +
 6 files changed, 1614 insertions(+), 65 deletions(-)
 create mode 100644 arch/arm/mach-omap2/include/mach/mux.h
 create mode 100644 arch/arm/mach-omap2/include/mach/mux24xx.h
 create mode 100644 arch/arm/mach-omap2/include/mach/mux34xx.h