Although it is not the reason for your problem, but you mentioned first
that the codec has the external frequency of 24MHz. Here is written only 12:
ti,codec-clock-rate = <12000000>;
19 Авг 2015 г. 8:18 пользователь "Dileep D R" <[email protected]>
написал:
>
> Hi,
>
> Interfacing TLV320AIC3254 with beaglebone black. Unable to play .wav with
> aplay. Below are my configurations, please let me know where i am going
> wrong.
>
> Kernel : 4.1
> Rootfs : Debian
>
> Clock source TLV320AIC3254 : Externel 24Mhz
>
>
> Device Tree:
>
> bone_audio_cape_audio_pins: pinmux_bone_audio_cape_audio_pins {
> pinctrl-single,pins = <
> 0x1ac (PIN_INPUT | MUX_MODE0) /*
> mcasp0_ahclkx, */
> 0x19c (PIN_OUTPUT_PULLUP | MUX_MODE2) /* mcasp0_ahclkr, */
> 0x194 (PIN_OUTPUT_PULLUP | MUX_MODE0) /* mcasp0_fsx, */
> 0x190 (PIN_OUTPUT_PULLUP | MUX_MODE0) /*
> mcasp0_aclkr.mcasp0_aclkx */
> 0x198 (PIN_OUTPUT_PULLUP | MUX_MODE0)
> >;
> };
>
> &i2c2 {
> pinctrl-names = "default";
> pinctrl-0 = <&i2c2_pins &sc16is7xx_pins>;
>
> status = "okay";
> clock-frequency = <100000>;
> tlv320aic32x4: tlv320aic32x4@18 {
> compatible = "ti,tlv320aic32x4";
> reg = <0x18>;
> status = "okay";
> };
> };
> &mcasp0 {
>
> pinctrl-names = "default";
> pinctrl-0 = <&bone_audio_cape_audio_pins>;
>
> status = "okay";
>
> op-mode = <0>; /* MCASP_IIS_MODE */
> tdm-slots = <2>;
> num-serializer = <16>;
> serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */
> 2 0 1 0
> 0 0 0 0
> 0 0 0 0
> 0 0 0 0
> >;
> tx-num-evt = <1>;
> rx-num-evt = <1>;
> };
>
> sound {
> compatible = "ti,beaglebone-black-audio";
> ti,model = "TI BeagleBone Black";
> ti,audio-codec = <&tlv320aic32x4>;
> ti,mcasp-controller = <&mcasp0>;
> ti,codec-clock-rate = <12000000>;
> ti,audio-routing =
> "Headphone Jack", "HPLOUT",
> "Headphone Jack", "HPROUT",
> "LINE1L", "Line In",
> "LINE1R", "Line In";
> clock-names = "mclk";
> };
>
> dmesg log:
>
> [ 15.986046] tlv320aic32x4 2-0018: Failed getting the mclk. The current
> implementation does not support the usage of this codec without mclk
> [ 16.125732] tilcdc 4830e000.lcdc: no encoders/connectors found
> [ 16.156996] tlv320aic32x4: probe of 2-0018 failed with error -2
> [ 16.181105] tilcdc 4830e000.lcdc: failed to initialize mode setting
> [ 16.309482] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
> [ 16.619921] ERROR: could not get clock /sound:mclk(0)
> [ 16.625080] davinci_evm sound: ASoC: CODEC DAI hdmi-hifi not registered
> [ 16.773564] davinci_evm sound: snd_soc_register_card failed (-517)
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.