From: Jesse Forgues <jesseco...@gmail.com> Reply-To: "beagleboard@googlegroups.com" <beagleboard@googlegroups.com> Date: Wednesday, June 18, 2014 at 3:49 PM To: "beagleboard@googlegroups.com" <beagleboard@googlegroups.com> Subject: Re: [beagleboard] Changing BB-BONE-AUDI-02-00A0 from McASP AXR2 to AXR3
> True but the serializer seems to set the direction for us... Just looked in /sound/soc/davinci/davinci_mcasp.c and the code sets the PDIR register based on the contents of serial-dir so you are correct, there is no need to set the pin I/O direction. Regards, John > > > bone_audio_cape_audio_pins: pinmux_bone_audio_cape_audio_pins { > > pinctrl-single,pins = < > > 0x1ac 0x00 /* mcasp0_ahclkx, OUTPUT | MODE0 */ > > 0x194 0x20 /* mcasp0_fsx, INPUT | MODE0 */ > > 0x190 0x20 /* mcasp0_aclkx, INPUT | MODE0 */ > > 0x198 0x20 /* mcasp0_axr0, INPUT | MODE0 */ > > 0x1a8 0x20 /* mcasp0_axr1, INPUT | MODE0 */ > > 0x19c 0x22 /* mcasp0_axr2, INPUT | MODE2 */ > > 0x1a4 0x22 /* mcasp0_axr3, INPUT | MODE2 */ > >> >; > > > > serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */ > > 2 2 1 1 > > 0 0 0 0 > > 0 0 0 0 > > 0 0 0 0 > >> >; > > tx-num-evt = <1>; > > rx-num-evt = <1>; > > -- > 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. -- 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.