Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp2162480lqb; Mon, 27 May 2024 09:43:15 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUtKPAWKUEOaXnZD/yNeptx/dRn61bbF9RUQtAltcRCVLToARbo4ibCNDV6O6Q06h2z7YReBtPlM2oQvKLce7YLZO62SLhTRXn6ty6SXw== X-Google-Smtp-Source: AGHT+IEW65MxP+qiMu9bxqTWzduz+awnComU7IvKy8ZjBSjN0c4zPeMFhL1iRsynGG1ulgoV0alE X-Received: by 2002:a05:6a21:3a83:b0:1b0:1a02:4128 with SMTP id adf61e73a8af0-1b212cc391fmr13420467637.6.1716828195037; Mon, 27 May 2024 09:43:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716828195; cv=pass; d=google.com; s=arc-20160816; b=vVkS31WxIdYpjEqJhZ4MfXaQ94bH6s0YxjrMBek59NYOB0vz4Xs8nTXd7vaaOJkUvs m/qY/ahzjO0fTUhkWIiUevWibpioqKzjjjnSKa5Wq4eHqBjz8FaN3AyD85i2ebB5KahB YTibrclJlGbvbxAae8oCvA0cNKZ8OyxzKR5MuUgc1PiO9JlSn357w4XXPox6YvxR23ww ZH4IG3oV2A/pmDfNybzXRrxreFu4gx1VTLEozBhxhCadkhpiCBYodXnUExrBXJmtDFFm oKUsoxJ+v/YpoIn3sAPP1fJLtCdbH5L5vxQP2jljxGfT2AsnCIQcBNwXC2K6wydvpsaL 8ClQ== 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=gnnjUYBNEbEhCWMk4a1DWfD5lwkSbDK2y/PY3F7E1kw=; fh=p2H/pTYXCellMkGjD/FJ5zML+v58k1wWZOVZWjBm/fw=; b=BJ1h4OmYnLz1qh4MRHdGtYpq0JnClyIGrIBgWoijkGeHTmo4ZxLCmocULm0MxhrJyY XlefXtsC+J6mlu+HSexOVmyR8j5ZbvOjPWSacdjSnqZXFo1kctOehhdNfJjPQB4LeZGt oWXdJgmP+PAMMgy+YDVCIAkA3PuBHiR0/abQ0VacAKtqCqexm0yNhZLQj+rujoo2vOsz TzCvxWnN08H6jnqbrKBxK5VnwqtxcWnPfBLE2MTFwlFcwDCtqXKBwgVtGRb+3TWdMZIe 2CTb+h0aHb1EFRUpxXa35lwwZUvv/Wuf8oOmBYut/8+hJGs/0zeq6gFM39+inJ3ZFzVJ qRKA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=layX1l3O; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-191147-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-191147-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-68221b73dfesi6680117a12.97.2024.05.27.09.43.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 09:43:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-191147-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=layX1l3O; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-191147-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-191147-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 0E4D228F5F2 for ; Mon, 27 May 2024 16:02:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C3AEA16ABFF; Mon, 27 May 2024 15:56:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="layX1l3O" 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 E66DA16088F; Mon, 27 May 2024 15:56:06 +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=1716825367; cv=none; b=XOg7ljzKH7J7lx1Fz1vYWDccfq5z+ngmuSefbtXdQ/0nq4NDEIvuVPnLOkmXQbs6uf8clMLXyh+ELUtIgT1mBiUH7xJtgYvNPnft2M9HOYS+n9xff1s6kmUT3Y5tie9zub+uzGOruxmvnoF13uOIl3RLxaUDMBv1UNSqBj6Bfkw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716825367; c=relaxed/simple; bh=fAv49FxfjPWBFgHN2MTZQbQIwbW2xRZNMLpxxefCvXY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=egBUM4v+QEMKuWLm0d2ptL1iofKJeJrPSYTHnY7bvzTdUM2Zi9C4svYUQasvEAvtDBGXHauTyBJRx9bmlb2JKEk0vMWWor0064OA9r/ilhew2I2VyY1nhmFtklPGtpW0t2caijBKVW5288JQLcIQTY3adAEzwM2pG7hs2J8hoRc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=layX1l3O; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 17D20C4AF07; Mon, 27 May 2024 15:56:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1716825366; bh=fAv49FxfjPWBFgHN2MTZQbQIwbW2xRZNMLpxxefCvXY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=layX1l3OptzEDVYVonhTcZUCyJwSNjOcCDYCqvGkAofzZZSNCAPHaLyOKiZxpLF00 JknGIs1PDCr59b8IYJQ1H+KJjlx/qACv9/4lA1eWhIdUvJk7uNmS5pEYg/C5T0QLpr 6EAu7PZWWiMLbUj+kSES0Hce3OiOckrSxWK+Vv95SluPrwqgxWXKN7w93cizsVsOE3 7cqUlx7qqDYEChFhOSdFOLe87Adspr6H7iqgSKBnGJDHws5uopiZj8C1tUYceDTZmI QkBQ8O1lXsGA3aiNv5Ayw7WCKde9zqkoxeb492juu8VUFyD+gyQIqSNC7YkXh9aZED vw2CKWOKnQcwQ== 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.6 05/16] ASoC: Intel: sof_sdw: add quirk for Dell SKU 0C0F Date: Mon, 27 May 2024 11:54:56 -0400 Message-ID: <20240527155541.3865428-5-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240527155541.3865428-1-sashal@kernel.org> References: <20240527155541.3865428-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.6.32 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 59621a9c389c7..91098d7922bef 100644 --- a/sound/soc/intel/boards/sof_sdw.c +++ b/sound/soc/intel/boards/sof_sdw.c @@ -436,6 +436,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