Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 28975
b: refs/heads/master
c: f2c780c
h: refs/heads/master
i:
  28973: 92c0b10
  28971: 53d2e0c
  28967: 6783c52
  28959: ee39a36
v: v3
  • Loading branch information
Sergei Shtylyov authored and Linus Torvalds committed Jun 23, 2006
1 parent 4312189 commit 252ef28
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c52c17622e27876c2395f59cfe342497a399de41
refs/heads/master: f2c780c1fdbe5008c902c2d7e37242ac5e60f0b9
9 changes: 8 additions & 1 deletion trunk/include/asm-mips/mach-au1x00/au1xxx_psc.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,12 @@
#define PSC0_BASE_ADDR 0xb1a00000
#define PSC1_BASE_ADDR 0xb1b00000
#define PSC2_BASE_ADDR 0xb0a00000
#define PSC3_BASE_ADDR 0xb0d00000
#define PSC3_BASE_ADDR 0xb0b00000
#endif

#ifdef CONFIG_SOC_AU1200
#define PSC0_BASE_ADDR 0xb1a00000
#define PSC1_BASE_ADDR 0xb1b00000
#endif

/* The PSC select and control registers are common to
Expand Down Expand Up @@ -227,6 +232,8 @@ typedef struct psc_i2s {
#define PSC_I2SCFG_DD_DISABLE (1 << 27)
#define PSC_I2SCFG_DE_ENABLE (1 << 26)
#define PSC_I2SCFG_SET_WS(x) (((((x) / 2) - 1) & 0x7f) << 16)
#define PSC_I2SCFG_WS(n) ((n & 0xFF) << 16)
#define PSC_I2SCFG_WS_MASK (PSC_I2SCFG_WS(0x3F))
#define PSC_I2SCFG_WI (1 << 15)

#define PSC_I2SCFG_DIV_MASK (3 << 13)
Expand Down
12 changes: 12 additions & 0 deletions trunk/include/asm-mips/mach-db1x00/db1x00.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,20 @@


#ifdef CONFIG_MIPS_DB1550

#define DBDMA_AC97_TX_CHAN DSCR_CMD0_PSC1_TX
#define DBDMA_AC97_RX_CHAN DSCR_CMD0_PSC1_RX
#define DBDMA_I2S_TX_CHAN DSCR_CMD0_PSC3_TX
#define DBDMA_I2S_RX_CHAN DSCR_CMD0_PSC3_RX

#define SPI_PSC_BASE PSC0_BASE_ADDR
#define AC97_PSC_BASE PSC1_BASE_ADDR
#define SMBUS_PSC_BASE PSC2_BASE_ADDR
#define I2S_PSC_BASE PSC3_BASE_ADDR

#define BCSR_KSEG1_ADDR 0xAF000000
#define NAND_PHYS_ADDR 0x20000000

#else
#define BCSR_KSEG1_ADDR 0xAE000000
#endif
Expand Down
2 changes: 1 addition & 1 deletion trunk/sound/oss/au1550_ac97.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@
#include <asm/io.h>
#include <asm/uaccess.h>
#include <asm/hardirq.h>
#include <asm/mach-au1x00/au1000.h>
#include <asm/mach-au1x00/au1xxx_psc.h>
#include <asm/mach-au1x00/au1xxx_dbdma.h>
#include <asm/mach-au1x00/au1xxx.h>

#undef OSS_DOCUMENTED_MIXER_SEMANTICS

Expand Down

0 comments on commit 252ef28

Please sign in to comment.