Thx, But I can't see anything at the output :
I've enabled debug on two files, and i can see : [ 3.315883] snd-soc-dummy snd-soc-dummy: ASoC: dai register snd-soc-dummy #1 [ 3.315898] snd-soc-dummy snd-soc-dummy: ASoC: Registered DAI 'snd-soc-dummy-dai' [ 3.315913] snd-soc-dummy snd-soc-dummy: ASoC: Registered codec 'snd-soc-dummy' [ 3.315925] snd-soc-dummy snd-soc-dummy: ASoC: platform register snd-soc-dummy [ 3.315941] snd-soc-dummy snd-soc-dummy: ASoC: Registered platform 'snd-soc-dummy' [ 6.625830] davinci-mcasp 48038000.mcasp: ASoC: dai register 48038000.mcasp #1 [ 6.625871] davinci-mcasp 48038000.mcasp: ASoC: Registered DAI '48038000.mcasp' [ 6.626052] davinci-mcasp 48038000.mcasp: ASoC: Registered platform '48038000.mcasp' [ 6.898534] tlv320aic3x-codec 2-0018: ASoC: dai register 2-0018 #1 [ 6.898557] tlv320aic3x-codec 2-0018: ASoC: Registered DAI 'tlv320aic3x-hifi' [ 6.898580] tlv320aic3x-codec 2-0018: ASoC: Registered codec 'tlv320aic3x-codec.2-0018' [ 7.375455] asoc-simple-card sound: ASoC: binding davinci-mcasp.0-tlv320aic3x-hifi at idx 0 [ 7.376572] asoc-simple-card sound: ASoC: probe AudioCape Rev B dai link 0 late -2 [ 7.376599] asoc-simple-card sound: ASoC: probe AudioCape Rev B dai link 0 late -1 [ 7.376616] asoc-simple-card sound: ASoC: probe AudioCape Rev B dai link 0 late 0 [ 7.376633] asoc-simple-card sound: ASoC: probe AudioCape Rev B dai link 0 late 1 [ 7.376648] asoc-simple-card sound: ASoC: probe AudioCape Rev B dai link 0 late 2 but when I start playing an audio file, nothing happen. On i2c2, I can see that the beagleboneblack write some data to the tlv320aic3104, but on MCLK, nothing .... . I'm trying to find where i should put debug ^^ . Le mer. 29 juil. 2015 à 19:31, Robert Nelson <[email protected]> a écrit : > I rewrote the audio cape rev b late last week.. > > > https://github.com/beagleboard/bb.org-overlays/blob/master/src/arm/BB-BONE-AUDI-02-00A0.dts > > Regards, > > On Wed, Jul 29, 2015 at 11:19 AM, Micka <[email protected]> wrote: > > Hi, > > > > I wanted to know if someone has made the audio cap working on 4.1.3 ti > r6.2 > > ? > > > > my config : > > > > /* audio rev b */ > > mcasp0_pins_audio_revb: mcasp0_pins_audio_revb { > > pinctrl-single,pins = < > > 0x1ac (PIN_INPUT_PULLUP | MUX_MODE0) /* BONE_P9_25 mcasp0_ahclkx, OUTPUT > | > > MODE0, Codec MCLK */ > > 0x190 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* BONE_P9_31 mcasp0_aclkx, > INPUT | > > MODE0, Codec BCLK */ > > 0x194 (PIN_OUTPUT_PULLUP | MUX_MODE0) /* BONE_P9_29 mcasp0_fsx, INPUT | > > MODE0, Codec WCLK */ > > 0x198 0x20 /* BONE_P9_30 mcasp0_axr0, INPUT | MODE0, Codec DOUT */ > > 0x19c (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* BONE_P9_28 mcasp0_axr2, INPUT > | > > MODE2, Codec DIN */ > >>; > > }; > > > > ---------------------------------------- > > > > &mcasp0 { > > pinctrl-names = "default"; > > pinctrl-0 = <&mcasp0_pins_audio_revb>; > > 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>; > > }; > > > > &i2c2 { > > pinctrl-names = "default"; > > pinctrl-0 = <&i2c2_pins>; > > > > status = "okay"; > > clock-frequency = <100000>; > > /* add any i2c devices on the bus here */ > > tlv320aic3x: tlv320aic3x@18 { > > compatible = "ti,tlv320aic3x"; > > reg = <0x18>; > > ai3x-micbias-vg = <1>; > > status = "okay"; > > /* Regulators */ > > AVDD-supply = <&ldo4_reg>; > > IOVDD-supply = <&ldo4_reg>; > > DRVDD-supply = <&ldo4_reg>; > > }; > > }; > > > > /{ > > sound { > > compatible = "ti,da830-evm-audio"; > > ti,model = "DA830 EVM"; > > ti,audio-codec = <&tlv320aic3x>; > > ti,mcasp-controller = <&mcasp0>; > > ti,codec-clock-rate = <24000000>; > > ti,audio-routing = > > "Headphone Jack", "HPLOUT", > > "Headphone Jack", "HPROUT", > > "Line Out", "LLOUT", > > "Line Out", "RLOUT", > > "MIC3L", "Mic Jack", > > "MIC3R", "Mic Jack", > > "LINE1L", "Line In", > > "LINE2L", "Line In", > > "LINE1R", "Line In", > > "LINE2R", "Line In"; > > }; > > > > hdmi { > > compatible = "ti,tilcdc,slave"; > > i2c = <&i2c0>; > > pinctrl-names = "default", "off"; > > pinctrl-0 = <&nxp_hdmi_bonelt_pins>; > > pinctrl-1 = <&nxp_hdmi_bonelt_off_pins>; > > status = "okay"; > > }; > > }; > > > > ------------------- > > > > > > o Linux Kernel log : > > > > dmesg | grep tlv320aic3x > > > > [ 8.553572] davinci_evm sound: tlv320aic3x-hifi <-> 48038000.mcasp > > mapping ok > > > > > > o Linux : > > > > aplay --list-devices > > > > **** List of PLAYBACK Hardware Devices **** > > > > card 0: EVM [DA830 EVM], device 0: AIC3X tlv320aic3x-hifi-0 [] > > > > Subdevices: 1/1 > > > > Subdevice #0: subdevice #0 > > > > > > aplay --file-type wav /home/debian/Zelda.wav > > > > Playing WAVE '/home/debian/Zelda.wav' : Signed 16 bit Little Endian, Rate > > 20000 Hz, Mono > > > > > > At this moment, I'm stuck, tomorrow i will go to see the signal mcasp and > > see if something move .... . Any idea what is wrong with my config ? > > > > > > > > Micka, > > > > -- > > 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. > > > > -- > Robert Nelson > https://rcn-ee.com/ > > -- > 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.
