Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp607733rwr; Thu, 20 Apr 2023 04:09:12 -0700 (PDT) X-Google-Smtp-Source: AKy350b2LCAcHe/5S7z8TuatHOYbizLU07MZz9cvTEp1wHYnGril00MRRtrx9sqvdmEF/cf4GoDz X-Received: by 2002:a17:902:9044:b0:1a2:85f0:e73f with SMTP id w4-20020a170902904400b001a285f0e73fmr1042396plz.35.1681988951793; Thu, 20 Apr 2023 04:09:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681988951; cv=none; d=google.com; s=arc-20160816; b=IEwUNY5OYXqgHefCh9r06k/cS+LwzWh0zOU9DWUCEqASILkdM6VAea0Hck+JEMW153 JVAipB/7F8I/B33BXLuRqcell+YIFmWs7ZEK+yD+wHZW8kfwXV4PgPkt92XG/iHbvXZD ejfo89F41lWYVH+ZMNTthhGG1aAqTr390ZLEbcRSmJ5x6L2KzOI2U6FU99ESslW/EnYF edxqujJv1xtuepRC5b6UI+LpNionVj3T+xQSjr64+E2knP89dWpyT9Rf0kYRgUsvGmYy BDDOc3vWzW4uPpwtw20ruKS0TsVuWgZvgWmDZUOFciaPzYuzSo0yy8AgjscuDwPUGoFA pmuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=EmgM8GIBV5STJWFe5kh6ynbFT6igiOZ14snjQRMOS9Q=; b=GnOYdgWApdVYxvt7kG0VWZ41MDrV+sgeu7nLBSv6BV1kwIBJZYBaH4VR+AxQGVYTfk ZZLKdSUl37pOtNjZWey2M4YxPi0TXvtwOCRiNE+aky1jmBJfmJkymti9A0a2uR2+3TNN TF5C1q5FiTKN92baG2krpKwQuu1IC6hLFWK+n7kpw8vVgbLZFPI74HHMuo4d0koWeRGH As7s2bNmTG2Agoxgbtj8pgHQWOkIuddA2/P5gSx5H14JqtMasW8yxqzgWOOOXzkfiQtC 7NtkOr0v4msf6+FhdYiXXEyiihDxx8hVmPSYtZZyembs3DI+14WINC2V/YzI3dteo+93 qieA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OjbqFRrL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n11-20020a170902d2cb00b0019f3064da41si1623242plc.383.2023.04.20.04.08.53; Thu, 20 Apr 2023 04:09:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OjbqFRrL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235413AbjDTLIE (ORCPT + 99 others); Thu, 20 Apr 2023 07:08:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54434 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235260AbjDTLF2 (ORCPT ); Thu, 20 Apr 2023 07:05:28 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7E0CEE52; Thu, 20 Apr 2023 04:04:04 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 52DAB647C7; Thu, 20 Apr 2023 11:03:30 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 11CEFC4339B; Thu, 20 Apr 2023 11:03:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1681988609; bh=uK35DXXbqaB+kOQBB45RdJHPlNvqSa2wIBInCt6wZsU=; h=From:To:Cc:Subject:Date:From; b=OjbqFRrLCA/qj8CgM5hSMt0hvC+LDliRCbC9uIht4yLpRPikSSOLqdQra1hoxproY kJO4Qg1o/UikyvZbrCsnWA7t8oKspg7hRFkuipcFiWZehmHe8zQIw9gHXw7Lb+fu47 qoFZBlgeArSceIR6q0xgW6YcMKkHf4WIDMj7kLWBkuVfK0hqLd/zc7vX09oLzM+sBA nJs8yWRXVa1+ierX/YQAAXE3/mZkRNtEtcPrY+pFIGKAiNaw8CW+bwHu6qqFaBd1o3 XXAbpusd1oDCyvofqfwJNtCvRoPU3jKsPKB2ltmgnRXT2Zi1Wm3kc4fn8PG0DI23hZ +VCUQ+OR1JQ+Q== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Eugene Huang , Pierre-Louis Bossart , =?UTF-8?q?P=C3=A9ter=20Ujfalusi?= , Bard Liao , Mark Brown , Sasha Levin , cezary.rojewski@intel.com, liam.r.girdwood@linux.intel.com, ranjani.sridharan@linux.intel.com, kai.vehmanen@linux.intel.com, perex@perex.cz, tiwai@suse.com, gongjun.song@intel.com, shumingf@realtek.com, yong.zhi@intel.com, alsa-devel@alsa-project.org Subject: [PATCH AUTOSEL 5.10 1/3] ASOC: Intel: sof_sdw: add quirk for Intel 'Rooks County' NUC M15 Date: Thu, 20 Apr 2023 07:03:22 -0400 Message-Id: <20230420110326.506279-1-sashal@kernel.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Eugene Huang [ Upstream commit 3c728b1bc5b99c5275ac5c7788ef814c0e51ef54 ] Same quirks as the 'Bishop County' NUC M15, except the rt711 is in the 'JD2 100K' jack detection mode. Link: https://github.com/thesofproject/linux/issues/4088 Signed-off-by: Eugene Huang Reviewed-by: Pierre-Louis Bossart Reviewed-by: Péter Ujfalusi Signed-off-by: Bard Liao Link: https://lore.kernel.org/r/20230314090553.498664-2-yung-chuan.liao@linux.intel.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- 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 f5d8f7951cfc3..eb713e9c2bd22 100644 --- a/sound/soc/intel/boards/sof_sdw.c +++ b/sound/soc/intel/boards/sof_sdw.c @@ -175,6 +175,17 @@ static const struct dmi_system_id sof_sdw_quirk_table[] = { SOF_SDW_PCH_DMIC | SOF_RT711_JD_SRC_JD2), }, + { + /* NUC15 'Rooks County' LAPRC510 and LAPRC710 skews */ + .callback = sof_sdw_quirk_cb, + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Intel(R) Client Systems"), + DMI_MATCH(DMI_PRODUCT_NAME, "LAPRC"), + }, + .driver_data = (void *)(SOF_SDW_TGL_HDMI | + SOF_SDW_PCH_DMIC | + RT711_JD2_100K), + }, /* TigerLake-SDCA devices */ { .callback = sof_sdw_quirk_cb, -- 2.39.2