Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp5177714yba; Mon, 13 May 2019 06:42:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqyilXcXKg9AzytBHO0mNdNqBXuL+D0FurO/zjGMwG8KqFHztr1e0Q/LxLWTE1+PPvoqijQT X-Received: by 2002:a65:4b88:: with SMTP id t8mr31025709pgq.374.1557754953449; Mon, 13 May 2019 06:42:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557754953; cv=none; d=google.com; s=arc-20160816; b=O7g1bGL1Wa8Kz2zq+Gk4jn2gEJznwowhWu7SSdt/dp9w0GvrfwmVpFl8qX5Ii5lGpI vy5Y93J0ZGJJvUqg7dCFAcXDZ5Zqcp4aFvxHLg3Gs3XXrbbq9YY0eLQSzE2/oi2CASsy csfOpQpzDXO2eB7Oguwiw0/it72sjMxtOMulAFa2uc7rzB/wB+f86U0uDzhF5yC4rAN/ PROeqH2WPYFy0FmgYkiBkuak3HXFefB/K5iRMTQVKfHubMwF3GWMVXylU0poTN2uAZhj vjagGT7XpiW0vRRTkxopCKfUMhwf9klACStAcVVGSjGp/7P6HpMx59g7jGmLUCotP5K7 C0Eg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:in-reply-to:subject:cc:to :from:dkim-signature; bh=kb1Z2URA6B9xUS5mqPgwhgx11+pmObIW0hPT5y8TU8I=; b=oyKA4U2Tt2y4p2FULX+RrE340LrVO28CeSeAlzEpoM0Zc31c6042EQKnYrnlG2ZdhN r/jtmwF6fnjPTrLbiMykkE1Y92ipUaW02ACL2WbuiI4gFOuWHOfi0KmJD3GnUy5FETwL A1QBko7bujHN2kk4tGPh6eN2DU52Qqc5gOGhR5IwpJak0X+6+rcf6iI7e3W49iDv5EGu e/sYeiEj/UhBVo8m2klNZhafVyFd7w2sLOdZpPMiZLH5zbY1pH0Epv38K7CCsL0N5C6Z flpZF4bRtCUd9xDOIbP732ZbsgSL5YiW3ae/IpifB3bz1snDpJXtQGXpxhe9EhAA76mZ QHBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=CmzCXhTA; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id cj16si1019413plb.239.2019.05.13.06.42.16; Mon, 13 May 2019 06:42:33 -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=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=CmzCXhTA; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729350AbfEMMax (ORCPT + 99 others); Mon, 13 May 2019 08:30:53 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:57026 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729137AbfEMMau (ORCPT ); Mon, 13 May 2019 08:30:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=Date:Message-Id:In-Reply-To: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:References: List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner: List-Archive; bh=kb1Z2URA6B9xUS5mqPgwhgx11+pmObIW0hPT5y8TU8I=; b=CmzCXhTABhRt p51ENgvDM/Kr4qH+RiY6Oi4gUIESjD//644LkCQDrUzMo0E4dfLiHkj1mrK3GPLn++FVEVizEQDSX 872l5B1dAHHoy6pP+66WusSyUnCdbmrRv64mD1XpDJz8DPoO/NSUbwR4w9y/e6eCrjsgdomwzgEMK wBXig=; Received: from cpc102320-sgyl38-2-0-cust46.18-2.cable.virginm.net ([82.37.168.47] helo=debutante.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpa (Exim 4.89) (envelope-from ) id 1hQA6A-0006Wf-8M; Mon, 13 May 2019 12:30:30 +0000 Received: by debutante.sirena.org.uk (Postfix, from userid 1000) id 821AB1129233; Mon, 13 May 2019 13:30:29 +0100 (BST) From: Mark Brown To: Evan Green Cc: alsa-devel@alsa-project.org, Ben Zhang , Jaroslav Kysela , Liam Girdwood , Liam Girdwood , linux-kernel@vger.kernel.org, Mark Brown , Naveen M , Pierre-Louis Bossart , Rajat Jain , Sathya Prakash , Takashi Iwai Subject: Applied "ASoC: SOF: Add Comet Lake PCI IDs" to the asoc tree In-Reply-To: <20190510223929.165569-2-evgreen@chromium.org> X-Patchwork-Hint: ignore Message-Id: <20190513123029.821AB1129233@debutante.sirena.org.uk> Date: Mon, 13 May 2019 13:30:29 +0100 (BST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The patch ASoC: SOF: Add Comet Lake PCI IDs has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.3 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark From 927ce5c76e485e9d6e98b6ca29199a593d013793 Mon Sep 17 00:00:00 2001 From: Evan Green Date: Fri, 10 May 2019 15:39:28 -0700 Subject: [PATCH] ASoC: SOF: Add Comet Lake PCI IDs Add support for Intel Comet Lake platforms by adding a new Kconfig for CometLake and the appropriate PCI IDs. Signed-off-by: Evan Green Signed-off-by: Mark Brown --- sound/soc/sof/intel/Kconfig | 32 ++++++++++++++++++++++++++++++++ sound/soc/sof/sof-pci-dev.c | 28 ++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) diff --git a/sound/soc/sof/intel/Kconfig b/sound/soc/sof/intel/Kconfig index 32ee0fabab92..25c472e6bc22 100644 --- a/sound/soc/sof/intel/Kconfig +++ b/sound/soc/sof/intel/Kconfig @@ -24,6 +24,8 @@ 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_LP if SND_SOC_SOF_COMETLAKE_LP_SUPPORT + select SND_SOC_SOF_COMETLAKE_H if SND_SOC_SOF_COMETLAKE_H_SUPPORT help This option is not user-selectable but automagically handled by 'select' statements at a higher level @@ -179,6 +181,36 @@ 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_LP + tristate + select SND_SOC_SOF_HDA_COMMON + help + This option is not user-selectable but automagically handled by + 'select' statements at a higher level + +config SND_SOC_SOF_COMETLAKE_LP_SUPPORT + bool "SOF support for CometLake-LP" + help + This adds support for Sound Open Firmware for Intel(R) platforms + using the Cometlake-LP processors. + Say Y if you have such a device. + If unsure select "N". + +config SND_SOC_SOF_COMETLAKE_H + tristate + select SND_SOC_SOF_HDA_COMMON + help + This option is not user-selectable but automagically handled by + 'select' statements at a higher level + +config SND_SOC_SOF_COMETLAKE_H_SUPPORT + bool "SOF support for CometLake-H" + help + This adds support for Sound Open Firmware for Intel(R) platforms + using the Cometlake-H 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..d736806c2e0d 100644 --- a/sound/soc/sof/sof-pci-dev.c +++ b/sound/soc/sof/sof-pci-dev.c @@ -129,6 +129,26 @@ static const struct sof_dev_desc cfl_desc = { }; #endif +#if IS_ENABLED(CONFIG_SND_SOC_SOF_COMETLAKE_LP) || \ + IS_ENABLED(CONFIG_SND_SOC_SOF_COMETLAKE_H) + +static const struct sof_dev_desc cml_desc = { + .machines = snd_soc_acpi_intel_cnl_machines, + .resindex_lpe_base = 0, + .resindex_pcicfg_base = -1, + .resindex_imr_base = -1, + .irqindex_host_ipc = -1, + .resindex_dma_base = -1, + .chip_info = &cnl_chip_info, + .default_fw_path = "intel/sof", + .default_tplg_path = "intel/sof-tplg", + .nocodec_fw_filename = "sof-cnl.ri", + .nocodec_tplg_filename = "sof-cnl-nocodec.tplg", + .ops = &sof_cnl_ops, + .arch_ops = &sof_xtensa_arch_ops +}; +#endif + #if IS_ENABLED(CONFIG_SND_SOC_SOF_ICELAKE) static const struct sof_dev_desc icl_desc = { .machines = snd_soc_acpi_intel_icl_machines, @@ -353,6 +373,14 @@ 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_LP) + { PCI_DEVICE(0x8086, 0x02c8), + .driver_data = (unsigned long)&cml_desc}, +#endif +#if IS_ENABLED(CONFIG_SND_SOC_SOF_COMETLAKE_H) + { PCI_DEVICE(0x8086, 0x06c8), + .driver_data = (unsigned long)&cml_desc}, #endif { 0, } }; -- 2.20.1