From patchwork Thu Nov 10 22:54:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Pierre-Louis Bossart X-Patchwork-Id: 623341 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 EEAADC4332F for ; Thu, 10 Nov 2022 22:56:56 +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 2C5621680; Thu, 10 Nov 2022 23:56:05 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 2C5621680 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1668121015; bh=VGlH5GhfLEic8kRjr4021dFEJa7G0hebO9wt5hfWNiI=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=bfinO7o+KS94HVomt51DNuQ1gVeLhsalp7DzhlHXlzgDlX9Ipj6DhuUDLjzF0LHtF qGo34bXJ493ePZ/LBaVKa0NSrQ9kFyDZl8vBtADbvGn6dZq0bq0iaHezfSPnizOmm2 RhqEk8FAmUpKIdcGQBSdnlRmqLttumglfxffI54k= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 11B28F80566; Thu, 10 Nov 2022 23:55:21 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 8F8A9F8055A; Thu, 10 Nov 2022 23:55:19 +0100 (CET) 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 1D5C5F80548 for ; Thu, 10 Nov 2022 23:55:12 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 1D5C5F80548 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="nqxqHyw3" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1668120914; x=1699656914; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=VGlH5GhfLEic8kRjr4021dFEJa7G0hebO9wt5hfWNiI=; b=nqxqHyw3W5gdEDPHNX+/2rbnoPWkJOKv8IgWLtICe/6R73vfk3Q3H5L1 jhhiux1S7mq7lszcF0aEkYkYGdoWycVkGii3bUPXNbHFWx8nADORhrd1N WR2NaA8LdH360vu7nHyJrCS9/4w/8CjiflPTTet33nUnHo4Nii8PGIM96 bH0G354uYSnn4dxINe0lD2zhOK9MCsE/HdQjIK/rfC/DJy9gTkUOdMV1C GFIRA18ge2NhygOMYw5r0fADrOCBTOXTDC3XVLTv2BztjdQCeOmYCE4XC Ddu9+IYewnlO6d5AEjwDDA+zyMldP3prwCHQV4RsuNURKlCS1QSCX2CkT g==; X-IronPort-AV: E=McAfee;i="6500,9779,10527"; a="373588041" X-IronPort-AV: E=Sophos;i="5.96,155,1665471600"; d="scan'208";a="373588041" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Nov 2022 14:55:12 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10527"; a="670533797" X-IronPort-AV: E=Sophos;i="5.96,155,1665471600"; d="scan'208";a="670533797" Received: from tleibov-mobl.ger.corp.intel.com (HELO pbossart-mobl3.intel.com) ([10.214.199.216]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Nov 2022 14:55:08 -0800 From: Pierre-Louis Bossart To: alsa-devel@alsa-project.org Subject: [PATCH 3/5] ASoC: Intel: sof_sdw: Add support for SKU 0C40 product Date: Thu, 10 Nov 2022 16:54:30 -0600 Message-Id: <20221110225432.144184-4-pierre-louis.bossart@linux.intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221110225432.144184-1-pierre-louis.bossart@linux.intel.com> References: <20221110225432.144184-1-pierre-louis.bossart@linux.intel.com> MIME-Version: 1.0 Cc: Kai Vehmanen , tiwai@suse.de, Gongjun Song , =?utf-8?q?P=C3=A9ter_Ujfalusi?= , Pierre-Louis Bossart , broonie@kernel.org, Bard Liao 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" From: Gongjun Song SKU 0C40 product supports a SoundWire headset codec, SoundWire capture from local microphones and two SoundWire amplifiers. Reviewed-by: Kai Vehmanen Reviewed-by: Bard Liao Reviewed-by: Péter Ujfalusi Signed-off-by: Gongjun Song Signed-off-by: Pierre-Louis Bossart --- sound/soc/intel/boards/sof_sdw.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/sound/soc/intel/boards/sof_sdw.c b/sound/soc/intel/boards/sof_sdw.c index ed4ca10b67104..47f743debc72c 100644 --- a/sound/soc/intel/boards/sof_sdw.c +++ b/sound/soc/intel/boards/sof_sdw.c @@ -366,6 +366,16 @@ static const struct dmi_system_id sof_sdw_quirk_table[] = { .driver_data = (void *)(SOF_SDW_TGL_HDMI | SOF_SDW_FOUR_SPK), }, + { + .callback = sof_sdw_quirk_cb, + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc"), + DMI_EXACT_MATCH(DMI_PRODUCT_SKU, "0C40") + }, + .driver_data = (void *)(SOF_SDW_TGL_HDMI | + RT711_JD2 | + SOF_SDW_FOUR_SPK), + }, /* MeteorLake devices */ { .callback = sof_sdw_quirk_cb,