AnsweredAssumed Answered

音频Codec芯片的时钟

Question asked by 康茂 李 on Jun 4, 2019
Latest reply on Jun 12, 2019 by Wigros Sun

您好!

当前我们的处理器芯片为i.MX 6Solo/6DualLite双核,音频Codec芯片使用的TAS2505芯片, Codec芯片主时钟信号由CPU引脚GPIO_19/CCM_CLK01提供,芯片驱动加载完成后,用示波器测量发现主时钟信号无输出,设备树的配置如下所示,不知道哪里出了问题,希望得到您的帮助,谢谢!

sound {
compatible = "fsl,imx-audio-tlv320";
model = "imx-tlv320";
ssi-controller = <&ssi1>;
audio-codec = <&codec>;
audio-routing =
"SPK", "Speaker Jack",
"Headphone Jack", "HPOUT";
mux-int-port = <1>;
mux-ext-port = <4>;
codec-master;
};

 

codec: tas2505@18 {
compatible = "ti,tas2505";
reg = <0x18>;
clocks = <&clks IMX6QDL_CLK_CKO1>;
clock-frequency = <12000000>;
};

 

&ssi1 {
fsl,mode = "i2s-slave";
status = "okay";
};

 

&audmux {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_audmux>;
};

 

&iomuxc {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_hog>;

imx6qdl-wisehmi {
pinctrl_hog: hoggrp {
fsl,pins = <
MX6QDL_PAD_GPIO_19__CCM_CLKO1 0x1b0b1
>;
};

 

pinctrl_audmux: audmuxgrp {
fsl,pins = <
MX6QDL_PAD_CSI0_DAT7__AUD3_RXD 0x130b0
MX6QDL_PAD_CSI0_DAT4__AUD3_TXC 0x130b0
MX6QDL_PAD_CSI0_DAT5__AUD3_TXD 0x110b0
MX6QDL_PAD_CSI0_DAT6__AUD3_TXFS 0x130b0

MX6QDL_PAD_DISP0_DAT23__AUD4_RXD 0x130b0
MX6QDL_PAD_DISP0_DAT20__AUD4_TXC 0x130b0
MX6QDL_PAD_DISP0_DAT21__AUD4_TXD 0x110b0
MX6QDL_PAD_DISP0_DAT22__AUD4_TXFS 0x130b0
>;
};

Outcomes