summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorViorel Suman <viorel.suman@nxp.com>2018-08-27 14:09:25 +0300
committerJason Liu <jason.hui.liu@nxp.com>2019-02-12 10:33:32 +0800
commit1048e32e14c0887fc4d5f532f485dd928b552e09 (patch)
tree392cf89345e169d264d9d0ce41514872f08b32d6 /Documentation
parentfc5f7afe718993b61aef680b87e8f1194da3aeb8 (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 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/sound/imx-audio-ak4458.txt2
1 files changed, 1 insertions, 1 deletions
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