Hi Mauro,
Add machine driver to support APL/GLK/TGL platforms. The TGL platform supports DMIC, APL and GLK do not.
I just bought a Comet Lake notebook with ES8336, but I'm having a hard time to make audio work on it.
Yes, we're aware of this design and we've tried to help. There's a series of devices based on this I2C/I2S device, which is the exception to the rule that all Windows-based designs are based on HDaudio or SoundWire. Intel wasn't informed of this device so we we've added quirks device after device, as bug reports came in.
The CometLake enablement is tracked at https://github.com/thesofproject/linux/issues/3248
I will upstream the two quirks for CometLake later today.
The latest hacky recipe to get the driver to probe is at https://github.com/thesofproject/linux/pull/3107
There is still work to do for the 'topology' part. The comment https://github.com/thesofproject/linux/issues/3248#issuecomment-959573378 has a tar file with 3 possible options for the I2S/SSP connection.
The remaining part will be the codec driver, which is problematic for now, we're still waiting for updates from the vendor and it's unclear if/when they will be submitted.
Hope this helps -Pierre