Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6a4a636f authored by Jon Smirl's avatar Jon Smirl Committed by Grant Likely
Browse files

powerpc/mpc5200: Add AC97 register definitions for the MPC52xx PSC



Needed by the PSC AC97 sound driver

Signed-off-by: default avatarJon Smirl <jonsmirl@gmail.com>
Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
parent 11d579ee
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -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 */