Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp2133483lqb; Mon, 27 May 2024 08:53:59 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWQRtMJKMLjxyFfkJRPxcaK9HPQlQrUQWwt7p2ZIqkPfRfLW+JM6KH+o9hM4vmqWwamzCX9cKRynPQmsFL4mae5/3AnqfVqzHZXdb21xw== X-Google-Smtp-Source: AGHT+IHezP7ywsHOA2Dn2jWbfiGfNgyFGzFvGLXQ3uncG7hzNbN9TeVrmd2DJiwQaaqzK52nPIgD X-Received: by 2002:a0d:ddcb:0:b0:615:46dc:44db with SMTP id 00721157ae682-62a08f47086mr86384447b3.35.1716825239660; Mon, 27 May 2024 08:53:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716825239; cv=pass; d=google.com; s=arc-20160816; b=CQCuCZV3PlkBHu9wewlDzBOG5Te7uFc/oNnpxv681o02klWzmjPNnPmOPngN0MEt3Z dlf40e9cPmb/85866Q0CT+6YTyPS8bSk/OllNyF/Am+sSCFlZqnv4CTQBFrIlkmeCObc cd+RnjioMwBMrqomElknUpOGQvf3rxZZoz2WtIAIccAJNVMZWcCDcdKIkxHwnUoiQcO1 z1OgQZM/NuR1SySOzlqTdAiPxnxJGbbzGWU8sS2hfbJkzmydvibHSEoZGq8+RORADkYi +TzX27RUcEvHeENfZVgZAZdNIlnbydWcCaAWWTatDt9WmsZk75hQi7BgOkYHG7JYqx4G q09w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=U3lQPdN4bMmUhzLYCZjExXM9sxC/WmGry9vdkSW+VTg=; fh=p2H/pTYXCellMkGjD/FJ5zML+v58k1wWZOVZWjBm/fw=; b=y74P7dRkHQp3trBK4j5fqfR7IUhFXnvYu33V/VZz6IE4JhHvsOHgYO193KR92z09YW TXKOYJAXeW3pmluNETF11YKRQdRwWTtM71WgeuoLmk2icxGevvaJgRAlr2tIzSODh2pO RDu2qlplPnaWK5AyrGQxVQCFYHrRPo+qL1cqNk7BW5UJ74CXvWU5b0d1N5aSP0VPSEfH jz2YvBVkie5GVfRm0opbetPI7yfNKM6++/8QtQaVItNPMn2DArGfe7QWua/2uwHrf5BJ tEMW+DRbxGCQqeq3xMCSdLBcJI5ciXiuHGn5bb3QS9veL1dGtDSdhNRlOE2j2DpqS+Jo VOgQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ENJ1YXr1; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-191108-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-191108-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id af79cd13be357-794abd15ee6si797751285a.354.2024.05.27.08.53.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 08:53:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-191108-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ENJ1YXr1; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-191108-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-191108-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 27EBC1C22543 for ; Mon, 27 May 2024 15:53:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C795F7347F; Mon, 27 May 2024 15:52:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ENJ1YXr1" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E961717E8E2; Mon, 27 May 2024 15:52:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716825132; cv=none; b=M/CuggOCcbaSdUfkNc2itHWGijw4PwJnfIzpin3YvqoT83BJuqeFSpO4bEqnCKy4fajqtvTSCYMv2tfN01hZg8fQFLsOZ9U7lLZ1WoNXrzjYf7Sg7D+hOtHF6fLCz2HAvNOTvOFFFw2v27CMxldvVVcys58AjfganZ+figd2Ck4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716825132; c=relaxed/simple; bh=Wls7pWzHp29cJlP1fBzxbPRrtJUxPMYNrWPeMV/p5hM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ZWv9qqdSnoQtTGOvrMWIqSV/BHF0HiKZ7v7AJoTEkggGSdPzDxHfEgrovFKRhYNkxDTG06OYm6SqBUQgRkdcgX9i5g9UTD87e3fLU8Royb0nolCLm9EF9tXcYu+b3Oc/qAtj5NMBFPXle8YLU8hNW7F25IzinE84t1fdfIDeFGM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ENJ1YXr1; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 12409C32781; Mon, 27 May 2024 15:52:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1716825131; bh=Wls7pWzHp29cJlP1fBzxbPRrtJUxPMYNrWPeMV/p5hM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ENJ1YXr1HsXDHpguh/9ljWFsbR+NpsEcr7sjmhaEzWJ+7Al6MzdGP5tBDN81laaoJ Fxix3QptCZxygdnHaPOrWxFtE5gXKEg8JAU3qiv5QlEWAi8GzTjOvtYhJX46uGr7mf OOGtR2A1xudEAMiqoIulg64hLc1GJ1xCBmYue9qdURPUcNedTMiKPTMFdgip28lkqx 7srbmYb3W3076JS6jNs1ollL1Qo5ObLHi3uGxDA7v6Ao1o6oauaxLsY4/4xXhOy8tl nB9OkNU3KV6FWozF8N4bstndP0/8DoZCPgbtTpbMt/TA8n6p4PWDm/jOrJb3FaZ1F5 oYnppy4ljm96g== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Pierre-Louis Bossart , Bard Liao , Mark Brown , Sasha Levin , cezary.rojewski@intel.com, liam.r.girdwood@linux.intel.com, peter.ujfalusi@linux.intel.com, ranjani.sridharan@linux.intel.com, kai.vehmanen@linux.intel.com, perex@perex.cz, tiwai@suse.com, ckeepax@opensource.cirrus.com, alsa-devel@alsa-project.org, linux-sound@vger.kernel.org Subject: [PATCH AUTOSEL 6.9 09/23] ASoC: Intel: sof_sdw: add quirk for Dell SKU 0C0F Date: Mon, 27 May 2024 11:50:10 -0400 Message-ID: <20240527155123.3863983-9-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240527155123.3863983-1-sashal@kernel.org> References: <20240527155123.3863983-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore X-stable-base: Linux 6.9.2 Content-Transfer-Encoding: 8bit From: Pierre-Louis Bossart [ Upstream commit b10cb955c6c0b8dbd9a768166d71cc12680b7fdf ] The JD1 jack detection doesn't seem to work, use JD2. Also use the 4 speaker configuration. Link: https://github.com/thesofproject/linux/issues/4900 Signed-off-by: Pierre-Louis Bossart Reviewed-by: Bard Liao Link: https://lore.kernel.org/r/20240411220347.131267-5-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- 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 f4f08e9031506..76ed72716b3ca 100644 --- a/sound/soc/intel/boards/sof_sdw.c +++ b/sound/soc/intel/boards/sof_sdw.c @@ -429,6 +429,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, "0C0F") + }, + .driver_data = (void *)(SOF_SDW_TGL_HDMI | + RT711_JD2 | + SOF_SDW_FOUR_SPK), + }, { .callback = sof_sdw_quirk_cb, .matches = { -- 2.43.0