From patchwork Mon Dec 12 08:37:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: You-Sheng Yang X-Patchwork-Id: 1714843 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 4NVw3y4CPlz240L for ; Mon, 12 Dec 2022 19:37:33 +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 1p4eJR-0004De-1w; Mon, 12 Dec 2022 08:37:25 +0000 Received: from mail-pj1-f44.google.com ([209.85.216.44]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1p4eJP-0004DD-6c for kernel-team@lists.ubuntu.com; Mon, 12 Dec 2022 08:37:23 +0000 Received: by mail-pj1-f44.google.com with SMTP id o1-20020a17090a678100b00219cf69e5f0so14918703pjj.2 for ; Mon, 12 Dec 2022 00:37:22 -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=JHWczll2ZbdultRU6DifODJ4nLJZy6ZaUlYcgAM7RkI=; b=ju41YmvHcsyvNpAEdLJmuUFQbUzqcQnpXGB0vk4IUiZMr81n18+TpvXq/XjsGBvEZv DNksH9Uc5QyYAGpR1oEtjSeG2q0iel8nh4fWIPSDhG8ibj678hMAJ+FXLjlEhhLWtD43 Z37CKEt2D48ar0wtKXdCZje+KgxfsGiBx4wjY6VJGrKJDyvsIv1r1BW3qvBcI1dsG0Vs PJcrnq/JyLxpy9kD1TN27YCb3CcJFJNRGClHCJW+G/CtjXtsCsN6012VCefBrR0vL0oj 9QTUDVrqN23FgYxD6A9ht7QkX9jxWtIe/YPJ4GKwCnyNiF53jBVYQNNnILNaEsHGVBhu 2YTA== X-Gm-Message-State: ANoB5pnjvLN3CK+NOGdy+jynPsVuxziIK9/xna1JxWGMs0WCZc7u+TD7 2xarlT9Psc5bdxBRCsrFUY5JSqHmdMA= X-Google-Smtp-Source: AA0mqf6QT/OmQudbCdE0P5Uv94NJ2C84yz7CCaxMP9h09I/Cp7rbA2Ca4lQ6KY/w5M+PQ+2EaYFdmQ== X-Received: by 2002:a17:902:c755:b0:189:47a8:e9d0 with SMTP id q21-20020a170902c75500b0018947a8e9d0mr13151071plq.51.1670834241005; Mon, 12 Dec 2022 00:37:21 -0800 (PST) Received: from yewun.. (61-227-116-5.dynamic-ip.hinet.net. [61.227.116.5]) by smtp.gmail.com with ESMTPSA id q6-20020a170902dac600b00189a50d2a3esm5688446plx.241.2022.12.12.00.37.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Dec 2022 00:37:20 -0800 (PST) From: You-Sheng Yang To: kernel-team@lists.ubuntu.com Subject: [PATCH v2 01/11][SRU][U] ASoC: Intel: sof_sdw: Add support for SKU 0C10 product Date: Mon, 12 Dec 2022 16:37:06 +0800 Message-Id: <20221212083716.3234498-2-vicamo.yang@canonical.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20221212083716.3234498-1-vicamo.yang@canonical.com> References: <20221212083716.3234498-1-vicamo.yang@canonical.com> MIME-Version: 1.0 Received-SPF: pass client-ip=209.85.216.44; envelope-from=vicamo@gmail.com; helo=mail-pj1-f44.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 0C10 product supports SoundWire capture from local microphone and two SoundWire amplifiers(no headset codec). Reviewed-by: Kai Vehmanen Reviewed-by: Bard Liao Reviewed-by: Péter Ujfalusi Signed-off-by: Gongjun Song Signed-off-by: Pierre-Louis Bossart Link: https://lore.kernel.org/r/20221110225432.144184-2-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown (cherry picked from commit d608bc44181c1010eca165e895bbe630077b2e16 linux-next) Signed-off-by: You-Sheng Yang (vicamo) --- 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 d0c0df56e4af..1c024abfa413 100644 --- a/sound/soc/intel/boards/sof_sdw.c +++ b/sound/soc/intel/boards/sof_sdw.c @@ -365,6 +365,17 @@ static const struct dmi_system_id sof_sdw_quirk_table[] = { .driver_data = (void *)(SOF_SDW_TGL_HDMI | RT711_JD2), }, + /* RaptorLake devices */ + { + .callback = sof_sdw_quirk_cb, + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc"), + DMI_EXACT_MATCH(DMI_PRODUCT_SKU, "0C10"), + }, + /* No Jack */ + .driver_data = (void *)(SOF_SDW_TGL_HDMI | + SOF_SDW_FOUR_SPK), + }, /* MeteorLake devices */ { .callback = sof_sdw_quirk_cb,