]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
ASoC: wm8804: Implement MCLK configuration options, add 32bit support WM8804 can...
authorDaniel Matuschek <info@crazy-audio.com>
Wed, 15 Jan 2014 20:41:23 +0000 (21:41 +0100)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Tue, 19 Sep 2017 10:07:44 +0000 (12:07 +0200)
commit095e1de5b790c50a26fa175941b88c925554deaa
treed641f4a3c9a6ef780dabf4b692291c66094a5d89
parent12aee0f2a481f8a83d0bcb405f8038ce3d7e8fa7
ASoC: wm8804: Implement MCLK configuration options, add 32bit support WM8804 can run with PLL frequencies of 256xfs and 128xfs for most sample rates. At 192kHz only 128xfs is supported. The existing driver selects 128xfs automatically for some lower samples rates. By using an additional mclk_div divider, it is now possible to control the behaviour. This allows using 256xfs PLL frequency on all sample rates up to 96kHz. It should allow lower jitter and better signal quality. The behavior has to be controlled by the sound card driver, because some sample frequency share the same setting. e.g. 192kHz and 96kHz use 24.576MHz master clock. The only difference is the MCLK divider.

This also added support for 32bit data.

Signed-off-by: Daniel Matuschek <daniel@matuschek.net>
sound/soc/codecs/wm8804.c