[alsa-devel] [PATCH] ASoC: Intel: hdac_hdmi: add Icelake support

Pierre-Louis Bossart pierre-louis.bossart at linux.intel.com
Wed Nov 14 17:55:26 CET 2018


On 11/14/18 10:44 AM, Takashi Iwai wrote:
> On Wed, 14 Nov 2018 17:41:27 +0100,
> Pierre-Louis Bossart wrote:
>>
>>>> So in theory all we need to add is a new table entry in skl.c,
>>>> e.g. with the following untested code. I'll have to check if this is
>>>> correct offline but it'd allow you to test the probe part.
>>>>
>>>> diff --git a/sound/soc/intel/skylake/skl.c b/sound/soc/intel/skylake/skl.c
>>>> index ac0b4ff21acc..375f4b60e515 100644
>>>> --- a/sound/soc/intel/skylake/skl.c
>>>> +++ b/sound/soc/intel/skylake/skl.c
>>>> @@ -1098,6 +1098,9 @@ static const struct pci_device_id skl_ids[] = {
>>>>           /* CNL */
>>>>           { PCI_DEVICE(0x8086, 0x9dc8),
>>>>                   .driver_data = (unsigned
>>>> long)&snd_soc_acpi_intel_cnl_machines},
>>>> +       /* CFL */
>>>> +       { PCI_DEVICE(0x8086, 0xa348),
>>>> +               .driver_data = (unsigned
>>>> long)&snd_soc_acpi_intel_cnl_machines}
>>>>           { 0, }
>>>>    };
>>> I've already tried it but this doesn't seem enough.  The similar
>>> addition for 0xa348 is needed in skl-messages.c for clk setup.
>>> (BTW, reloading the module after this error triggered the leftover
>>>    sysfs entries; you can try to inject the error and reproduce it.)
>>>
>>> After these changes, the driver was loaded, but it still complains
>>> about the lack of firmware (both SOF and fallback one).
>>> The binding with HDMI codec seems working, but the analog one is still
>>> missing.
>> Is this lack of firmware or firmware that won't boot due to
>> configuration issues?
> The former.  I'll check again after updating the linux-firmware
> package.

Strange, the CNL firmware has been around for some time.

git log intel/dsp_fw_cnl.bin
commit 89c62115f14dd8f414dfd2702913a6f1fcac3287
Author: Vinod Koul <vinod.koul at intel.com>
Date:   Mon Dec 4 09:04:57 2017 +0530

     linux-firmware: intel: Add Cannonlake audio firmware


>
>> If you can share the dmesg log somewhere it'd be interesting, I am
>> trying to help fix support for WHL and CFL *should* be similar (I
>> haven't checked the actual specs though).
> OK, will send you later.
>
>
> thanks,
>
> Takashi


More information about the Alsa-devel mailing list