From patchwork Thu Aug 5 07:58:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hui Wang X-Patchwork-Id: 1513799 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=vjVUZUYp; dkim-atps=neutral Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4GgLZv65nfz9sWc; Thu, 5 Aug 2021 17:58:31 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1mBYGq-0002da-Q1; Thu, 05 Aug 2021 07:58:28 +0000 Received: from smtp-relay-canonical-1.internal ([10.131.114.174] helo=smtp-relay-canonical-1.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1mBYGi-0002ce-9b for kernel-team@lists.ubuntu.com; Thu, 05 Aug 2021 07:58:20 +0000 Received: from localhost.localdomain (unknown [123.112.65.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-1.canonical.com (Postfix) with ESMTPSA id 045C3402C5 for ; Thu, 5 Aug 2021 07:58:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1628150300; bh=ogFI3RoTtrZf2Rmams5pTKD7R/GXlK1+ON/2UTFl6sk=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=vjVUZUYp+R6NGWHNNPkDO0FoOdYhFkRTcTrP0JiDFFNjkV+imUpD53XVcusuocibU Yx82a+4z4XqSqOcxnLzut8E51bzBlm6WMSFQlOrEiK+tjZvG8AukRJ0pvftrEahF5F u5AoZyPfPMu+8hL0MMr2Ew4rUVCGx5bgq8JDDUL4qDJch5awIazIBRC0F7/3fy8jN6 2YDvGldHRYRQYUU/ZTzhe/ZvPYl9klk3hhtFsXbtvIvJZboV8quQSO2onBUOdf8xw0 vZya89Eruj4ossHD2TXZfW+j4Wk8gWZZf6HrO/CyrsOwrANmIUwAUDoqVHLg67x4/g lDJZamLRWScmw== From: Hui Wang To: kernel-team@lists.ubuntu.com Subject: [SRU][H/I/unstable][PATCH 1/1] ASoC: Intel: sof_sdw: add quirk for Dell XPS 9710 Date: Thu, 5 Aug 2021 15:58:04 +0800 Message-Id: <20210805075804.7190-2-hui.wang@canonical.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210805075804.7190-1-hui.wang@canonical.com> References: <20210805075804.7190-1-hui.wang@canonical.com> MIME-Version: 1.0 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: Pierre-Louis Bossart BugLink: https://bugs.launchpad.net/bugs/1935850 This device has the same audio subsystem as the 0A5E skew (RT711 headset codec, 2 RT1308 amps and RT715 for mic capture) BugLink: https://github.com/thesofproject/linux/issues/3057 Signed-off-by: Pierre-Louis Bossart Reviewed-by: Kai Vehmanen Reviewed-by: Ranjani Sridharan Reviewed-by: Bard Liao Reviewed-by: FRED OH Link: https://lore.kernel.org/r/20210802152151.15832-2-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown (cherry picked from commit b8cab69b0ed9ee10f2a86670ce41ffad991c8dc9 linux-next) Signed-off-by: Hui Wang Acked-by: Kleber Sacilotto de Souza --- sound/soc/intel/boards/sof_sdw.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/sound/soc/intel/boards/sof_sdw.c b/sound/soc/intel/boards/sof_sdw.c index 9dc982c2c776..4227d6db8fba 100644 --- a/sound/soc/intel/boards/sof_sdw.c +++ b/sound/soc/intel/boards/sof_sdw.c @@ -128,6 +128,18 @@ static const struct dmi_system_id sof_sdw_quirk_table[] = { SOF_RT711_JD_SRC_JD2 | SOF_RT715_DAI_ID_FIX), }, + { + /* Dell XPS 9710 */ + .callback = sof_sdw_quirk_cb, + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc"), + DMI_EXACT_MATCH(DMI_PRODUCT_SKU, "0A5D") + }, + .driver_data = (void *)(SOF_SDW_TGL_HDMI | + RT711_JD2 | + SOF_RT715_DAI_ID_FIX | + SOF_SDW_FOUR_SPK), + }, { .callback = sof_sdw_quirk_cb, .matches = {