[alsa-devel] ASoC: CPU DAI samsung-i2s.0 not registered

Michael Trimarchi michael at amarulasolutions.com
Thu Aug 14 07:10:38 CEST 2014


Hi

Il 14/ago/2014 06:12 "Matt Flax" <flatmax at flatmax.org> ha scritto:
>
> Thanks for the idea ... I have set this :
>     i2s0: i2s at 03830000 {
>         status = "okay";
>     };
>
> and I get the same problem.
>
> Is there anything else which is required to register the samsun-i2s.0
driver ?
> Can you tell me whether my codec/driver requires any code to register the
i2s0 ?
>
> I have the following in my driver :
> static struct snd_soc_dai_link implant_dai = {
>     .name        = "implant bva",
>     .stream_name    = "IMPLANT",
>     .cpu_dai_name = "samsung-i2s.0",
>     .codec_dai_name = "implant-pcm",
>     .platform_name = "samsung-i2s.0",
>     .codec_name    = "implant-codec",
> };
>
> thanks
> Matt
>

What version of the kernel are you using?

Michael

>
> On 14/08/14 12:28, Inha Song wrote:
>>
>> Hi,
>>
>> Did you set to i2s0 status?
>>
>> -> status = "okay";
>>
>> Best regards,
>> Inha Song.
>>
>> On Thu, 14 Aug 2014 12:19:26 +1000
>> Matt Flax <flatmax at flatmax.org> wrote:
>>
>>> Hi there,
>>>
>>> Any ideas why this problem is coming up when I try to load a driver ?
>>>
>>> Here is the device tree :
>>>
>>>       i2s0: i2s at 03830000 {
>>>           compatible = "samsung,i2s-v5";
>>>           reg = <0x03830000 0x100>;
>>>           dmas = <&pdma0 10
>>>               &pdma0 9
>>>               &pdma0 8>;
>>>           dma-names = "tx", "rx", "tx-sec";
>>>           clocks = <&clock_audss EXYNOS_I2S_BUS>,
>>>               <&clock_audss EXYNOS_I2S_BUS>,
>>>               <&clock_audss EXYNOS_SCLK_I2S>;
>>>           clock-names = "iis", "i2s_opclk0", "i2s_opclk1";
>>>           samsung,supports-6ch;
>>>           samsung,supports-rstclr;
>>>           samsung,supports-secdai;
>>>           samsung,idma-addr = <0x03000000>;
>>>           pinctrl-names = "default";
>>>           pinctrl-0 = <&i2s0_bus>;
>>>       };
>>>
>>>       implant: implant at 0 {
>>>               compatible = "bva,implant";
>>>       };
>>>
>>>       sound {
>>>           compatible = "bva,implant-bva";
>>>
>>>           samsung,i2s-controller = <&i2s0>;
>>>           samsung,audio-codec = <&implant>;
>>>       };
>>>
>>> _______________________________________________
>>> Alsa-devel mailing list
>>> Alsa-devel at alsa-project.org
>>> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
>>
>> _______________________________________________
>> Alsa-devel mailing list
>> Alsa-devel at alsa-project.org
>> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
>
>
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel at alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel


More information about the Alsa-devel mailing list