In AM1707 EVM, I want to remove the audio codec(TLV320AIC3106) and add the device like a simple ADC instead.
This device can work only as a I2S slave, so CPU has to supply the BCLK and LRCLK for this as a I2S master.
Now CPU is configured as a I2S slave because the codec(TLV320AIC3106) is I2S master device.
Q1. How should I configure the setting of I2S from slave into master?
Q2. Finally I want to capture the output of this device via ALSA.
What should I do for this?
The detail of the output format of this device is the following.
----------------------------
data format : I2S
sample rate : 48000Hz
sample precision : 16bit
data bit rate : 1.536Mbps
channel : stereo
----------------------------