Ok but is sufficient to write only the platform driver
and assign a dummy codec to it
(like for example in sound/soc/fsl/imx-spdif.c in probe function
.....
data->dai.name = "S/PDIF PCM";
data->dai.stream_name = "S/PDIF PCM";
data->dai.codec_dai_name = "snd-soc-dummy-dai";
data->dai.codec_name = "snd-soc-dummy";
data->dai.cpu_of_node = spdif_np;
data->dai.platform_of_node = spdif_np;
data->dai.playback_only = true;
data->dai.capture_only = true;
....
or what I need to initializate in codec driver?
on my evaluation board I have an sgtl5000 codec but the codec driver is full of function to setup regulator, volume, etc
ALl I need is a "dummy" i2s master output driver without i2c