linux/sound/soc
Kuninori Morimoto 1dfdc6501a ASoC: rsnd: add rsnd_adg_clk_query()
Current Renesas sound driver is assuming that all Sampling rate and
channles are possible to use, but these are depends on inputed clock
and SSI connection situation.
For example, if it is using 1 SSI, enabled TDM mode and has 12288000
input clock, 2ch output can support until 192000Hz, but 6ch output can
support until 64000Hz, 8ch can support 48000Hz.
To control these situation correctly, it needs to support
hw_constraints / refine feature.

To support such feature, it needs SSI clock query feature, and it needs
ADG clock query feature. Current ADG has rsnd_adg_ssi_clk_try_start()
and it is doing similar things, but it try to setup ADG register in
same time. This is not needed.

This patch adds new rsnd_adg_clk_query() and separates query feature
and register setting feature in adg.c

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tested-by: Hiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2017-06-15 18:18:02 +01:00
..
adi
amd scripts/spelling.txt: add "disble(d)" pattern and fix typo instances 2017-03-09 17:01:09 -08:00
atmel ASoC: atmel-classd: fix audio clock rate 2017-03-07 15:20:32 +01:00
au1x
bcm ASoC: bcm: add depends on HAS_DMA 2016-11-02 14:57:05 -06:00
blackfin ASoC: blackfin: constify snd_soc_ops structures 2017-03-24 18:48:10 +00:00
cirrus
codecs Merge remote-tracking branches 'asoc/topic/wm8960', 'asoc/topic/wm8978' and 'asoc/topic/zte-tdm' into asoc-next 2017-04-30 22:16:48 +09:00
davinci ASoC: davinci - Fix possible NULL derefrence. 2017-01-27 11:58:54 +00:00
dwc ASoC: dwc: Disallow building designware_pcm as a module 2017-04-30 20:27:04 +08:00
fsl Merge remote-tracking branches 'asoc/topic/fsl-ssi', 'asoc/topic/hi6220' and 'asoc/topic/imx' into asoc-next 2017-04-30 22:16:01 +09:00
generic ASoC: simple-scu-card: remove duplicate paramera from asoc_simple_card_parse_of 2017-06-07 20:26:54 +01:00
hisilicon ASoC: hisilicon: Use devm_snd_soc_register_component 2017-04-11 21:20:55 +01:00
img ASoC: img: remove unused ‘format’ 2016-12-15 11:22:52 +00:00
intel ASoC: Updates for v4.12 2017-05-02 08:25:25 +02:00
jz4740
kirkwood ASoC: constify snd_soc_ops structures 2016-10-24 18:34:55 +01:00
mediatek ASoC: mediatek: add I2C dependency for CS42XX8 2017-04-21 17:58:34 +01:00
mxs ASoC: mxs-saif: fix setting master base rate 2017-01-17 18:19:36 +00:00
nuc900
omap ASoC: omap: constify snd_soc_ops structures 2017-03-20 11:26:37 +00:00
pxa ASoC: pxa: constify snd_soc_ops structures 2017-03-15 13:34:16 +00:00
qcom ASoC: qcom: move clock names into LPASS variant struct 2017-04-21 18:07:45 +01:00
rockchip ASoC: rockchip: Enable 192khz in hw_params operation 2017-03-06 11:41:03 +01:00
samsung ASoC: samsung: Add Odroid ASoC machine driver 2017-04-21 18:27:58 +01:00
sh ASoC: rsnd: add rsnd_adg_clk_query() 2017-06-15 18:18:02 +01:00
sirf ASoC: sirf: Added blank line after declarations 2017-03-07 14:31:51 +01:00
spear
sti ASoC: sti: Fix error handling if of_clk_get() fails 2017-04-30 21:30:52 +09:00
stm ASoC: stm32: add SAI driver 2017-04-26 16:45:54 +01:00
sunxi ASoC: sun8i-codec: Convert to use SND_SOC_DAPM_AIF_IN 2017-03-21 12:16:30 +00:00
tegra ASoC: tegra: Add blank line after declarations 2017-03-07 14:29:51 +01:00
txx9 ASoC: txx9: Added requiered spaces. 2017-03-07 15:18:35 +01:00
ux500 ASoC: ux500: Added blank line after declarations 2017-03-07 14:31:27 +01:00
xtensa
zte ASoC: zx-tdm: add zte's tdm controller driver 2017-02-21 15:11:17 -08:00
Kconfig Merge remote-tracking branches 'asoc/topic/sta529', 'asoc/topic/sti', 'asoc/topic/stm', 'asoc/topic/sunxi' and 'asoc/topic/tas2552' into asoc-next 2017-04-30 22:16:31 +09:00
Makefile Merge remote-tracking branches 'asoc/topic/sta529', 'asoc/topic/sti', 'asoc/topic/stm', 'asoc/topic/sunxi' and 'asoc/topic/tas2552' into asoc-next 2017-04-30 22:16:31 +09:00
soc-ac97.c ASoC: Fixup some small kernel-doc typos 2017-01-12 17:23:01 +00:00
soc-cache.c
soc-compress.c ASoC: compress: Add support for compress dai ops 2016-11-13 09:35:35 +00:00
soc-core.c Merge branch 'topic/dai-id' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-of-graph 2017-05-24 18:44:06 +01:00
soc-dapm.c ASoC: dapm: fix some pointer error handling 2017-01-20 13:11:02 +00:00
soc-devres.c
soc-generic-dmaengine-pcm.c ASoC: Revert "Drop SND_DMAENGINE_PCM_FLAG_CUSTOM_CHANNEL_NAME flag" 2017-01-23 18:16:33 +00:00
soc-io.c
soc-jack.c ASoC: jack: add snd_soc_codec_set_jack 2017-04-10 19:46:09 +01:00
soc-ops.c ASoC: Fixup some small kernel-doc typos 2017-01-12 17:23:01 +00:00
soc-pcm.c Merge remote-tracking branch 'asoc/topic/component' into asoc-next 2017-02-19 16:35:41 +00:00
soc-topology.c Merge remote-tracking branches 'asoc/topic/tegra', 'asoc/topic/tlv320aic23', 'asoc/topic/topology', 'asoc/topic/twl6040' and 'asoc/topic/txx9' into asoc-next 2017-04-30 22:16:37 +09:00
soc-utils.c ASoC: core: Add component pin control functions 2016-11-30 17:16:09 +00:00