From patchwork Tue Oct 18 01:25:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bard Liao X-Patchwork-Id: 3865 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp1726365wrs; Mon, 17 Oct 2022 18:33:45 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5wtKZmPYZ2onmHSdVkkp0of7v1sEC6/sNph1RMcef5tDRVmVzEaNJDCYxLwZVVdqeAvj4s X-Received: by 2002:a17:907:60c8:b0:78d:bc56:8f04 with SMTP id hv8-20020a17090760c800b0078dbc568f04mr407853ejc.560.1666056825108; Mon, 17 Oct 2022 18:33:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666056825; cv=none; d=google.com; s=arc-20160816; b=v5FXgpY7QGQ9U4oKg6KW0x2nrkaudruq5TSHXaz9+ENx4WWVfHjZiQodWrzlEKKxXU KxKzFGFrpDs8h3WGTkVo+ImOy2M+DomQlD1iz34ZI23alje4p75V2jzjzF9RP1mg1xnd Zh+vTirmW88aawsW5bVYYANYW6LByqfrAEXiLjp362r4F/oXAkIQ3N+WYOepItu7bbfA EBpM5Q/9U9j3C2uyqHTtGeM3fRmFzYkV/k5vMWMzfIs+fVNRqUeNojgNLe0ER2wjar1Q FCdd+UdDyxGPPvE7AN58bnOaEqL7b0H5oOOVIEZmVDMcydYblCkSkE/Bj7AWBDFqUUjV gSwQ== 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=cOdYnljOjMjvCb48u3Gta7z79iggRYo0hWLgvHYtQcg=; b=mfPZPgWQ7Ta2na74yig+rcu8WwWYgp2pbKt8rf2Z0GRZkbW0IjKY6b6ellLw/2j326 SxjBBzHynENCsJ2lHhhvfDof4V8LWaOPODJ+tZX5sXt5E+4DHzlbBS5f9Z01Jb4O/M2L lGvZWUxeJM5gxXY1d77ABCBCPxhQrx/PvDcf6MYI2FiFvulNRK8QCRkjwo9I3FbyNPQl K44fpYvoPI7jIi5rUMSUV1tO8kSeZqX5ZQzB0XYVZo1ZqlA8fMcMeCB54D2fmsAEKqKv U2SCZoROdpDyrQ/TjThF6SUPDOwbtiBZNDWl0VLBqbzYmsCRjnH6Z1k6srKRApeW3uzU RNgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=EYlQ0buy; 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=intel.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dm19-20020a170907949300b0078312c674f1si10270847ejc.227.2022.10.17.18.33.18; Mon, 17 Oct 2022 18:33:45 -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=@intel.com header.s=Intel header.b=EYlQ0buy; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229603AbiJRBVz (ORCPT + 99 others); Mon, 17 Oct 2022 21:21:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37318 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230268AbiJRBVs (ORCPT ); Mon, 17 Oct 2022 21:21:48 -0400 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2CF7B7EFFF for ; Mon, 17 Oct 2022 18:21:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1666056100; x=1697592100; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=FXA05px7X76gyjkgLbBng6UcJndy1PxSGx75pNZdX/8=; b=EYlQ0buyLIhW866HOGf9kV9o4lzL2Sn9ABk19z8lWEXW44j3e5+ygwcB td+Y+HPkvDuxQZxuPbfzvaGsdN5n05y3xbJyq7ufDAIkFYIfv8cL1HyF/ VQMb68kfEYqqvqlljGyN8EDIU8uQGYlYJlONBgfib6HgmIy4Hu1lMBLkB DbUl1fi/BXOwYsUC64A546gPRJQJ7lTcy4diiq0wMQJzqb4IVVZeYxiZh /mNGBz0ePlk1E7EcRzT50PtO8WfusYRXdXw4xn/VCx8QJx/TAC5UMtXij Qpz3h9JKen4PEYmBizqCk+Px7IbQQA8iDgskd+FDYqUsb7bSn98UDwyPB w==; X-IronPort-AV: E=McAfee;i="6500,9779,10503"; a="289258150" X-IronPort-AV: E=Sophos;i="5.95,192,1661842800"; d="scan'208";a="289258150" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Oct 2022 18:21:39 -0700 X-IronPort-AV: E=McAfee;i="6500,9779,10503"; a="606334938" X-IronPort-AV: E=Sophos;i="5.95,192,1661842800"; d="scan'208";a="606334938" Received: from bard-ubuntu.sh.intel.com ([10.239.185.57]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Oct 2022 18:21:37 -0700 From: Bard Liao To: alsa-devel@alsa-project.org, vkoul@kernel.org Cc: vinod.koul@linaro.org, linux-kernel@vger.kernel.org, pierre-louis.bossart@linux.intel.com, bard.liao@intel.com Subject: [PATCH] soundwire: dmi-quirks: add quirk variant for LAPBC710 NUC15 Date: Tue, 18 Oct 2022 09:25:00 +0800 Message-Id: <20221018012500.1592994-1-yung-chuan.liao@linux.intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1746987201332675205?= X-GMAIL-MSGID: =?utf-8?q?1746987201332675205?= From: Pierre-Louis Bossart Some NUC15 LAPBC710 devices don't expose the same DMI information as the Intel reference, add additional entry in the match table. BugLink: https://github.com/thesofproject/linux/issues/3885 Signed-off-by: Pierre-Louis Bossart Reviewed-by: Ranjani Sridharan Signed-off-by: Bard Liao --- drivers/soundwire/dmi-quirks.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/soundwire/dmi-quirks.c b/drivers/soundwire/dmi-quirks.c index f81cdd83ec26..7969881f126d 100644 --- a/drivers/soundwire/dmi-quirks.c +++ b/drivers/soundwire/dmi-quirks.c @@ -90,6 +90,14 @@ static const struct dmi_system_id adr_remap_quirk_table[] = { }, .driver_data = (void *)intel_tgl_bios, }, + { + /* quirk used for NUC15 LAPBC710 skew */ + .matches = { + DMI_MATCH(DMI_BOARD_VENDOR, "Intel Corporation"), + DMI_MATCH(DMI_BOARD_NAME, "LAPBC710"), + }, + .driver_data = (void *)intel_tgl_bios, + }, { .matches = { DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc"),