Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp501701pxb; Wed, 6 Oct 2021 09:21:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzg8Qe7dG24d/JEnih4m1xC1IUsA/dtJLBxaHjciGIp8hlYhaX8nTO4fpUY0cRMF5MgUHOH X-Received: by 2002:a17:906:144b:: with SMTP id q11mr35061965ejc.78.1633537319261; Wed, 06 Oct 2021 09:21:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633537319; cv=none; d=google.com; s=arc-20160816; b=L2DjLpEbY5Heabg61xQ8tNWc+Of3fSEazGEAn5Ag6SfCKy2SW9Zbq3kRuxOS2sPasL r7kLfTTr41X+04qSZmixtJDAariy2+OQvm0W5RqBc2KFv4JdMOvDs0EQwzV+nvf1qM/y aZhKr5k008gBWKShuo9piHaBlDcqwni1pgeXei7QV+SbcT3prJrKkrn6HVArIS8c1C/V WHg6qqCn3JskPI0zWm2ino/VvHYQFJjnGX5R0HXxnhl3xYWXWRfTCsUoSb5tKNbc1Ozv bvqw0Z27ARjNPZGoVoCFOcMutPwBKNFwtxDpzcRnyLREMi267yrIRBl3/e3Dh359XFLB dmTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=P5KaGYLEo2PycLu6RmqZFYO4PprwTWq6R9JcNIyDY18=; b=0FrPllXdGoCOEV/6voXo/ZYVQlbA40Z3vOWySg6esYeKl2sO2LxQHERbiJ8uU/Y8aB dpUapYfmUzyUilD4UWeAvpnH7ZnF6bgzSwZ8j0a1Q1qfa6EtFLwyH5L+UV1A7aPpAc1d kvIjNnzVxf54lHcEhsr7BxtCQHxWwkwN1hdmu7qHfJZfMWBZ1aDueNT0e5CjyMKFBaks r+5bx+B5n5sUspv24q8CtFIoCP/VP7wdOtXr2+I8zqs45qGbhAPrB23IvnSo7G2fzfc7 /bnSVAtX+lLXizIllfjieoa1g1e05bcllwQARPKcZ4R+OJOUHxdQ24YXulB2poRlbdY5 j+hQ== 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 g9si69868edf.127.2021.10.06.09.21.32; Wed, 06 Oct 2021 09:21:59 -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 S238087AbhJFQV5 (ORCPT + 99 others); Wed, 6 Oct 2021 12:21:57 -0400 Received: from mga09.intel.com ([134.134.136.24]:50845 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230021AbhJFQV4 (ORCPT ); Wed, 6 Oct 2021 12:21:56 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10129"; a="225926605" X-IronPort-AV: E=Sophos;i="5.85,352,1624345200"; d="scan'208";a="225926605" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Oct 2021 09:20:04 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,352,1624345200"; d="scan'208";a="657046588" Received: from brentlu-brix.itwn.intel.com ([10.5.253.56]) by orsmga005.jf.intel.com with ESMTP; 06 Oct 2021 09:20:00 -0700 From: Brent Lu To: alsa-devel@alsa-project.org Cc: Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Cezary Rojewski , Pierre-Louis Bossart , Jie Yang , Brent Lu , Kai Vehmanen , Guennadi Liakhovetski , Yong Zhi , Vamshi Krishna Gopal , linux-kernel@vger.kernel.org, Rander Wang , Bard Liao , Malik_Hsu , Libin Yang , Hans de Goede , Charles Keepax , Paul Olaru , Curtis Malainey , Mac Chiang , Gongjun Song Subject: [PATCH 0/3] Multiple headphone codec driver support Date: Thu, 7 Oct 2021 00:18:02 +0800 Message-Id: <20211006161805.938950-1-brent.lu@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Support multiple headphone drivers in same machine driver. In this case, both rt5682 and rt5682s are supported and enumerated by different ACPI HID "10EC5682" and "RTL5682". Brent Lu (3): ASoC: soc-acpi: add alternative id field for machine driver matching ASoC: Intel: sof_rt5682: detect codec variant in probe function ASoC: Intel: sof_rt5682: use id_alt to enumerate rt5682s include/sound/soc-acpi.h | 2 ++ sound/soc/intel/boards/sof_rt5682.c | 34 +++---------------- .../intel/common/soc-acpi-intel-adl-match.c | 8 +++++ .../intel/common/soc-acpi-intel-byt-match.c | 6 ++++ .../intel/common/soc-acpi-intel-cht-match.c | 6 ++++ .../intel/common/soc-acpi-intel-cml-match.c | 8 +++++ .../intel/common/soc-acpi-intel-icl-match.c | 6 ++++ .../intel/common/soc-acpi-intel-jsl-match.c | 32 +++++------------ .../intel/common/soc-acpi-intel-tgl-match.c | 8 +++++ sound/soc/soc-acpi.c | 21 +++++++++++- 10 files changed, 76 insertions(+), 55 deletions(-) -- 2.25.1