[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1330150cda9f47eb88497fc10fb2b045@BY2PR0301MB0613.namprd03.prod.outlook.com>
Date: Mon, 1 Sep 2014 02:57:05 +0000
From: "Li.Xiubo@...escale.com" <Li.Xiubo@...escale.com>
To: Jean-Francois Moine <moinejf@...e.fr>
CC: "broonie@...nel.org" <broonie@...nel.org>,
"alsa-devel@...a-project.org" <alsa-devel@...a-project.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
Kuninori Morimoto <kuninori.morimoto.gx@...esas.com>,
Jyri Sarha <jsarha@...com>,
Nicolin Chen <nicoleotsuka@...il.com>
Subject: RE: [RFC][PATCH] ASoC: simple-card: Merge single and muti DAI link
code.
> > ---
> >
> > Hi,
> >
> > This patch will break the old DT, so i just send one RFC version, and
> > will add the old DT patches in next version if this patch can work
> > well.
> >
> > Any comments and advices are welcome.
>
> Hi Xiubo,
>
> My DT is
>
> sound {
> compatible = "simple-audio-card";
> simple-audio-card,name = "Cubox Audio";
>
> simple-audio-card,dai-link@0 { /* I2S - HDMI */
> format = "i2s";
> cpu {
> sound-dai = <&audio1 0>;
> };
> codec {
> sound-dai = <&hdmi 0>;
> };
> };
> ...
>
> I was getting 0x1001 as the format (codec clk & FRM master and i2s').
>
> With your patch, I get 0x4000 (clk master & frame slave and no format).
>
Well, yes, If your DAI link's bit clock & frame using the CODEC as master,
You should specify it in your DAI link node like:
> sound {
> compatible = "simple-audio-card";
> simple-audio-card,name = "Cubox Audio";
>
> simple-audio-card,dai-link@0 { /* I2S - HDMI */
> format = "i2s";
> cpu {
> sound-dai = <&audio1 0>;
> };
> codec {
> sound-dai = <&hdmi 0>;
> };
bitclock-master;
frame-master;
> };
> ...
And the reason for cannot parsing the "i2s" format is that there is one bug
in this patch and I will fix it in next version.
Thanks very much for your comment.
BRs
Xiubo
Powered by blists - more mailing lists