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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

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

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/...

Labels (3)
Attachments
No ratings
Version history
Last update:
‎10-30-2016 08:32 PM
Updated by: