From patchwork Mon Dec 5 15:10:07 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: 1712323 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 4NQn6k2DTnz23yl for ; Tue, 6 Dec 2022 02:10:38 +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 1p2D72-00017A-3n; Mon, 05 Dec 2022 15:10:32 +0000 Received: from mail-pg1-f171.google.com ([209.85.215.171]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1p2D6z-00013J-Ko for kernel-team@lists.ubuntu.com; Mon, 05 Dec 2022 15:10:29 +0000 Received: by mail-pg1-f171.google.com with SMTP id 62so10722574pgb.13 for ; Mon, 05 Dec 2022 07:10:28 -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=GWTFSbQKYd6i6RwHfcsvzWU84OyeOT6aUgl3I41NDGI=; b=pokvyWm05vaXqtuMM9+6XGjSHuETb3Qr+1jtVCEJ6JSoKQAliq7kGrv6X1wu6zmJFI RXhSEmNfpXjz/IF9j/Njix3u7xnbbQbrHpUiggdhkAo8jaASzT4uLXecHOuRrqM9KwJM ZbJcR7TRgkMGxebqpssRB/oLGjkWoFcz3KKtLsTZs1jdtLgRT+mOo0E9Z7zaMW0TGVvX lS0T+K1JHJbzTsvAebi6o3OucfB7NirJYT53bhaBKmxbcuwuwk9TJR6Ph2SrTCcuAhKN uzKKb1UZag9vNdDN4cYl/bcVP0l6N/7ZDrjRZ+5GRZyJdU0w7zd520OyQpEDLOMSIRDm Q0yw== X-Gm-Message-State: ANoB5pmMtzGC0rNshKug9DmBG4pPZO/bxt1AHmG7i15hVOV0JyipJE3S 3j+fybR7e8+DJHkGHMe/noBp7pOe9AU= X-Google-Smtp-Source: AA0mqf6f1/Y+9pdgfAqzfIEDioul6eTZAkBR8JsdDakrTj6Ium52XRkK9lw/J6yXASlzq+KCAIzT4w== X-Received: by 2002:a63:1f1d:0:b0:474:66fb:41fa with SMTP id f29-20020a631f1d000000b0047466fb41famr57313495pgf.21.1670253026841; Mon, 05 Dec 2022 07:10:26 -0800 (PST) Received: from yewun.. (61-227-122-159.dynamic-ip.hinet.net. [61.227.122.159]) by smtp.gmail.com with ESMTPSA id a14-20020a170902ecce00b00186b1bfbe79sm10780487plh.66.2022.12.05.07.10.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Dec 2022 07:10:26 -0800 (PST) From: You-Sheng Yang To: kernel-team@lists.ubuntu.com Subject: [PATCH 02/11][SRU][OEM-6.0] ASoC: Intel: sof_sdw: Add support for SKU 0C10 product Date: Mon, 5 Dec 2022 23:10:07 +0800 Message-Id: <20221205151020.122547-3-vicamo.yang@canonical.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20221205151020.122547-1-vicamo.yang@canonical.com> References: <20221205151020.122547-1-vicamo.yang@canonical.com> MIME-Version: 1.0 Received-SPF: pass client-ip=209.85.215.171; envelope-from=vicamo@gmail.com; helo=mail-pg1-f171.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 1ce95d0029f1..8ef42698e3bc 100644 --- a/sound/soc/intel/boards/sof_sdw.c +++ b/sound/soc/intel/boards/sof_sdw.c @@ -354,6 +354,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,