25 Nov
2014
25 Nov
'14
11:03 p.m.
On Wed, Nov 19, 2014 at 10:52:46AM -0800, Kenneth Westfield wrote:
+static struct snd_soc_dai_link ipq_snd_dai[] = {
- /* Front end DAI Links */
- {
.name = "IPQ806x Media1",
.stream_name = "MultiMedia1",
.cpu_dai_name = "lpass-cpu-dai",
.platform_name = "lpass-pcm-mi2s",
.codec_dai_name = "snd-soc-dummy-dai",
.codec_name = "snd-soc-dummy",
- },
+};
OK, so the CODEC here is actually a dumb DAC with a GPIO enable? You should write a driver for this CODEC that imposes the constraints the device has and manages the GPIO, then it looks like you should be able to use simple-card.