]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
omap: mux: Add new style pin multiplexing code for omap3
authorTony Lindgren <tony@atomide.com>
Sat, 12 Dec 2009 00:16:32 +0000 (16:16 -0800)
committerTony Lindgren <tony@atomide.com>
Sat, 12 Dec 2009 00:16:32 +0000 (16:16 -0800)
commit15ac7afe515631ec36966b1cf632a87276536f57
tree68fae5c0154ccf441468569c0d763b32c3b90f21
parent92c9f5018997dbc5f5e91eae2400d78ada2760b0
omap: mux: Add new style pin multiplexing code for omap3

Initially only for 34xx. This code allows us to:

- Make the code more generic as the omap internal signal
  names can stay the same across omap generations for some
  devices

- Map mux registers to GPIO registers that is needed for
  dynamic muxing of pins during off-idle

- Override bootloader mux values via kernel cmdline using
  omap_mux=some.signa1=0x1234,some.signal2=0x1234

- View and set the mux registers via debugfs if
  CONFIG_DEBUG_FS is enabled

Cc: Mike Rapoport <mike@compulab.co.il>
Cc: Benoit Cousson <b-cousson@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Documentation/kernel-parameters.txt
arch/arm/mach-omap2/mux.c
arch/arm/mach-omap2/mux.h [new file with mode: 0644]
arch/arm/plat-omap/mux.c