Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp559228pxb; Wed, 6 Oct 2021 10:28:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxx64at6LUaQ7ewVotJLbiwQ5TP3qWNOwkZ0GRybYy78z5iBxMxqsxTgdKNJr0KjE+nHqV+ X-Received: by 2002:a05:6402:40d3:: with SMTP id z19mr3559415edb.393.1633541315444; Wed, 06 Oct 2021 10:28:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633541315; cv=none; d=google.com; s=arc-20160816; b=hBN/xblZ+Ga2DOCnHggDLGEqy9uBVoPsiUHhmbU8zJUsy3DrcYqwhERpNAAJF1HOJU K9Pyp3iiCei7iuLdvYZRX5A3Yra83+Pk6+LkcXe6j7+MvmfOxjxUywNsjbHtFsywp3sD 920fYHdfN88J62rEe/PXYy3s+Bzjezx9fVzCcvxO/uNNVZ4Q6ABQQQp42oznIltsHaJ3 vIixVgs2lw1D0AktI5DlXHXgGKoJ1hLpCDSn7oew+w/1CbhT18rlIEpcJtWQkb1m8Uyf sPXto6zIDmheuM+pWNKYPmyFT0QMHQzyAAJwBpSIwD0vmHW6gP9+5Fc8VxdNBCUmGgDA M5YA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=CvNf4hIurInVtyTxD2ORuThAw6DuS6zb4EbPVMRwDyM=; b=bc9SiyBGbIOaUaTUfWSWAoC0+RzGFhIA7RdoDzkNmRS6KMSqfC3nEXdDKsIlui3btw Vhg4151hD0ZGkbpxlgGu+lbzi3YOPg7StRIRcbJ5RFNHYyUF4FatypVr3iZvAdXEiJoZ U0LZwAEg9FYeMcFLOyhZVtbcseSVpa+kYU/0jH6GsMtUBgwC8KQjeFtnuYCnrKLki5u/ w0OxLiY2ZyMcJ4fic8we2935+ndcVz+SzYDkn2/CEw0T57xrJjzq4AkZH0C9cfCkQt6D ZUIjlt0vO5/vG9y49qGzdWYd10US+Tn9akFtkWsP/+W45l8WoRMdWsSj6Un8tkUhOJjf DF0w== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z8si11131604edb.1.2021.10.06.10.28.10; Wed, 06 Oct 2021 10:28:35 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231724AbhJFR0h (ORCPT + 99 others); Wed, 6 Oct 2021 13:26:37 -0400 Received: from mga12.intel.com ([192.55.52.136]:37402 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230108AbhJFR0g (ORCPT ); Wed, 6 Oct 2021 13:26:36 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10129"; a="206174624" X-IronPort-AV: E=Sophos;i="5.85,352,1624345200"; d="scan'208";a="206174624" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Oct 2021 10:24:44 -0700 X-IronPort-AV: E=Sophos;i="5.85,352,1624345200"; d="scan'208";a="439198434" Received: from nbasa-mobl2.amr.corp.intel.com (HELO [10.213.170.135]) ([10.213.170.135]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Oct 2021 10:24:37 -0700 Subject: Re: [PATCH 3/3] ASoC: Intel: sof_rt5682: use id_alt to enumerate rt5682s To: Hans de Goede , Brent Lu , alsa-devel@alsa-project.org, Bard liao Cc: Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Cezary Rojewski , Jie Yang , Kai Vehmanen , Guennadi Liakhovetski , Yong Zhi , Vamshi Krishna Gopal , linux-kernel@vger.kernel.org, Rander Wang , Bard Liao , Malik_Hsu , Libin Yang , Charles Keepax , Paul Olaru , Curtis Malainey , Mac Chiang , Gongjun Song References: <20211006161805.938950-1-brent.lu@intel.com> <20211006161805.938950-4-brent.lu@intel.com> From: Pierre-Louis Bossart Message-ID: Date: Wed, 6 Oct 2021 12:24:33 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >> @@ -196,6 +201,7 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_baytrail_machines[] = { >> }, >> { >> .id = "10EC5682", >> + .id_alt = &rt5682s_hp, >> .drv_name = "sof_rt5682", >> .sof_fw_filename = "sof-byt.ri", >> .sof_tplg_filename = "sof-byt-rt5682.tplg", > > So this is only useful if there actually are any BYT devices using the "RTL5682" > ACPI HID, the 100+ BYT/CHT DSDTs which I've gather over time say there aren't any. > > Actually there also aren't any using the non alt "10EC5682" ACPI HID either... > > Bard Liao, you added this in commit f70abd75b7c6 ("ASoC: Intel: add sof-rt5682 machine driver") > but I wonder how useful this is. I guess it may be available as (and tested on?) some dev-kit. > > But I don't think there us any hardware out there in the wild using this ? In the past we used this configuration for SOF CI tests with the MinnowBoard + an RT5682 eval board. We gradually fried most boards and no longer check this capability for each SOF PR. So I would agree we can avoid changing anything for BYT/CHT and possibly APL, it'd be an untested configuration. in other words, let's add this compatible/alt_id for platforms where we know it'll be used.