Hi all,
i am working on interfacing omap4460 with wm8280 codec. in this i am using mcbsp1 for connecting with codec. in the driver i have edited in sound/soc/omap/omap-abe.c as following
/* BT_DL connection to McBSP 1 ports */
format.f = 8000;
format.samp_format = STEREO_RSHIFTED_16;
abe_connect_serial_port(BT_VX_DL_PORT, &format, MCBSP1_TX);
omap_abe_port_enable(abe_priv->abe,
abe_priv->port[OMAP_ABE_BE_PORT_BT_VX_DL]);
format.f = 8000;
format.samp_format = STEREO_RSHIFTED_16;
abe_connect_serial_port(BT_VX_UL_PORT, &format, MCBSP1_RX);
omap_abe_port_enable(abe_priv->abe,
abe_priv->port[OMAP_ABE_BE_PORT_BT_VX_UL]);
----------------------------------------------------------------------------------------------------------------------------------------------
configured dai format as:
(codec_dai, SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF | SND_SOC_DAIFMT_CBM_CFM);
(cpu_dai, SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF | SND_SOC_DAIFMT_CBM_CFM);
----------------------------------------------------------------------------------------------------------------------------------------------
WM8280 -> master
omap4460-> slave
----------------------------------------------------------------------------------------------------------------------------------------------
in WM8280 i have configured as
1.mode as i2s
2.frames size as 64
3. 32 bclks per slots
4.16 valid bits per slot
-----------------------------------------------------------------------------------------------------------------------------------------------
note: i am using andriod 4.4.2. i have not changed anything in audio_hw.c
------------------------------------------------------------------------------------------------------------------------------------------------
by above configurations i get audio as only one channel(left) and in right channel i get only noise for both playback and capture.
is there any other files to change in order get stereo in mcbsp1?...
please tell me some pointers where i can find solution for my problem.?.
thankyou,