Re: [PATCH] ASoC: Intel: hdac_hdmi: add Icelake support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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@xxxxxxxxx>
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
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel




[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux