Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp5249751yba; Wed, 8 May 2019 10:06:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqxaRNkCFftGK7jMZ2NmpXbFMVG697llFW8zdCvPFM6Vc0E3zpRb59/mwyg0nH6ls559t10z X-Received: by 2002:a63:e417:: with SMTP id a23mr33297040pgi.224.1557335175507; Wed, 08 May 2019 10:06:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557335175; cv=none; d=google.com; s=arc-20160816; b=K124N+YSYeHeALoLkoxY2rtZ/+n4l0iKK3hKWVGIRVPOtFGUoagz9jiUQz8grYegTS Qu2l9ZKCBgQS9TgsHpr7QFPAatwYcyyxqi4qSLIF++CV3Mjcl1NIwyn0z85frVxO2C1X jglcYjryWOVWtdyWX/q9vzckfkPqss5wZLSBOeFNKdck1OGRnz8GohUTjeOET8NkeVbl RqEH84QG/z07Z07P4dCj9OsUZnFe68MTR+PsU7mT7IbVIU23/Jnr8FWoUuy7iePShhWp 5bmKahHWRJBLvLJ+r4OMg239rn5M666X6V31lFcBc8qydIbPFCn8jH/r0+OMVZEkDQkx f2lw== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=i7saNIzUdhQSWfTmz2kkioDHkMxlebnm0obaWiskn5k=; b=tktwBY5lUJXPxK6yvB+WvjPKhm//JOXsg7KiJdnb8tK0v9melWtKytUEmtGc3jRkOn QqLoAfcnv/dlfoufOCtMMbuXeGn7z/veigezKqHciiBSE7HzPKDNh2pDzmMd9A6HUIXk 77YRdawvs0lncWE9F/l1ARn61Fpg3CkwA6UVr0gm7FRTEnSOvbqVCMB9xM4axKNEF4Iy 27cy+u6QFFMsQvYzvkkpmu7rxzSXh8AkEflzzbR27bOY704lKf1TvNN1ZdbIcahyKy5P ynE6oXWftExWDfbJM8bkq5CWjVLfpgq4zKkWFO8yefGNJLANi6bARJQ/qH8H+7wV0OxA 0PRA== ARC-Authentication-Results: i=1; mx.google.com; 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=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c11si24851355pgi.26.2019.05.08.10.05.59; Wed, 08 May 2019 10:06:15 -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; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729198AbfEHREb (ORCPT + 99 others); Wed, 8 May 2019 13:04:31 -0400 Received: from mga02.intel.com ([134.134.136.20]:30024 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728935AbfEHREa (ORCPT ); Wed, 8 May 2019 13:04:30 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 May 2019 10:04:29 -0700 X-ExtLoop1: 1 Received: from mayalewx-mobl1.amr.corp.intel.com (HELO [10.255.230.159]) ([10.255.230.159]) by fmsmga006.fm.intel.com with ESMTP; 08 May 2019 10:04:27 -0700 Subject: Re: [PATCH v2 2/2] ASoC: Intel: Skylake: Add Cometlake PCI IDs To: Evan Green Cc: Liam Girdwood , Mark Brown , Naveen M , Sathya Prakash , Ben Zhang , Rajat Jain , Jaroslav Kysela , alsa-devel@alsa-project.org, Rakesh Ughreja , Guenter Roeck , Yu Zhao , LKML , Takashi Iwai , Jenny TC , Jie Yang References: <20190507215359.113378-1-evgreen@chromium.org> <20190507215359.113378-3-evgreen@chromium.org> <866afac2-e457-375b-d745-88952b11d75e@linux.intel.com> From: Pierre-Louis Bossart Message-ID: <6fd9ca2b-dcf6-801f-209e-11eba59203fe@linux.intel.com> Date: Wed, 8 May 2019 12:04:27 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/8/19 11:51 AM, Evan Green wrote: > On Tue, May 7, 2019 at 3:31 PM Pierre-Louis Bossart > wrote: >> >> On 5/7/19 4:53 PM, Evan Green wrote: >>> Add PCI IDs for Intel CometLake platforms, which from a software >>> point of view are extremely similar to Cannonlake platforms. >> >> Humm, I have mixed feelings here. >> >> Yes the hardware is nearly identical, with the exception of one detail >> that's not visible to the kernel, but there is no support for DMICs with >> the Skylake driver w/ HDaudio, and Chrome platforms are only going with >> SOF, so is it wise to add these two CometLake platforms to the default >> SND_SOC_INTEL_SKYLAKE selector, which is used by a number of distributions? >> >> I don't mind if we add those PCI IDs and people use this driver if they >> wish to, but it may be time for an explicit opt-in? The >> SND_SOC_INTEL_SKYLAKE definition should even be pruned to mean SKL, APL, >> KBL and GLK, and we can add DMI-based quirks for e.g. the Up2 board and >> GLK Chromebooks which work with SOF. > > I don't have the context here, so feel free to ignore me. But it seems > like such a tiny amount of extra bits to add to make Cometlake work, > and then there's no hassle for the distributions when Cometlake > devices start showing up in the wild. So while things are more or less > the same, why not continue piggypacking off the default? > Or are you saying that the lack of DMIC support means the default > should be to use a different driver? Yes, it's the latter case, SOF will be the only driver supporting DMICs on CometLake, so it'd be better to avoid creating a conflict with SOF or enabling a configuration by default which is known to have restrictions. It's fine to add the CML IDs, but better avoid adding CML under the SKYLAKE all-you-can-eat selector.