ASoC: cs42l42: Add support for 2400000 Bit clock
authorLucas Tanure <tanureal@opensource.cirrus.com>
Tue, 25 May 2021 09:08:21 +0000 (10:08 +0100)
committerMark Brown <broonie@sirena.org.uk>
Tue, 25 May 2021 15:45:05 +0000 (16:45 +0100)
Add support for 2.4MHz clock source

Signed-off-by: Lucas Tanure <tanureal@opensource.cirrus.com>
Reviewed-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Message-Id: <20210525090822.64577-3-tanureal@opensource.cirrus.com>
Signed-off-by: Mark Brown <broonie@sirena.org.uk>
sound/soc/codecs/cs42l42.c

index 07223b5fb2d685befc5d781aed9c2eaace61fc9e..8260de81b56c1d1a155a0c046def6f6da96ecc7c 100644 (file)
@@ -599,6 +599,7 @@ struct cs42l42_pll_params {
 static const struct cs42l42_pll_params pll_ratio_table[] = {
        { 1536000, 0, 1, 0x00, 0x7D, 0x000000, 0x03, 0x10, 12000000, 125, 2},
        { 2304000, 0, 1, 0x00, 0x55, 0xC00000, 0x02, 0x10, 12288000,  85, 2},
+       { 2400000, 0, 1, 0x00, 0x50, 0x000000, 0x03, 0x10, 12000000,  80, 2},
        { 2822400, 0, 1, 0x00, 0x40, 0x000000, 0x03, 0x10, 11289600, 128, 1},
        { 3000000, 0, 1, 0x00, 0x40, 0x000000, 0x03, 0x10, 12000000, 128, 1},
        { 3072000, 0, 1, 0x00, 0x3E, 0x800000, 0x03, 0x10, 12000000, 125, 1},