From patchwork Mon Dec 12 08:53:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: You-Sheng Yang X-Patchwork-Id: 1714888 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4NVwRB1jrxz23np for ; Mon, 12 Dec 2022 19:54:14 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1p4eZU-0004AZ-1c; Mon, 12 Dec 2022 08:54:00 +0000 Received: from mail-pl1-f177.google.com ([209.85.214.177]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1p4eZD-0003D6-FY for kernel-team@lists.ubuntu.com; Mon, 12 Dec 2022 08:53:43 +0000 Received: by mail-pl1-f177.google.com with SMTP id p24so11383126plw.1 for ; Mon, 12 Dec 2022 00:53:31 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=zPW+wKNzQjeUiYE+jD4mgjBTS6T3m2x8xZkDmLN1gzQ=; b=4nMCt6jdbczpgDjRyJGM92yIr8SVi5GVJwVZpb71BBUntYsevd45CbOV9sJSt9xjQy va9yWjPUzD1lskHCU/Rb68gaZ0TBVNl7h25lU8eBpxdQPnLNLtLjyW3JYEx4iA1QkcCj qgvK8xB3xAjMNIh9p1Fur58Hrl3XHnw6BcG1iXR81f98rrVFweEim8YcyGEWPo5nTqZI n1+KkNJAaY1QsJc9l5b62iaxsHFUbkr+m0+jOMVputdVOoatVmvoCydZOSedsJ59/2lC 2T/ekUCTmEZyudxeTA55h/ILcaLYCD74PkweQ7GlDK0coycsHe+ktSHcTcJfviWOxiva iqOQ== X-Gm-Message-State: ANoB5pkd+Sf1A0q63WMGLmkcB8i90zamn/QxAJ+/mDwokKXxnws6Tt14 O63s++QbIkMu2+DIopcDYr5mg4G8HAM= X-Google-Smtp-Source: AA0mqf7/Zjjxzyq53MSK9fGOP4ZUe6sjh6bNfkDe+pd6Odpuihl7V2poFU4ovzwYTW1FYpAeAS0Xzw== X-Received: by 2002:a17:902:e011:b0:189:8425:730d with SMTP id o17-20020a170902e01100b001898425730dmr13109655plo.27.1670835209667; Mon, 12 Dec 2022 00:53:29 -0800 (PST) Received: from yewun.. (61-227-116-5.dynamic-ip.hinet.net. [61.227.116.5]) by smtp.gmail.com with ESMTPSA id a4-20020a170902710400b0018968d1c6f3sm5751146pll.59.2022.12.12.00.53.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Dec 2022 00:53:29 -0800 (PST) From: You-Sheng Yang To: kernel-team@lists.ubuntu.com Subject: [PATCH v2 06/12][SRU][OEM-6.0] ASoC: Intel: sof_sdw: Add support for SKU 0C4F product Date: Mon, 12 Dec 2022 16:53:10 +0800 Message-Id: <20221212085316.3259172-7-vicamo.yang@canonical.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20221212085316.3259172-1-vicamo.yang@canonical.com> References: <20221212085316.3259172-1-vicamo.yang@canonical.com> MIME-Version: 1.0 Received-SPF: pass client-ip=209.85.214.177; envelope-from=vicamo@gmail.com; helo=mail-pl1-f177.google.com 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: Gongjun Song BugLink: https://bugs.launchpad.net/bugs/1997944 SKU 0C4F product supports a SoundWire headset codec, SoundWire capture from local microphones and two SoundWire amplifiers. Signed-off-by: Gongjun Song Signed-off-by: Bard Liao Link: https://lore.kernel.org/r/20221122052052.687281-1-yung-chuan.liao@linux.intel.com Signed-off-by: Mark Brown (cherry picked from commit a9248c868c39440369c614598b2465d1a1b1cf62 linux-next) Signed-off-by: You-Sheng Yang (vicamo) --- 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 8fd19b43ad13..4d6b39d7142e 100644 --- a/sound/soc/intel/boards/sof_sdw.c +++ b/sound/soc/intel/boards/sof_sdw.c @@ -386,6 +386,16 @@ static const struct dmi_system_id sof_sdw_quirk_table[] = { RT711_JD2 | SOF_SDW_FOUR_SPK), }, + { + .callback = sof_sdw_quirk_cb, + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc"), + DMI_EXACT_MATCH(DMI_PRODUCT_SKU, "0C4F") + }, + .driver_data = (void *)(SOF_SDW_TGL_HDMI | + RT711_JD2 | + SOF_SDW_FOUR_SPK), + }, /* MeteorLake devices */ { .callback = sof_sdw_quirk_cb,