[alsa-devel] No sound captured with SGTL5000 on i.MX6 in I²S master mode

Jean-Michel Hautbois jean-michel.hautbois at vodalys.com
Thu Oct 9 16:26:49 CEST 2014


2014-10-09 16:18 GMT+02:00 Fabio Estevam <festevam at gmail.com>:
> On Thu, Oct 9, 2014 at 11:02 AM, Jean-Michel Hautbois
> <jean-michel.hautbois at vodalys.com> wrote:
>
>> Here is an extract of the DT :
>> / {
>>     sound {
>>         compatible = "fsl,imx6q-vbx3-sgtl5000",
>>                  "fsl,imx-audio-sgtl5000";
>
> I am confused here: you say you use the simple-card, but your DTS
> still shows imx-audio-sgtl5000.

I mentioned fsl-asoc-card, not simple card ?

> arch/arm/boot/dts/vf610-twr.dts shows an example of the usage of
> simple card with sgtl5000.
>
>> &i2c2 {
>>     clock-frequency = <100000>;
>>     pinctrl-names = "default";
>>     pinctrl-0 = <&pinctrl_i2c2>;
>>     status = "okay";
>>
>>     codec: sgtl5000 at 0a {
>>         compatible = "fsl,sgtl5000";
>>         reg = <0x0a>;
>>         clocks = <&clks 201>;
>>         VDDA-supply = <&vgen6_reg>;
>>         VDDIO-supply = <&vgen6_reg>;
>>         sysclk = <24000000>;
>
> This 'sysclk' property is unneeded.

Right, I removed it thanks.
JM


More information about the Alsa-devel mailing list