]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
powerpc/mpc5200: Add AC97 register definitions for the MPC52xx PSC
authorJon Smirl <jonsmirl@gmail.com>
Sun, 20 Jul 2008 15:27:22 +0000 (11:27 -0400)
committerGrant Likely <grant.likely@secretlab.ca>
Tue, 22 Jul 2008 07:13:11 +0000 (01:13 -0600)
Needed by the PSC AC97 sound driver

Signed-off-by: Jon Smirl <jonsmirl@gmail.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
include/asm-powerpc/mpc52xx_psc.h

index 710c5d36efaa08496f1a473633acfdf132b3eba1..5467c2c0faa776c61fb41f6f0c3d8b503e540d8b 100644 (file)
@@ -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 */