Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3028705yba; Mon, 6 May 2019 15:55:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqxVUKcd1dMw5aHib+J9tNYpAEbH6qs9ltHNtRw/oYtxpOH9gp3jdWmgLY8n9E9RkgPw9/a8 X-Received: by 2002:a65:4006:: with SMTP id f6mr19106693pgp.47.1557183348980; Mon, 06 May 2019 15:55:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557183348; cv=none; d=google.com; s=arc-20160816; b=oKuzsKy26NdWyk0apfnNjszOGzHKdXZD/fK1xPaEz2A/ODrz0PPBh5mRIhGoZy1sd4 /JpbUFozix0zjN3UI4udZbmt0NiuftzMC4qKESz3KB234zTLci2yOPTTrCrL/kf7WYLy 4KneGjQEQZZQJqcrrCtxt+xkXauOFrjnHBUd7eW2JcZqlh5ICcBWBgH+0IwKMi8NbcxN oRJPE18eG8mg3mquWsb3FVX+eO2AqJx6WFgdjZVp4pJikwW+UXXYqpSSYWbeOPEA+YCj JBILir5OkODEBY5EV+CqtFwQt1OySvy68Pnom2fGLpNQBTmcknrev1WEniiD+RSjQaQ4 yJZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=HGiQcQsNLZSu4O6fjQQo4uRzuuZ+mn8z8Ipe1hIL3NA=; b=kalURdZT2tNQfr0qNnr4sMZ0B1EaR+PYcfbAEYhuTRhvGUTOdk3A9wt5WzXp+SjFhC VWxXupl5TT0mbTGZA2gMRis9Y2cTdy66J3GM3ZO827fqWZrGxNO7Tzaep5APWuXCuq2a WN2N94sg4An4SnsaKHRbD8OdHBq3sDhvqTTyc/5P4dHUVZDfbrQyLt+WB4vk12kkYzjP oi6kcKxkntmJ+/+Hoo7ZubkyyDZ7MZDvqkWUbYzfCLiVJQj+3Wf8L3zcAPi0jnVgUbUu 5/kxOTHpBWr+I/0EDQYFLHvstj30DcpV6HKv7AO1GyVn3sWIeWV/5U7gzHrk2pIbl0t+ whCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Xqp1nGdv; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y24si16899319pga.57.2019.05.06.15.55.19; Mon, 06 May 2019 15:55:48 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Xqp1nGdv; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726487AbfEFWyC (ORCPT + 99 others); Mon, 6 May 2019 18:54:02 -0400 Received: from mail-pl1-f193.google.com ([209.85.214.193]:37082 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726063AbfEFWyC (ORCPT ); Mon, 6 May 2019 18:54:02 -0400 Received: by mail-pl1-f193.google.com with SMTP id z8so7106703pln.4 for ; Mon, 06 May 2019 15:54:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=HGiQcQsNLZSu4O6fjQQo4uRzuuZ+mn8z8Ipe1hIL3NA=; b=Xqp1nGdvYAdr3hwiLJW8lG3kT1k7Yy9LxQ5aPzpz6Nocr+Nm86dqowKmEwscybxhPf EhVlR0xH5V3jZ0fHsBXC7WYcjwWDuajuIXoY0MNpwhfBrIEA3pTFW5Jjx0ry/Vok2mqC dQnYy491jpnktcXfymmYwDTpd5+KS3JVJuNvk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=HGiQcQsNLZSu4O6fjQQo4uRzuuZ+mn8z8Ipe1hIL3NA=; b=LySIbqYFYIKRPjhAtDMKSVa8x95fmN4q2USIw/DaWCCIZaU2JkYHHfVBNSoKdm/5pr +jBGeTpM024CjcOy6x3XycWAykHgAGtR5W6yPku2bTnmmWxY2wac2Gx6c/oABmZ4fc9h ZVNMTPBT5fm8rzm2YoDRPO5HBkFoUz/7eBn8jqmPD/xIVr6LE3IdWNo8x8yEtrXoB+6l 5j30bM5sSC9G0RR1Th2vIrBZ7fv/AzIsShHf24LrIKry0Z7CRqoGOhz74IxDp5sRrpHM amVpVTHvzt8UimDOioqhs3NAg9QVHthlBARyV0tfmUluWB7h2xLDni7FlebDSoAVxs8W 6RMQ== X-Gm-Message-State: APjAAAUcD9q+1at9Pqck1Fbjy0ygV2vh/11xnyJMNPKyUcAQP6ZYHpwS llr1CFSFB8KDFA9wYtz+gif5+Q== X-Received: by 2002:a17:902:5ac9:: with SMTP id g9mr738635plm.134.1557183241818; Mon, 06 May 2019 15:54:01 -0700 (PDT) Received: from evgreen2.mtv.corp.google.com ([2620:15c:202:201:ffda:7716:9afc:1301]) by smtp.gmail.com with ESMTPSA id i15sm16052204pfr.8.2019.05.06.15.54.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 06 May 2019 15:54:01 -0700 (PDT) From: Evan Green To: Liam Girdwood , Mark Brown Cc: Naveen M , Sathya Prakash , Ben Zhang , Rajat Jain , Evan Green , Jaroslav Kysela , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Pierre-Louis Bossart , Takashi Iwai , Liam Girdwood Subject: [PATCH v1 1/2] ASoC: SOF: Add Comet Lake PCI ID Date: Mon, 6 May 2019 15:53:20 -0700 Message-Id: <20190506225321.74100-2-evgreen@chromium.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190506225321.74100-1-evgreen@chromium.org> References: <20190506225321.74100-1-evgreen@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add support for Intel Comet Lake platforms by adding a new Kconfig for CometLake and the appropriate PCI ID. Signed-off-by: Evan Green --- sound/soc/sof/intel/Kconfig | 16 ++++++++++++++++ sound/soc/sof/sof-pci-dev.c | 4 ++++ 2 files changed, 20 insertions(+) diff --git a/sound/soc/sof/intel/Kconfig b/sound/soc/sof/intel/Kconfig index 32ee0fabab92..0b616d025f05 100644 --- a/sound/soc/sof/intel/Kconfig +++ b/sound/soc/sof/intel/Kconfig @@ -24,6 +24,7 @@ config SND_SOC_SOF_INTEL_PCI select SND_SOC_SOF_CANNONLAKE if SND_SOC_SOF_CANNONLAKE_SUPPORT select SND_SOC_SOF_COFFEELAKE if SND_SOC_SOF_COFFEELAKE_SUPPORT select SND_SOC_SOF_ICELAKE if SND_SOC_SOF_ICELAKE_SUPPORT + select SND_SOC_SOF_COMETLAKE if SND_SOC_SOF_COMETLAKE_SUPPORT help This option is not user-selectable but automagically handled by 'select' statements at a higher level @@ -179,6 +180,21 @@ config SND_SOC_SOF_ICELAKE This option is not user-selectable but automagically handled by 'select' statements at a higher level +config SND_SOC_SOF_COMETLAKE + tristate + select SND_SOC_SOF_CANNONLAKE + help + This option is not user-selectable but automagically handled by + 'select' statements at a higher level + +config SND_SOC_SOF_COMETLAKE_SUPPORT + bool "SOF support for CometLake" + help + This adds support for Sound Open Firmware for Intel(R) platforms + using the Cometlake processors. + Say Y if you have such a device. + If unsure select "N". + config SND_SOC_SOF_HDA_COMMON tristate select SND_SOC_SOF_INTEL_COMMON diff --git a/sound/soc/sof/sof-pci-dev.c b/sound/soc/sof/sof-pci-dev.c index b778dffb2d25..5f0128337e40 100644 --- a/sound/soc/sof/sof-pci-dev.c +++ b/sound/soc/sof/sof-pci-dev.c @@ -353,6 +353,10 @@ static const struct pci_device_id sof_pci_ids[] = { #if IS_ENABLED(CONFIG_SND_SOC_SOF_ICELAKE) { PCI_DEVICE(0x8086, 0x34C8), .driver_data = (unsigned long)&icl_desc}, +#endif +#if IS_ENABLED(CONFIG_SND_SOC_SOF_COMETLAKE) + { PCI_DEVICE(0x8086, 0x02c8), + .driver_data = (unsigned long)&cnl_desc}, #endif { 0, } }; -- 2.20.1