From patchwork Fri Oct 27 11:05:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Amadeusz_S=C5=82awi=C5=84ski?= X-Patchwork-Id: 739084 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 88B34C25B67 for ; Fri, 27 Oct 2023 11:07:22 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 73C00DF6; Fri, 27 Oct 2023 13:06:30 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 73C00DF6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1698404840; bh=fOfitkbsDWDdgR7///RvDABbFaiYSzh0npo5N5wdWdg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=b3JI9bTardqCT+igrcUt/R7H9UjHVnBQltzgj5DbPJ1/4eoUNN8/D1Xb93KL0GLVm Suisx313Czb1azdM2yteYWyuPX77eEMmvPvfl4zhGC6DWRgXRbOhb5gNQfxP2Q7Xs4 MfXrQNMyzpqHK6tDyXQwu5QH9hTR1vKaUZ6epN5I= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 8B8C2F8056F; Fri, 27 Oct 2023 13:05:40 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 76F7BF8055C; Fri, 27 Oct 2023 13:05:40 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 4F124F8012B; Fri, 27 Oct 2023 13:05:37 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 1CA67F8012B for ; Fri, 27 Oct 2023 13:05:32 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 1CA67F8012B Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=KHXZmyzW DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1698404734; x=1729940734; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=fOfitkbsDWDdgR7///RvDABbFaiYSzh0npo5N5wdWdg=; b=KHXZmyzWW61V+0QNSnx7LqoQakJUpO5DJ8PMQ/TUKWUmi/FwZcWHi2NT 8HwGUWHxxEFXeqHQtWF8obIUrYdw35kWNsUgEbSV4k12v6wgzZyMt1ZT2 jxVH8aUbpe6kB3QaipNXjKX/wD3RpUF1Y5n+tL1DFPvUE25uQm5BpILES ZkVVvKp1WTg6GkufOMy5E6beDr2llFDNB2ZhivwE5LVncvcEwbwKiOfyO 3sWr9BFOy8dosce0qGdNFpCAuLlf+X1tQiyhDQC4IkrzV0c47TUJdiZ6u 3by7Rv4b7VNCwKww1xkHWda2Ddvb9jz1Fj+4s5RvgH6DCgXw6kHBdfBRQ Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10875"; a="418866481" X-IronPort-AV: E=Sophos;i="6.03,256,1694761200"; d="scan'208";a="418866481" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Oct 2023 04:05:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10875"; a="736054991" X-IronPort-AV: E=Sophos;i="6.03,256,1694761200"; d="scan'208";a="736054991" Received: from dev2.igk.intel.com ([10.237.148.94]) by orsmga006.jf.intel.com with ESMTP; 27 Oct 2023 04:05:30 -0700 From: =?utf-8?q?Amadeusz_S=C5=82awi=C5=84ski?= To: Mark Brown Cc: Cezary Rojewski , Takashi Iwai , Jaroslav Kysela , alsa-devel@alsa-project.org, linux-sound@vger.kernel.org, =?utf-8?q?=C5=81u?= =?utf-8?q?kasz_Majczak?= , =?utf-8?q?Amadeusz_S=C5=82awi?= =?utf-8?q?=C5=84ski?= Subject: [PATCH 2/2] ASoC: Intel: avs: Add rt5514 machine board Date: Fri, 27 Oct 2023 13:05:37 +0200 Message-Id: <20231027110537.2103712-3-amadeuszx.slawinski@linux.intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231027110537.2103712-1-amadeuszx.slawinski@linux.intel.com> References: <20231027110537.2103712-1-amadeuszx.slawinski@linux.intel.com> MIME-Version: 1.0 Message-ID-Hash: WYHRPDKXORIBQ6WFQ3BOHM3AJBCQWMBS X-Message-ID-Hash: WYHRPDKXORIBQ6WFQ3BOHM3AJBCQWMBS X-MailFrom: amadeuszx.slawinski@linux.intel.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: In order to support Eve chromebooks add rt5514 configuration to board lookup table. rt5514 is used for capture in DMIC configuration on SSP 0 and TDM 1. Signed-off-by: Amadeusz Sławiński --- sound/soc/intel/avs/board_selection.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/sound/soc/intel/avs/board_selection.c b/sound/soc/intel/avs/board_selection.c index c10fff705496..8e91eece992d 100644 --- a/sound/soc/intel/avs/board_selection.c +++ b/sound/soc/intel/avs/board_selection.c @@ -135,6 +135,15 @@ static struct snd_soc_acpi_mach avs_kbl_i2s_machines[] = { }, .tplg_filename = "max98927-tplg.bin", }, + { + .id = "10EC5514", + .drv_name = "avs_rt5514", + .mach_params = { + .i2s_link_mask = AVS_SSP(0), + }, + .pdata = (unsigned long[]){ 0x2, 0, 0, 0, 0, 0 }, /* SSP0 TDMs */ + .tplg_filename = "rt5514-tplg.bin", + }, { .id = "10EC5663", .drv_name = "avs_rt5663",