[PATCH 2/2] ARM: Dove: Add the audio device to the Cubox DT
Sebastian Hesselbarth
sebastian.hesselbarth at gmail.com
Thu Sep 26 04:31:10 EDT 2013
On 09/26/2013 10:11 AM, Jean-Francois Moine wrote:
> In the Cubox, I changed the audio DT to:
>
> &i2s1 {
> status = "okay";
> clocks = <&gate_clk 13>, <&si5351 1>;
> clock-names = "internal", "extclk";
> pinctrl-0 = <&pmx_audio1_i2s1_spdifo &pmx_gpio_13_audio1>;
Have you checked that pinmux was configured correctly?
You are missing a
pinctrl-names = "default";
to actually execute the above pinmux setting.
> };
>
> and the sound does not get out correctly.
>
> There is no sound at all, except when restarting playing which gives
> some shrill sound for half a second at start time.
Could be clock setup stability issues on si5351. Will check that later
with a scope, maybe I also check spdif output rate with it too.
> I lowered the rate in kirkwood-i2s, setting the clock by (* 128)
> instead of (* 256), and, most of the time, this gives continuous shrill
> and chopped sound at various sample rates (22.05, 32 and 44.1 kHz).
> Lowering the clock to (* 64) gives no sound at all.
What about trying to get 48kHz working first? Does it work with
internal DCO and 48kHz? External audio clock should be 256*fs as stated
in dove datasheet.
> For more information, I use i2s input in the tda998x with audio rate
> 96kHz on HDMI output. The sound is fine with the internal dco (tested
> with 44.1kHz only).
Sorry, I don't understand the above "information". How can you have a
different input audio rate tested with 44k1 output rate?
> Some idea?
Have you ever tested your audio equipment with something different than
48k and 44k1 SPDIF PCM? Are you actually sure it works at all, i.e. do
you have different audio source with SPDIF >48kHz? Can you try optical
SPDIF instead of HDMI?
Just try to narrow it down, currently I cannot see why this behavior
should be limited to either si5351 or dove audio alone.
Sebastian
More information about the linux-arm-kernel
mailing list