Skip to content

Commit

Permalink
powerpc/mpc5200: Add AC97 register definitions for the MPC52xx PSC
Browse files Browse the repository at this point in the history
Needed by the PSC AC97 sound driver

Signed-off-by: Jon Smirl <[email protected]>
Signed-off-by: Grant Likely <[email protected]>
  • Loading branch information
jonsmirl authored and glikely committed Jul 22, 2008
1 parent 11d579e commit 6a4a636
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions include/asm-powerpc/mpc52xx_psc.h
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,12 @@ struct mpc52xx_psc {
u8 reserved5[3];
u8 ctlr; /* PSC + 0x1c */
u8 reserved6[3];
u16 ccr; /* PSC + 0x20 */
u8 reserved7[14];
/* BitClkDiv field of CCR is byte swapped in
* the hardware for mpc5200/b compatibility */
u32 ccr; /* PSC + 0x20 */
u32 ac97_slots; /* PSC + 0x24 */
u32 ac97_cmd; /* PSC + 0x28 */
u32 ac97_data; /* PSC + 0x2c */
u8 ivr; /* PSC + 0x30 */
u8 reserved8[3];
u8 ip; /* PSC + 0x34 */
Expand Down

0 comments on commit 6a4a636

Please sign in to comment.