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 6DE7BEB64D7 for ; Sun, 18 Jun 2023 03:49:18 +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 C442F82B; Sun, 18 Jun 2023 05:48:24 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz C442F82B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1687060154; bh=nFIYyGK/DyZz/t03/Cic83ASjB4JdnnIA6LKPKGwW+w=; h=From:To:In-Reply-To:References:Subject:Date:List-Id:List-Archive: List-Help:List-Owner:List-Post:List-Subscribe:List-Unsubscribe: From; b=BLJYak4YJx/kghnZALMTiGXWR+LUMSlYGTbbiWA366Dgyvxx36wKg3kPCSalX42zw qSJ6n8n1eqPR4WtVYp+doIgxa/EYdYVh4PFHDRY7sKrTeYFtyWLE/Wkx0AGkKZBg6f qap+i8l/aJRTfcB3WVdZllWLAzo4HhO87V+LsFM8= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 0AA90F800E5; Sun, 18 Jun 2023 05:47:58 +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 86A5AF80132; Sun, 18 Jun 2023 05:47:57 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id F3426F80132; Sun, 18 Jun 2023 05:47:28 +0200 (CEST) Received: from webhooks-bot.alsa-project.org (vmi242170.contaboserver.net [207.180.221.201]) by alsa1.perex.cz (Postfix) with ESMTP id 113F5F800BA for ; Sun, 18 Jun 2023 05:47:24 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 113F5F800BA MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit From: GitHub pull_request - edited To: alsa-devel@alsa-project.org In-Reply-To: <1687060044010832310-webhooks-bot@alsa-project.org> References: <1687060044010832310-webhooks-bot@alsa-project.org> Subject: topology: nhlt: intel: support m/n divider and xtal/cardinal/pll clock source Message-Id: <20230618034728.F3426F80132@alsa1.perex.cz> Date: Sun, 18 Jun 2023 05:47:28 +0200 (CEST) Message-ID-Hash: 6GMVVQB3H2K53HQZ7U736T7LIXWC6MGP X-Message-ID-Hash: 6GMVVQB3H2K53HQZ7U736T7LIXWC6MGP X-MailFrom: github@alsa-project.org 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: alsa-project/alsa-utils pull request #220 was edited from brentlu: Current alsatplg supports only cardinal clock source without m/n divider. Code in SOF ssp driver is ported here to implement the divider function. I tested the code on ADL brya device with following setting: MCLK: 19.2MHz BCLK: 3.072Mz (m 24 n 25) PR of topology is here: https://github.com/thesofproject/sof/pull/7826 Request URL : https://github.com/alsa-project/alsa-utils/pull/220 Patch URL : https://github.com/alsa-project/alsa-utils/pull/220.patch Repository URL: https://github.com/alsa-project/alsa-utils