summaryrefslogtreecommitdiff
path: root/arch/arm64
diff options
context:
space:
mode:
authorViorel Suman <viorel.suman@nxp.com>2018-08-27 14:09:25 +0300
committerViorel Suman <viorel.suman@nxp.com>2018-09-05 10:43:48 +0300
commit8b0307ce5f98c04e06d61ae08afe7d268207c7ce (patch)
treeb6f7b5e61145fc7833e82236245cbbd0019d1a24 /arch/arm64
parent9eeab5c9bbcf7fc81d08ef0a67250c987e6ef452 (diff)
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 <viorel.suman@nxp.com> (cherry picked from commit 527b8b7032dcb75c14bb2790330ab96743d83b16)
Diffstat (limited to 'arch/arm64')
-rw-r--r--arch/arm64/boot/dts/freescale/fsl-imx8mq-evk.dts2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/freescale/fsl-imx8mq-evk.dts b/arch/arm64/boot/dts/freescale/fsl-imx8mq-evk.dts
index 9589b81dd2e3..eff0aa628b80 100644
--- a/arch/arm64/boot/dts/freescale/fsl-imx8mq-evk.dts
+++ b/arch/arm64/boot/dts/freescale/fsl-imx8mq-evk.dts
@@ -107,7 +107,7 @@
};
sound-ak4458 {
- compatible = "fsl,imx-audio-ak4458";
+ compatible = "fsl,imx-audio-ak4458-mq";
model = "ak4458-audio";
audio-cpu = <&sai1>;
audio-codec = <&ak4458_1>, <&ak4458_2>;