From 8b0307ce5f98c04e06d61ae08afe7d268207c7ce Mon Sep 17 00:00:00 2001 From: Viorel Suman Date: Mon, 27 Aug 2018 14:09:25 +0300 Subject: MLK-18898-2: ASoC: imx-ak4458: refine mclk rate calculation The existing implementation calculates mclk rate as function of audio sample rate multiplied to multiplier taken from Table 5. However this is not accurate for Manual Setting Mode - tables 3 & 4 from AK4458 RM defines rate (LRCK/FS) and frame width (MCLK/16fs..1152fs) ranges as parameters to calculate mclk frequency. Aside of this - adjust bclk:mclk ratio from machine driver as function of "compatible" id. Signed-off-by: Viorel Suman (cherry picked from commit 527b8b7032dcb75c14bb2790330ab96743d83b16) --- Documentation/devicetree/bindings/sound/imx-audio-ak4458.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Documentation/devicetree') diff --git a/Documentation/devicetree/bindings/sound/imx-audio-ak4458.txt b/Documentation/devicetree/bindings/sound/imx-audio-ak4458.txt index a20de9cc72c4..a442d3edd62d 100644 --- a/Documentation/devicetree/bindings/sound/imx-audio-ak4458.txt +++ b/Documentation/devicetree/bindings/sound/imx-audio-ak4458.txt @@ -2,7 +2,7 @@ Freescale i.MX audio complex with AK4458 DAC Required properties: -- compatible : "fsl,imx-audio-ak4458" +- compatible : "fsl,imx-audio-ak4458", "fsl,imx-audio-ak4458-mq" - model : The user-visible name of this sound complex - audio-cpu : The phandle of CPU DAI - audio-codec : The phandle of the AK4458 audio DAC -- cgit v1.2.3