Patch to fix WM8960 audio codec "no sound" issue on i.MX platform

Document created by Lily Zhang Employee on Oct 30, 2016Last modified by ebiz_ws_prod on Dec 13, 2017
Version 6Show Document
  • View in full screen mode

Issue Description

 

When WM8960 is working as master mode and target sample rate is 44100Hz or 48000Hz, it's found no sound can be heard on some i.MX boards.

Impact Software Baseline: Linux 4.1.15_2.0.0 release or previous versions.

Impact Hardware Platform: MCIMX6UL-EVKB, MCIMX6ULL-EVK and MX7SABRE boards which have WM8960 as Audio Codec.

 

Root Cause

 

When WM8960 is working as master mode, if input MCLK is 12.288MHz and configure "PLLPRESCALE =2 and SYSCLKDIV[1:0] =1", wrong BCLK and LRCLK output maybe got on some boards. And then it causes no sound output.

 

Solutions


After change the WM8960 PLL setting from “PLLPRESCALE =2 and SYSCLKDIV[1:0] =1” to “PLLPRESCALE =1 and SYSCLKDIV[1:0] =2”, the failure parts can work normally. See attached patch.

The formal patch is also included into the releases starting from L4.1.15_2.0.1. See http://git.freescale.com/git/cgit.cgi/imx/meta-fsl-bsp-release.git/tree/imx/meta-bsp/recipes-kernel/linux/files?id=imx_4.1.15_2.0.1

Original Attachment has been moved to: 0001-MLK-13418-ASoC-wm8960-workaround-no-sound-issue-in-m.patch.zip

1 person found this helpful

Attachments

    Outcomes