ASoC: arizona: Support higher clock rates
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 26 Nov 2012 16:01:37 +0000 (16:01 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 27 Nov 2012 10:36:34 +0000 (10:36 +0000)
Some devices support higher clock rates, allow users to select these.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/arizona.c

index c03b65af30598f8f03dfba2d7353913a33a0bfe9..500e6cb462d8a6782f89d6b31ed4801ac104ca2e 100644 (file)
@@ -380,6 +380,18 @@ int arizona_set_sysclk(struct snd_soc_codec *codec, int clk_id,
        case 49152000:
                val |= 3 << ARIZONA_SYSCLK_FREQ_SHIFT;
                break;
+       case 67737600:
+       case 73728000:
+               val |= 4 << ARIZONA_SYSCLK_FREQ_SHIFT;
+               break;
+       case 90316800:
+       case 98304000:
+               val |= 5 << ARIZONA_SYSCLK_FREQ_SHIFT;
+               break;
+       case 135475200:
+       case 147456000:
+               val |= 6 << ARIZONA_SYSCLK_FREQ_SHIFT;
+               break;
        default:
                return -EINVAL;
        }