ASoC: max98090: Different comp tables for different pclks
authorDylan Reid <dgreid@chromium.org>
Mon, 3 Nov 2014 18:28:57 +0000 (10:28 -0800)
committerMark Brown <broonie@kernel.org>
Tue, 4 Nov 2014 19:59:21 +0000 (19:59 +0000)
commitdefcd98b16461e123cb4a6cb6ef24a1d0085c1b2
tree4fec5f8de3d4b73cf73803b602e0e5bfd79bc5fd
parent33ebcd9b45e8a76f1022295a5d4841c54aa0716c
ASoC: max98090: Different comp tables for different pclks

In addtion expand the table to handle other values of sysclk.  Instead
of making the table 3D, expand it to a more descriptive struct.  The
divisors are specified in Table 19 of the 98090 data sheet version
0p94.

The dmic frequency was previously assumed.  Instead make it explicit
and configurable through device tree.  This now handles independently
set pclk and dmic frequency.

Based on downstream work by Ralph Birt.

Signed-off-by: Dylan Reid <dgreid@chromium.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/max98090.txt
sound/soc/codecs/max98090.c
sound/soc/codecs/max98090.h