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 <mickamus...@gmail.com> 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 beagleboard+unsubscr...@googlegroups.com. > 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 beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.