Hi, we use pcm3060 under Linux, and only one ADC and DAC can work.
In terms of hardware design,The DIN and DOUT of the pcm3060 are connected to the same I2S of the SoC, as follows:
The software is the driver program provided by the official.
And I have two questions:
1. Is our hardware design reasonable?Can DIN and DOUT pins be connected to the same I2S on the Soc?
2. We have referred to the drivers of many codec chips under Linux kernel4.9 and kernel5.1. ADC and DAC are usually integrated into one codec dai, while the pcm3060 codec dai is divided into two separate control interfaces, ADC and DAC. Can they be integrated into one in the pcm3060 driver? As shown in the following picture: