Other Parts Discussed in Thread: TLV320AIC3100, BEAGLEBOARD-X15
Tool/software: Linux
I'm using processor sdk linux 5.02
Hello i'm trying to bringup tlv320aic3100 with am5728 based on beagleboard-x15.
Pinout are same as beagleboard x15.
Where my device tree is like this
sound0: sound0 { compatible = "simple-audio-card"; simple-audio-card,name = "BeagleBoard-X15"; simple-audio-card,widgets = "Line", "Line Out", "Line", "Line In"; simple-audio-card,routing = "Line Out", "SPK"; simple-audio-card,format = "dsp_b"; simple-audio-card,bitclock-master = <&sound0_master>; simple-audio-card,frame-master = <&sound0_master>; simple-audio-card,bitclock-inversion; simple-audio-card,cpu { sound-dai = <&mcasp3>; }; sound0_master: simple-audio-card,codec { sound-dai = <&tlv320aic31xx>; clocks = <&clkout2_clk>; }; }; tlv320aic31xx: tlv320aic31xx@18 { #sound-dai-cells = <0>; compatible = "ti,tlv320aic3100"; reg = <0x18>; assigned-clocks = <&clkoutmux2_clk_mux>; assigned-clock-parents = <&sys_clk2_dclk_div>; status = "okay"; ai31xx-micbias-vg = <MICBIAS_2_0V>; HPVDD-supply = <&vdd_3v3>; SPRVDD-supply = <&vdd_3v3>; SPLVDD-supply = <&vdd_3v3>; AVDD-supply = <&vdd_3v3>; IOVDD-supply = <&vdd_3v3>; DVDD-supply = <&aic_dvdd>; };
After this change kernel boot print below error
[ 2.395168] tlv320aic31xx-codec 0-0018: aic31xx_set_dai_sysclk: Unsupported frequency 22579200 [ 2.403844] tlv320aic31xx-codec 0-0018: simple-card: set_sysclk error [ 2.410326] asoc-simple-card sound0: ASoC: failed to init davinci-mcasp.0-tlv320aic31xx-hifi: -22 [ 2.419264] asoc-simple-card sound0: ASoC: failed to instantiate card -22 [ 2.436495] asoc-simple-card: probe of sound0 failed with error -22
Should i've to bypass mclk & use clk on bclk pin.
How to setup that interface.