Skip to content

Commit

Permalink
omap2+: mux: Add macro for configuring static with omap_hwmod_mux_init
Browse files Browse the repository at this point in the history
Add macro for defining static pins in the board file.

We can now start implementing pin multiplexing in the platform init
code for devices that call omap_hwmod_mux_init. Currently that is
only implemented for serial.c.

Signed-off-by: Tony Lindgren <tony@atomide.com>
  • Loading branch information
Tony Lindgren committed Mar 11, 2011
1 parent 86c79bf commit 8aee603
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions arch/arm/mach-omap2/mux.h
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,12 @@ struct omap_device_pad {

struct omap_hwmod_mux_info;

#define OMAP_MUX_STATIC(signal, mode) \
{ \
.name = (signal), \
.enable = (mode), \
}

#if defined(CONFIG_OMAP_MUX)

/**
Expand Down

0 comments on commit 8aee603

Please sign in to comment.