On 10/02/2017 11:14 AM, Nicola Lunghi wrote:
Dear Pierre Louis
We are having problems enabling I2S output with the UP board.
We have currently two boards one based on Cherry Trail Platform and one on the Apollo Lake.
We want for now enable only I2S output without codec on kernel 4.9/4.10.
Can you give us some hint about the required ACPI asl code to add in the ACPI and if there's something else required in the Linux kernel?
in theory all you need to do is enable the NOCODEC option, make sure that all other machine drivers are removed from the build and only add in ASL the bare minimum to make the audio DSP enumerate (as in make sure that all codecs are removed from the BIOS as well).
On Minnowboard MAX, I used this code https://github.com/plbossart/MinnowBoardMaxFirmware/blob/master/AudioSsdtUpd...
You would need to compare with the existing BIOS since there might be some differences with CHT.
I have not done this work on APL and it's likely different since it's based on PCI.