How to set slots in AC97 mode on iMX6? (Linux 3.0.35)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to set slots in AC97 mode on iMX6? (Linux 3.0.35)

1,343 Views
andreaszeiler
Contributor III

Hello,

I'm using a board with a imx6 and a wolfson wm9715L codec. The SSI of the imx6 is configured to variable mode. Slot0 of AC97 has some statusbits about following slots. How does the driver set these bits? Especially when I want to write to Address or Data Slot of AC97.

How can I set the statusbits for Slot 1 and 2 of AC97? I can't see any toggling of Address or Data Slots. And also the statusbits in Slot 0 are only available for Slot 3 and 4 (PCM Left/Right). When I play a sound I can see some data on the Databus. But i think that the codec is muted.

But I can not unmute the codec with alsamixer. The driver writes with "writel" to the registers for ADDRESS and DATA.

Does someone know where the problem could be?

Andi

Labels (6)
0 Kudos
1 Reply

519 Views
rajeshkannanbe
Contributor I

Hi Andreas Zeiler,

Did you solve this issue?

I faced same issue on AC97 iMX6.

But i have ported AC97 in WinCE refer linux driver.

It is going to mute in some time.

We can not recover un mute until restart the board.

First I have checked power down register in codec.

It solved mute issue.But i faced some other issue.

I changed read and write function.Then it is working fine.

Thanks

With Regards

Rajesh Kannan

0 Kudos