Part Number:TDA4VM
原J721EXCPXEVM扩展板中使用的芯片为PCM3168APAP,在设备树中,此芯片的驱动程序与mscap10共同组成了sound声卡驱动,映射到sound下的j721e-evm.c中,现在音频芯片更换成了TLV320AIC3109,在修改了设备树文件后,是否要修改j721e-evm.c文件来适配该芯片驱动?请问是否有TLV320AIC3109驱动设备树例程可供参考?
Shine:
已转给e2e工程师,请看下面产品线工程师的回复。Typically dts changes with the corresponding config enabling should be good. I am not the audio expert. I am commenting more from the Linux angle.https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1273708/tda4vm-tlv320aic3109-sound-driver
,
pitang niu:
麻烦请您将下面的dts设备节点代码转发给他浏览:
sound0: sound@0 { compatible = "simple-audio-card"; simple-audio-card,name = "TI BeagleBone Black"; #sound-dai-cells = <0>; clocks = <&k3_clks 184 1>, <&k3_clks 184 2>, <&k3_clks 184 4>, <&k3_clks 157 371>, <&k3_clks 157 400>, <&k3_clks 157 401>; clock-names = "cpb-mcasp-auxclk", "cpb-mcasp-auxclk-48000", "cpb-mcasp-auxclk-44100", "cpb-codec-scki", "cpb-codec-scki-48000", "cpb-codec-scki-44100"; simple-audio-card,dai-link@0 { format = "dsp_a"; bitclock-master = <&sound0_master>; frame-master = <&sound0_master>; sound0_master: cpu { sound-dai = <&mcasp10>; }; codec { sound-dai = <&tlv320aic3109>; }; }; };
&mcasp10 { #sound-dai-cells = <0>; pinctrl-names = "default"; pinctrl-0 = <&mcasp10_pins_default>; status = "okay"; op-mode = <0>; /* MCASP_IIS_MODE */ tdm-slots = <4>; auxclk-fs-ratio = <256>; serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */ 1 2 0 0 0 0 0 0 >; tx-num-evt = <32>; rx-num-evt = <32>;
};
tlv320aic3109: tlv320aic3109@18 { compatible = "ti,tlv320aic3x"; reg = <0x18>; #sound-dai-cells = <0>; pinctrl-names = "default"; pinctrl-0 = <&tlv320aic3x_reset_pin_default>; reset-gpios = <&main_gpio0 111 GPIO_ACTIVE_LOW>; };
音频设备的供电是提前给上的,不需要在设备树中指明,I2C通讯正常,请问设备树DTS描述中有哪些错误,请指正
,
Shine:
已跟进!