Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp2799261pxv; Mon, 12 Jul 2021 02:06:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzjP3mo+BOYx9KXsGhZG96M6qnjHR3cIjdir4Y1mWKpK/gbTOAqpaQcMhgXYY+LH9tKOkye X-Received: by 2002:a05:6e02:e0c:: with SMTP id a12mr17864199ilk.179.1626080772679; Mon, 12 Jul 2021 02:06:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626080772; cv=none; d=google.com; s=arc-20160816; b=bbLeWQIZoOHPq8lxk+F8RYsmdBpGBLOcvB3qrDBLuEr/GvHhtKW9UZvm+8qoXRAP61 KzEHMp21sz2v4C7rs456/K19BoY8ICVsvuPbJ+brvXIpYxKGA7jfHBad+HZl6XWyRugF lPPLTejjZ3IGmL1HGE9OKSPQdyXnARB8WFtuLOqnAlAslup7yxkU8MMW1OCt3aI5QZwk 4dxjcc7QedlYYVej4iSYal8OVzpzqPySgxPf9cL7slC9bjIHyBkfBfWJ5huBFS2euMfu 4ohCBFJuuRBuC3hVT09ZNIyyza6jnEfKIQkC7Gzhgq3hQuGQ5KrjggUcisPG/ZIuJiiY AOAQ== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=wPSd6pIib/qRjlfH0Q31cmE/mE0ersDoUDtCfrwFbVI=; b=vqRLqPhdVzfguUytcr6yV6mx3wYsqka3ld6SXqqrF06d+aEfu1yK1MoqLQLrcNvr7X jVzxB5F8gxPaOE0LltM+MAAKntViqw4d5ewmllHccg31l4guvw44zTol+bPPimGmcCsR Pm7tiof0pIJCUjWfh2LtzAnEOUrzh4XajU1CiMAl+k96tNg3mnpcWJBev3++2nK1VAax zqb+vHSE4ssg00bSgQiE7RdsNrUhdkpJErLv5DHVzgpsLwZ8rkZfvSi8xOrFUrN9Ceiv 0wNXB1l+6OAIi4hRgAi0OP1kGezZpmjUwX/qqBKeCyDBrtfjoRFVLukC+06skNKE4Jw2 v/YQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=yoUSth3f; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h12si22957082iow.59.2021.07.12.02.06.01; Mon, 12 Jul 2021 02:06:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=yoUSth3f; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1384053AbhGLJDh (ORCPT + 99 others); Mon, 12 Jul 2021 05:03:37 -0400 Received: from mail.kernel.org ([198.145.29.99]:55674 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1353832AbhGLIDB (ORCPT ); Mon, 12 Jul 2021 04:03:01 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id D71CA61D10; Mon, 12 Jul 2021 07:57:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1626076675; bh=tqEi458EYzW0aKgGuY+eftvi0L8fTnCvQLibTMABUmo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=yoUSth3fFHUBbPr+pO6kJHyO5mBXCMMgq+LjQbDqDrtHcKcePIl9XDFwXlxhA2bLD T7hGYVXF7XSe9W6/AoF39JT589dQV0VRGcGqYEt0/lFPEZkhKlftunVZb/+FcJSiUm LoXgz1IWQbsPp8CZGZBM5EI8YgnaTsSCiLtkT+5U= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Vamshi Krishna Gopal , Yong Zhi , Bard Liao , Ranjani Sridharan , Kai Vehmanen , Mark Brown , Sasha Levin Subject: [PATCH 5.13 743/800] ASoC: Intel: sof_sdw: add quirk support for Brya and BT-offload Date: Mon, 12 Jul 2021 08:12:46 +0200 Message-Id: <20210712061045.833441566@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210712060912.995381202@linuxfoundation.org> References: <20210712060912.995381202@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Vamshi Krishna Gopal [ Upstream commit 03effde3a2ea1d82c4dd6b634fc6174545d2c34f ] Brya is another ADL-P product. AlderLake has support for Bluetooth audio offload capability. Enable the BT-offload quirk for ADL-P Brya and the Intel RVP. Signed-off-by: Vamshi Krishna Gopal Signed-off-by: Yong Zhi Reviewed-by: Bard Liao Reviewed-by: Ranjani Sridharan Signed-off-by: Kai Vehmanen Link: https://lore.kernel.org/r/20210521155632.3736393-2-kai.vehmanen@linux.intel.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/intel/boards/sof_sdw.c | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/sound/soc/intel/boards/sof_sdw.c b/sound/soc/intel/boards/sof_sdw.c index dfad2ad129ab..35ad448902c7 100644 --- a/sound/soc/intel/boards/sof_sdw.c +++ b/sound/soc/intel/boards/sof_sdw.c @@ -197,7 +197,21 @@ static const struct dmi_system_id sof_sdw_quirk_table[] = { .driver_data = (void *)(SOF_RT711_JD_SRC_JD1 | SOF_SDW_TGL_HDMI | SOF_RT715_DAI_ID_FIX | - SOF_SDW_PCH_DMIC), + SOF_SDW_PCH_DMIC | + SOF_BT_OFFLOAD_SSP(2) | + SOF_SSP_BT_OFFLOAD_PRESENT), + }, + { + .callback = sof_sdw_quirk_cb, + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Google"), + DMI_MATCH(DMI_PRODUCT_NAME, "Brya"), + }, + .driver_data = (void *)(SOF_SDW_TGL_HDMI | + SOF_SDW_PCH_DMIC | + SOF_SDW_FOUR_SPK | + SOF_BT_OFFLOAD_SSP(2) | + SOF_SSP_BT_OFFLOAD_PRESENT), }, {} }; -- 2.30.2