Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp5177663yba; Mon, 13 May 2019 06:42:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqzKUPfBbv69t/pOr3DSqviK2QdRbuDm/PvX+12W4er6IljNnvZI3vGtqGcvAXiHyVa11Bde X-Received: by 2002:a62:ed09:: with SMTP id u9mr34261073pfh.23.1557754951018; Mon, 13 May 2019 06:42:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557754951; cv=none; d=google.com; s=arc-20160816; b=w87GD+f64v94/9K5XD3by8NWcy3OxgSvBDNxYsos/nsSfc4mAqwPqFe9pjchKP5CRB ydL5TRNpgrf/MYt2nfROMqJkMpjL2eBNR40tZnioJ/UApRSdfFx0m8BC69qpwoJ1Tb5U AiAvG6rR8s2NuGzF0SXlvKY4YvzAkcuwjeRcS36SIgF9ytQAcY+xmxrPu0+Fqp7xTriz X2LS/lDBwGhQs5PkLlqdQOrddqZvq7p40tcljbXAcO7fRaR0KStfbTpp1CckaTThwY57 d7zRrpnvBu8h9/Jeo5IB4X4xP6Pf/dLmHNtipeIo7jJzA7MRJOjjEg38Zk/7/RNSf7yI 9peA== 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=3dg4FwScEIcCqPU2mHWgY1X5dTD3ay7qM0L3mMRVCak=; b=tGtZv8V/97vCma6ffwOUr0AS2XEvWIz4haJQCw1FjbDXQD96zjmhovKx1LjjYOQ39a FXkuwDAiMBLXzB+LGCLZO+IF4BALCG8LI5j+4RVXFN6OIWSveCbwigEPZpjR+1PRR54d +31cZS0xClQTWhiEs42IhlLNaDVhiF2KHGGKTCfEk1SaOilger5leJqfIv+qye5767ni dxllT9tNhKPfH2hsuSnF0O1DsH4nUPFBGFlmKIXSeDvuDql6L9/YUa22yCJw5fOk/bxO JaViHVCeqOvpanxnqpM87N6MNHZ7uBvHIlzL6iQ+2tS75Xblv8tEdwZ1ba3LRJaaaDht XrNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=AaPTPio6; 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 q8si17708983pgf.3.2019.05.13.06.42.14; Mon, 13 May 2019 06:42:31 -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=AaPTPio6; 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 S1729269AbfEMMaw (ORCPT + 99 others); Mon, 13 May 2019 08:30:52 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:56928 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729134AbfEMMat (ORCPT ); Mon, 13 May 2019 08:30:49 -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=3dg4FwScEIcCqPU2mHWgY1X5dTD3ay7qM0L3mMRVCak=; b=AaPTPio6G/C9 9V2pdV9aCvSzXUGi7/Lk+Rsoj/6HwmmP6ykS2237Ml51rEvvnRorYPhEe5NMQMOQqyk1dPwRAjYKE 7qpwkZ3GxxWCCjGgnAmML9Hev92/wULqxdA7kfMp2/+I77+Si/PTOkuJJRvixVBTOXpy7s+p5M2hs Fq59k=; 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 1hQA69-0006We-Rj; Mon, 13 May 2019 12:30:29 +0000 Received: by debutante.sirena.org.uk (Postfix, from userid 1000) id 4BF481129232; Mon, 13 May 2019 13:30:29 +0100 (BST) From: Mark Brown To: Evan Green Cc: alsa-devel@alsa-project.org, Ben Zhang , Guenter Roeck , Jaroslav Kysela , Jie Yang , Liam Girdwood , linux-kernel@vger.kernel.org, Mark Brown , Naveen M , Pierre-Louis Bossart , Rajat Jain , Rakesh Ughreja , Sathya Prakash , Takashi Iwai , Yu Zhao Subject: Applied "ASoC: Intel: Skylake: Add Cometlake PCI IDs" to the asoc tree In-Reply-To: <20190510223929.165569-3-evgreen@chromium.org> X-Patchwork-Hint: ignore Message-Id: <20190513123029.4BF481129232@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: Intel: Skylake: Add Cometlake 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 5f740b243014f54e503ea5aca0a90680b56d0134 Mon Sep 17 00:00:00 2001 From: Evan Green Date: Fri, 10 May 2019 15:39:29 -0700 Subject: [PATCH] ASoC: Intel: Skylake: Add Cometlake PCI IDs Add PCI IDs for Intel CometLake platforms, which from a software point of view are extremely similar to Cannonlake platforms. Signed-off-by: Evan Green Signed-off-by: Mark Brown --- sound/soc/intel/Kconfig | 16 ++++++++++++++++ sound/soc/intel/skylake/skl-messages.c | 16 ++++++++++++++++ sound/soc/intel/skylake/skl.c | 10 ++++++++++ 3 files changed, 42 insertions(+) diff --git a/sound/soc/intel/Kconfig b/sound/soc/intel/Kconfig index fc1396adde71..b089ed3bf77f 100644 --- a/sound/soc/intel/Kconfig +++ b/sound/soc/intel/Kconfig @@ -165,6 +165,22 @@ config SND_SOC_INTEL_CFL If you have a Intel CoffeeLake platform with the DSP enabled in the BIOS then enable this option by saying Y or m. +config SND_SOC_INTEL_CML_H + tristate "CometLake-H Platforms" + depends on PCI && ACPI + select SND_SOC_INTEL_SKYLAKE_FAMILY + help + If you have a Intel CometLake-H platform with the DSP + enabled in the BIOS then enable this option by saying Y or m. + +config SND_SOC_INTEL_CML_LP + tristate "CometLake-LP Platforms" + depends on PCI && ACPI + select SND_SOC_INTEL_SKYLAKE_FAMILY + help + If you have a Intel CometLake-LP platform with the DSP + enabled in the BIOS then enable this option by saying Y or m. + config SND_SOC_INTEL_SKYLAKE_FAMILY tristate select SND_SOC_INTEL_SKYLAKE_COMMON diff --git a/sound/soc/intel/skylake/skl-messages.c b/sound/soc/intel/skylake/skl-messages.c index 4bf70b4429f0..df01dc952521 100644 --- a/sound/soc/intel/skylake/skl-messages.c +++ b/sound/soc/intel/skylake/skl-messages.c @@ -255,6 +255,22 @@ static const struct skl_dsp_ops dsp_ops[] = { .init_fw = cnl_sst_init_fw, .cleanup = cnl_sst_dsp_cleanup }, + { + .id = 0x02c8, + .num_cores = 4, + .loader_ops = bxt_get_loader_ops, + .init = cnl_sst_dsp_init, + .init_fw = cnl_sst_init_fw, + .cleanup = cnl_sst_dsp_cleanup + }, + { + .id = 0x06c8, + .num_cores = 4, + .loader_ops = bxt_get_loader_ops, + .init = cnl_sst_dsp_init, + .init_fw = cnl_sst_init_fw, + .cleanup = cnl_sst_dsp_cleanup + }, }; const struct skl_dsp_ops *skl_get_dsp_ops(int pci_id) diff --git a/sound/soc/intel/skylake/skl.c b/sound/soc/intel/skylake/skl.c index 4ed5b7e17d44..f864f7b3df3a 100644 --- a/sound/soc/intel/skylake/skl.c +++ b/sound/soc/intel/skylake/skl.c @@ -1166,6 +1166,16 @@ static const struct pci_device_id skl_ids[] = { /* CFL */ { PCI_DEVICE(0x8086, 0xa348), .driver_data = (unsigned long)&snd_soc_acpi_intel_cnl_machines}, +#endif +#if IS_ENABLED(CONFIG_SND_SOC_INTEL_CML_LP) + /* CML-LP */ + { PCI_DEVICE(0x8086, 0x02c8), + .driver_data = (unsigned long)&snd_soc_acpi_intel_cnl_machines}, +#endif +#if IS_ENABLED(CONFIG_SND_SOC_INTEL_CML_H) + /* CML-H */ + { PCI_DEVICE(0x8086, 0x06c8), + .driver_data = (unsigned long)&snd_soc_acpi_intel_cnl_machines}, #endif { 0, } }; -- 2.20.1