From patchwork Mon Oct 17 20:40:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre-Louis Bossart X-Patchwork-Id: 616097 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BEF09C433FE for ; Mon, 17 Oct 2022 20:42:52 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 988BA8A8A; Mon, 17 Oct 2022 22:42:00 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 988BA8A8A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1666039370; bh=Yrigc0JAVtssPz+hQ7J+krSZ0jRrNxS8+KVtdOutQIw=; h=From:To:Subject:Date:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=q60JeLV+MDWBdsFNhkY+z7MUXY45rc+lKRonuvmSQ8tapiNjohW5OE9LlGTJZhggT bY3hnc0/sUYP6BuMwaaFPrMBnxFwzNNNSJGnck60RcAQkum9kw6P9G7lbA12lc7MzX cCpJ4V0lZK9yyxJL2fsQPNUB7mVAjoUKt3cazZHc= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 4A1ABF80496; Mon, 17 Oct 2022 22:42:00 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id E5F4DF80496; Mon, 17 Oct 2022 22:41:59 +0200 (CEST) Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 4E04BF80149 for ; Mon, 17 Oct 2022 22:41:52 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 4E04BF80149 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="D6P5Wwj8" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1666039314; x=1697575314; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=Yrigc0JAVtssPz+hQ7J+krSZ0jRrNxS8+KVtdOutQIw=; b=D6P5Wwj88EUvRQ6503FVBKaRnQBOm73LKwNCRIkcNSiVaWaRWzcF78mQ D6DlRAoxXzBbqiEFw4OH1J9z4N0T0fEz+YpypceFFyOhNOufFokxYjIep TlRuDsY0gU/WBjNngWxonbCRPHIuMwJdebDVcUsgBt0HfHCGUN0WOTqnM M1OQKOo4AnNzxau4IqwM56s7TFw2SUCDpFa8m7Y+/8NwhutY2IbBS+fmD 67rj5Kd/+oH/YFvon79OrPlH8ML7qz7mh1vO8BLhLFdPGvfA/UpgMMkne oFbFksLtfoID1JL5OEpS2XoCdSHibU/K7MNrHVDxjI1ezMVLpfozBP+tF Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10503"; a="367941937" X-IronPort-AV: E=Sophos;i="5.95,192,1661842800"; d="scan'208";a="367941937" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Oct 2022 13:41:05 -0700 X-IronPort-AV: E=McAfee;i="6500,9779,10503"; a="717630802" X-IronPort-AV: E=Sophos;i="5.95,192,1661842800"; d="scan'208";a="717630802" Received: from cmontgom-mobl1.amr.corp.intel.com (HELO pbossart-mobl3.intel.com) ([10.212.54.140]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Oct 2022 13:41:05 -0700 From: Pierre-Louis Bossart To: alsa-devel@alsa-project.org Subject: [PATCH] ASoC: Intel: sof_sdw: add quirk variant for LAPBC710 NUC15 Date: Mon, 17 Oct 2022 15:40:54 -0500 Message-Id: <20221017204054.207512-1-pierre-louis.bossart@linux.intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Cc: tiwai@suse.de, broonie@kernel.org, Bard Liao , Pierre-Louis Bossart , Ranjani Sridharan X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" Some NUC15 LAPBC710 devices don't expose the same DMI information as the Intel reference, add additional entry in the match table. BugLink: https://github.com/thesofproject/linux/issues/3885 Signed-off-by: Pierre-Louis Bossart Reviewed-by: Ranjani Sridharan Reviewed-by: Bard Liao --- sound/soc/intel/boards/sof_sdw.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/sound/soc/intel/boards/sof_sdw.c b/sound/soc/intel/boards/sof_sdw.c index 2ff30b40a1e4c..ee9857dc3135d 100644 --- a/sound/soc/intel/boards/sof_sdw.c +++ b/sound/soc/intel/boards/sof_sdw.c @@ -202,6 +202,17 @@ static const struct dmi_system_id sof_sdw_quirk_table[] = { SOF_SDW_PCH_DMIC | RT711_JD1), }, + { + /* NUC15 LAPBC710 skews */ + .callback = sof_sdw_quirk_cb, + .matches = { + DMI_MATCH(DMI_BOARD_VENDOR, "Intel Corporation"), + DMI_MATCH(DMI_BOARD_NAME, "LAPBC710"), + }, + .driver_data = (void *)(SOF_SDW_TGL_HDMI | + SOF_SDW_PCH_DMIC | + RT711_JD1), + }, /* TigerLake-SDCA devices */ { .callback = sof_sdw_quirk_cb,