From patchwork Mon Jul 26 15:54:24 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Chiu X-Patchwork-Id: 1510126 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=fzEVQwXz; 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 4GYPd04QjYz9sXS; Tue, 27 Jul 2021 01:54:44 +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 1m82w8-0003VO-32; Mon, 26 Jul 2021 15:54:36 +0000 Received: from smtp-relay-canonical-1.internal ([10.131.114.174] helo=smtp-relay-canonical-1.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1m82w3-0003Uz-1c for kernel-team@lists.ubuntu.com; Mon, 26 Jul 2021 15:54:31 +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-1.canonical.com (Postfix) with ESMTPSA id E82643F22E for ; Mon, 26 Jul 2021 15:54:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1627314870; bh=o61nAWDCHQPTmoIRdUgwaFcbiNIghXVkJDAf7xRmUnU=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=fzEVQwXzpoe8CWrWzaXshPFl6/geYpLvrJPstCVDajOaI1PdRGNJoaYbumFzhi7i5 N4lE3W6SWhSW1Fv+jwpHaNpSR3gJ8La181SMpEzvZVxoi6zE/bvdV+OnZ2rJVxKVMa gV/kz/96kSZtbl+JrXOV0RKRBsgiwV7OFXfoVvKeLAYAQ76byBFebyu2eajSBYRunk zO6MH+hCgsNqHMgTgtoo46w/uGugPtIp40H6Z8rDFhIHMvYlYmaqkAR22hJx6ErjKs SkJ9YDe2/ZvBghPe9MiNiutyDyBpC+dvsZEYS+V1l+STeVYgp1T53VdUMi7SS+cLn6 OEeCkKogMnDOQ== From: chris.chiu@canonical.com To: kernel-team@lists.ubuntu.com Subject: [PATCH 0/1][SRU][H/I] Fix no sound card detected problem on HDA+DMIC with skylake driver Date: Mon, 26 Jul 2021 23:54:24 +0800 Message-Id: <20210726155425.425811-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. Chris Chiu (1): UBUNTU: [Config] set CONFIG_SND_SOC_INTEL_SKYLAKE_HDAUDIO_CODEC to y debian.master/config/annotations | 3 +-- debian.master/config/config.common.ubuntu | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) Acked-by: Tim Gardner