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 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html