From patchwork Thu Jun 29 11:24:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Cezary Rojewski X-Patchwork-Id: 13296903 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 198AFEB64D9 for ; Thu, 29 Jun 2023 11:08: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 C4D11822; Thu, 29 Jun 2023 13:07:29 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz C4D11822 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1688036899; bh=FLoL8An0bukglSPKXHABsGoYDKvwe2tm5bWLwcg/0gA=; h=From:To:Cc:Subject:Date:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=ZBrO0prfQ9r/vugKn9F1D4se6G3thR5eswzRci8C1uFI23Bjx13casbePaqRaAYEy F/6Oyei++LderY6VZJ6oeeli1++7bThVtfzw+ofKmhARfS1i/5yllyVkHo8hmGgYBj /Hzcx7KkWqtONACM7lFWW95TBIw2pzI3nTBXLTqE= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 5773CF80169; Thu, 29 Jun 2023 13:07:05 +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 9D547F80246; Thu, 29 Jun 2023 13:07:04 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 81CD3F80246; Thu, 29 Jun 2023 13:07:01 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) (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 096A1F80093 for ; Thu, 29 Jun 2023 13:06:58 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 096A1F80093 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=HsQuQ/3m DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1688036820; x=1719572820; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=FLoL8An0bukglSPKXHABsGoYDKvwe2tm5bWLwcg/0gA=; b=HsQuQ/3muBYuW+VxjocIhFsk1d+bB+dTyT/qxhb1PSGw/oHN5hcJI/xw AsCsB7xdeoMRowdGTSXBfhAnGkYCTn84cHanFCJ6UBJvBndUOkGHPUfEX ZGIStdS0GAy7c0IUXa/MPX4BRVfcxvjs2hpaJ5qNWOBpJ8J1PJFpQk+tL 30kgFbLtbhiTaoQJ5VOnJvzKT4FwP+4ejIYIpzLArEW2mycGY4kZAoGhO 6VlHfjBCTmn7lGNypOPFekc7Ymf7gPLVZGXw50eVnkoKCVd/fnrcFPzNU H+0pppQuPc/HtTkzWOpFuRgHFKauuTh3+Z9TDgdbw9L4eYas5vGmdzyfP A==; X-IronPort-AV: E=McAfee;i="6600,9927,10755"; a="365543564" X-IronPort-AV: E=Sophos;i="6.01,168,1684825200"; d="scan'208";a="365543564" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Jun 2023 04:06:56 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10755"; a="1047732684" X-IronPort-AV: E=Sophos;i="6.01,168,1684825200"; d="scan'208";a="1047732684" Received: from crojewsk-ctrl.igk.intel.com ([10.102.9.28]) by fmsmga005.fm.intel.com with ESMTP; 29 Jun 2023 04:06:49 -0700 From: Cezary Rojewski To: alsa-devel@alsa-project.org, broonie@kernel.org Cc: tiwai@suse.com, perex@perex.cz, zhuning@everest-semi.com, amadeuszx.slawinski@linux.intel.com, pierre-louis.bossart@linux.intel.com, hdegoede@redhat.com, Cezary Rojewski Subject: [PATCH 0/8] ASoC: Intel: avs: New boards and fixes to existing ones Date: Thu, 29 Jun 2023 13:24:41 +0200 Message-Id: <20230629112449.1755928-1-cezary.rojewski@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Message-ID-Hash: BOPUJ3HWBK2ADDIOLCNF72CVEFXDTJYG X-Message-ID-Hash: BOPUJ3HWBK2ADDIOLCNF72CVEFXDTJYG X-MailFrom: cezary.rojewski@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: Series adds support for two boards: es8336 and rt5663. The former is utilized by some KBL-based tablets whereas the latter unlocks Chromebooks with rt5663 i2c codecs. As existing implementation of es8336 (es8316.c) codec driver is not prepared to cope with KBL-based platforms, couple of small, clock-related changes precede anything avs-driver related. The tail of patchset cleans up existing implementation of rt5682. Amadeusz Sławiński (2): ASoC: Intel: avs: Add rt5663 machine board ASoC: Intel: avs: Load rt5663 board on KBL-based platforms Cezary Rojewski (6): ASoC: codecs: es8316: Add support for 24 MHz MCLK ASoC: codecs: es8316: Add support for S24_3LE format ASoC: Intel: avs: Add es8336 machine board ASoC: Intel: avs: Load es8336 board on KBL-based platforms ASoC: Intel: avs: rt5682: Add missing components ASoC: Intel: avs: rt5682: Tidy up hw_params() sound/soc/codecs/es8316.c | 5 +- sound/soc/intel/avs/board_selection.c | 16 ++ sound/soc/intel/avs/boards/Kconfig | 20 ++ sound/soc/intel/avs/boards/Makefile | 4 + sound/soc/intel/avs/boards/es8336.c | 315 ++++++++++++++++++++++++++ sound/soc/intel/avs/boards/rt5663.c | 254 +++++++++++++++++++++ sound/soc/intel/avs/boards/rt5682.c | 67 +++--- 7 files changed, 652 insertions(+), 29 deletions(-) create mode 100644 sound/soc/intel/avs/boards/es8336.c create mode 100644 sound/soc/intel/avs/boards/rt5663.c