linux/sound/soc
Peter Rosin b6d6c6e95f ASoC: atmel_ssc_dai: Allow more rates
When the SSC acts as BCK master, use a ratnum rule to limit
the rate instead of only doing the standard rates. When the SSC
acts as BCK slave, allow any BCK frequency up to the SSC master
clock, divided by either of 2, 3 or 6.

Put a cap at 384kHz. Who's /ever/ going to need more than that?

The divider of 2, 3 or 6 is selected based on the Serial Clock Ratio
Considerations section from the SSC documentation:

    The Transmitter and the Receiver can be programmed to operate
    with the clock signals provided on either the TK or RK pins.
    This allows the SSC to support many slave-mode data transfers.
    In this case, the maximum clock speed allowed on the RK pin is:
    - Peripheral clock divided by 2 if Receiver Frame Synchro is input
    - Peripheral clock divided by 3 if Receiver Frame Synchro is output
    In addition, the maximum clock speed allowed on the TK pin is:
    - Peripheral clock divided by 6 if Transmit Frame Synchro is input
    - Peripheral clock divided by 2 if Transmit Frame Synchro is output

Signed-off-by: Peter Rosin <peda@axentia.se>
Acked-by: Bo Shen <voice.shen@atmel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2015-02-10 15:12:41 +08:00
..
adi ASoC: adi: drop owner assignment from platform_drivers 2014-10-20 16:22:03 +02:00
atmel ASoC: atmel_ssc_dai: Allow more rates 2015-02-10 15:12:41 +08:00
au1x Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
bcm ASoC: bcm: drop owner assignment from platform_drivers 2014-10-20 16:22:04 +02:00
blackfin Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
cirrus Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
codecs sound fixes for 3.19-rc1 2014-12-19 18:07:17 -08:00
davinci Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
dwc Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
fsl More ACPI and power management updates for 3.19-rc1 2014-12-18 20:28:33 -08:00
generic Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
intel CONFIG_PM_RUNTIME elimination for 3.19-rc1 2014-12-20 13:37:44 -08:00
jz4740 Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
kirkwood ASoC: kirkwood: drop owner assignment from platform_drivers 2014-10-20 16:22:10 +02:00
mxs Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
nuc900 Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
omap Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
pxa Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
rockchip Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
samsung sound fixes for 3.19-rc1 2014-12-19 18:07:17 -08:00
sh Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
sirf ASoC: sirf: drop owner assignment from platform_drivers 2014-10-20 16:22:14 +02:00
spear ASoC: spear: drop owner assignment from platform_drivers 2014-10-20 16:22:14 +02:00
tegra Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
txx9 Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
ux500 Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
Kconfig
Makefile Merge remote-tracking branches 'asoc/topic/ac97', 'asoc/topic/ad193x', 'asoc/topic/adau1373' and 'asoc/topic/adau17x1' into asoc-next 2014-12-08 13:11:45 +00:00
soc-ac97.c ASoC: ac97: Push snd_ac97 pointer to the driver level 2014-11-18 15:38:03 +00:00
soc-cache.c ASoC: Remove snd_soc_cache_sync() implementation 2014-11-09 09:06:30 +00:00
soc-compress.c ASoC: soc-compress: consolidate two identical branches 2014-10-22 11:36:36 +01:00
soc-core.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
soc-dapm.c ASoC: Remove card field from snd_soc_dai struct 2014-11-04 11:53:53 +00:00
soc-devres.c
soc-generic-dmaengine-pcm.c
soc-io.c
soc-jack.c Merge remote-tracking branches 'asoc/topic/hdmi', 'asoc/topic/intel', 'asoc/topic/jack', 'asoc/topic/jz4740' and 'asoc/topic/lm49453' into asoc-next 2014-12-08 13:12:00 +00:00
soc-ops.c ASoC: core: Split ops out of soc-core.c 2014-10-29 11:15:10 +00:00
soc-pcm.c Merge remote-tracking branches 'asoc/topic/davinci', 'asoc/topic/doc', 'asoc/topic/dpcm', 'asoc/topic/dwc' and 'asoc/topic/fsi' into asoc-next 2014-12-08 13:11:56 +00:00
soc-utils.c ASoC: : drop owner assignment from platform_drivers 2014-10-20 16:22:02 +02:00