Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 226452
b: refs/heads/master
c: a041a52
h: refs/heads/master
v: v3
  • Loading branch information
Benoit Cousson committed Nov 17, 2010
1 parent d3b663f commit 7ffb9ec
Show file tree
Hide file tree
Showing 6 changed files with 1,194 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 112485e9c543b17fc08daea56c7a558b415d06af
refs/heads/master: a041a52c4d2b82e25de2267bce5f4dc3d2179b2a
3 changes: 3 additions & 0 deletions trunk/arch/arm/mach-omap2/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ config OMAP_PACKAGE_CUS
config OMAP_PACKAGE_CBP
bool

config OMAP_PACKAGE_CBL
bool

comment "OMAP Board Type"
depends on ARCH_OMAP2PLUS

Expand Down
1 change: 1 addition & 0 deletions trunk/arch/arm/mach-omap2/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ AFLAGS_sram34xx.o :=-Wa,-march=armv7-a
obj-$(CONFIG_ARCH_OMAP2420) += mux2420.o
obj-$(CONFIG_ARCH_OMAP2430) += mux2430.o
obj-$(CONFIG_ARCH_OMAP3) += mux34xx.o
obj-$(CONFIG_ARCH_OMAP4) += mux44xx.o

# SMS/SDRC
obj-$(CONFIG_ARCH_OMAP2) += sdrc2xxx.o
Expand Down
12 changes: 12 additions & 0 deletions trunk/arch/arm/mach-omap2/mux.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#include "mux2420.h"
#include "mux2430.h"
#include "mux34xx.h"
#include "mux44xx.h"

#define OMAP_MUX_TERMINATOR 0xffff

Expand Down Expand Up @@ -37,6 +38,9 @@
#define OMAP_OFF_PULL_UP (1 << 13)
#define OMAP_WAKEUP_EN (1 << 14)

/* 44xx specific mux bit defines */
#define OMAP_WAKEUP_EVENT (1 << 15)

/* Active pin states */
#define OMAP_PIN_OUTPUT 0
#define OMAP_PIN_INPUT OMAP_INPUT_EN
Expand All @@ -58,6 +62,7 @@

/* Flags for omapX_mux_init */
#define OMAP_PACKAGE_MASK 0xffff
#define OMAP_PACKAGE_CBL 7 /* 547-pin 0.40 0.40 */
#define OMAP_PACKAGE_CBP 6 /* 515-pin 0.40 0.50 */
#define OMAP_PACKAGE_CUS 5 /* 423-pin 0.65 */
#define OMAP_PACKAGE_CBB 4 /* 515-pin 0.40 0.50 */
Expand Down Expand Up @@ -239,6 +244,13 @@ int omap2430_mux_init(struct omap_board_mux *board_mux, int flags);
*/
int omap3_mux_init(struct omap_board_mux *board_mux, int flags);

/**
* omap4_mux_init() - initialize mux system with board specific set
* @board_mux: Board specific mux table
* @flags: OMAP package type used for the board
*/
int omap4_mux_init(struct omap_board_mux *board_mux, int flags);

/**
* omap_mux_init - private mux init function, do not call
*/
Expand Down
Loading

0 comments on commit 7ffb9ec

Please sign in to comment.