From patchwork Wed Jul 28 05:08:19 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Chiu X-Patchwork-Id: 1510729 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=c0SofyYK; dkim-atps=neutral Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4GZMBV3vfQz9sWw; Wed, 28 Jul 2021 15:08:34 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1m8bnv-0003FF-Rr; Wed, 28 Jul 2021 05:08:27 +0000 Received: from smtp-relay-canonical-0.internal ([10.131.114.83] helo=smtp-relay-canonical-0.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1m8bnt-0003F3-W5 for kernel-team@lists.ubuntu.com; Wed, 28 Jul 2021 05:08:25 +0000 Received: from localhost.localdomain (111-240-136-167.dynamic-ip.hinet.net [111.240.136.167]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-0.canonical.com (Postfix) with ESMTPSA id CBE48402AF for ; Wed, 28 Jul 2021 05:08:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1627448905; bh=4PLgkF2zlSC6qD4+ZYwrFFibQx//2pdEWPvBC/MN+Dk=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=c0SofyYK2PA+Q+k+lRbMLMIU40QMWl/eTKgenltezEEvEIFAqmqxsHJrG0LKiq+nh v1TQ9QR/L6biMr4jBc2+2dfKGWd8zeA8gGaH2UZZjm+eFMXL39eA4RB3JQTQDHHLrX zrS6vd2TjWyz/QI+FTHj/bR4ejO6xXAEdmaOJmt+GIiGs+8/vrUO18b0448Q2Tq2/I N9Z4eej2IFsn7D1DXVdmp/tJhLUgkGevM02gjTA3Pl7EpZt/n2Jv15QMLXiTjX1/cp vwjS1i/steqC3eg0b/iK2LbMvp6Lyh46kIZRd0N12YhpUxgocHlnNZpLAJv8avLmvM zyfCBJ8vaBexw== From: chris.chiu@canonical.com To: kernel-team@lists.ubuntu.com Subject: [PATCH v2 0/1][SRU][H/I] Fix no sound card detected problem on HDA+DMIC with skylake driver Date: Wed, 28 Jul 2021 13:08:19 +0800 Message-Id: <20210728050820.31433-1-chris.chiu@canonical.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" From: Chris Chiu BugLink: https://bugs.launchpad.net/bugs/1915117 [Impact] Skylake, Kabylake, Kabylake-refresh, Amberlake and some other platforms where audio is of SPT (PCH) type, HDA (with DSP capabilities) plus DMIC configuration is supported on these with skylake driver since kernel 5.8. However, no sound card can be detected w/o the topology binary file in /lib/firmware and corresponding ucm file. [Fix] The kernel config CONFIG_SND_SOC_INTEL_SKYLAKE_HDAUDIO_CODEC needa to be enabled for the snd_soc_skl driver to support HDA+DMIC configuration. And the topology binary file and UCM files need to be located in the correct path based on Intel's suggestion. https://gist.github.com/crojewsk/4e6382bfb0dbfaaf60513174211f29cb. [Test] On the Skylake/Kabylake platforms with either the PCI device 8086:9d70 and 8086:9d71, boot up the machine and check the existence of the sound card by either 'aplay -l' or 'pactl list' command. [Where problems could occur] Should be low risk, it only affects limited Intel Platforms with particular PCI device IDs + HDA plus DMIC configuration. V2: Use the LP:1915117 for note intead of deprecated for the CONFIG_SND_SOC_INTEL_SKYLAKE_HDAUDIO_CODEC enforcement. Chris Chiu (1): UBUNTU: [Config] set CONFIG_SND_SOC_INTEL_SKYLAKE_HDAUDIO_CODEC to y debian.master/config/annotations | 4 ++-- debian.master/config/config.common.ubuntu | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) Acked-by: Tim Gardner Acked-by: Kelsey Skunberg