From patchwork Thu Dec 1 12:55:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francesco Dolcini X-Patchwork-Id: 13061301 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 178AEC4321E for ; Thu, 1 Dec 2022 12:57:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=0AnYs8Oj/OjMcXv1P1k7JonB44D97cklJd+bogh+Vaw=; b=ZCKd0OQMJzIvD1 KDV4vARyvC76CUkR+tVM1CIENCqAvRpgJ7ChBt6vnYXmXCTmh5pkS2XftqSskJb5UusRSHnMmZGpn WDo2aC0fLxmpfEqsTiUtPBhuKcnggFV1NxacVP7FZ2aRciVtyjSbpWvRuCtMMncsj+uF61Y/tHZ4u P8wdHf/mxiS5XncSpFlcehfVDAVzPc1uwZrd+H2T3+fDyRp/C1gecRatfBNRaDjbljTPm7qjc2TIf Iy0tFVG62n/Ij1pCqMMz7qYvRluSu2TvfzRf85mbpMuMAizeqywb9w9uJjCVtwOdrIEXymvbF/Kuw yEfyq0ea5U3Rqrh0ch9A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p0j6w-007P6a-7v; Thu, 01 Dec 2022 12:56:18 +0000 Received: from smtp-out-07.comm2000.it ([212.97.32.77]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1p0j6t-007P4q-Fn for linux-arm-kernel@lists.infradead.org; Thu, 01 Dec 2022 12:56:16 +0000 Received: from francesco-nb.pivistrello.it (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: francesco@dolcini.it) by smtp-out-07.comm2000.it (Postfix) with ESMTPSA id 5BCC53C7F73; Thu, 1 Dec 2022 13:55:57 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mailserver.it; s=mailsrv; t=1669899371; bh=sPFdQlxZpzeQAbWmUGDFdr4A3mzU0NxYxflx0xvA/q8=; h=From:To:Cc:Subject:Date; b=SICDXH8vDJ7bxgIjuw/AVr2VUlDew49H1kGCX+gU1Ky4alhSg/GeQOh2Ov9fCumO6 gjCg9hn/38kaz+07unS/VkCBkNVXSbbLtikeL2EvsGP4W5K2QEDcKompwZwhQO7V1o qTu9TkLFgFOpOhVqByKofgnm1Opn94irXoJ9sT4+rjzc7h5G9o9tLlEKe6rfpJMsfN tg7kfV9qvMRuUB90goKIR4vEKro60gAZRrgFOWD4AzFj62TMWojaPFF5MDNDrKlAFR ppVyKME6Y+ORJW0ncZTE3uZRu/pyeKAGzXF+9sUApDzZ34Xv5QFaKpplJqbnsI4+2t 2Wqsgg9slPMng== From: Francesco Dolcini To: linux-arm-kernel@lists.infradead.org Cc: Emanuele Ghidoli , Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , devicetree@vger.kernel.org, Francesco Dolcini Subject: [PATCH v1] arm64: dts: verdin-imx8mm: fix dahlia audio playback Date: Thu, 1 Dec 2022 13:55:48 +0100 Message-Id: <20221201125548.34793-1-francesco@dolcini.it> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221201_045615_692418_A64E12A0 X-CRM114-Status: GOOD ( 10.23 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Emanuele Ghidoli Set optional `simple-audio-card,mclk-fs` parameter to ensure a proper clock to the wm8904 audio codec. Without this change with an audio stream rate of 44.1 kHz the playback is completely distorted. Fixes: 6a57f224f734 ("arm64: dts: freescale: add initial support for verdin imx8m mini") Signed-off-by: Emanuele Ghidoli Signed-off-by: Francesco Dolcini Reviewed-by: Fabio Estevam --- arch/arm64/boot/dts/freescale/imx8mm-verdin-dahlia.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-verdin-dahlia.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-verdin-dahlia.dtsi index c2a5c2f7b204..7c3f5c54f040 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-verdin-dahlia.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm-verdin-dahlia.dtsi @@ -9,6 +9,7 @@ sound_card: sound-card { simple-audio-card,bitclock-master = <&dailink_master>; simple-audio-card,format = "i2s"; simple-audio-card,frame-master = <&dailink_master>; + simple-audio-card,mclk-fs = <256>; simple-audio-card,name = "imx8mm-wm8904"; simple-audio-card,routing = "Headphone Jack", "HPOUTL",