summaryrefslogtreecommitdiffstats
path: root/sound/soc/intel
diff options
context:
space:
mode:
authorSylwester Nawrocki <s.nawrocki@samsung.com>2015-01-14 19:42:39 +0100
committerMark Brown <broonie@kernel.org>2015-01-14 19:46:54 +0000
commit074b89bb5fb7e80e0f98f1b45f276b0386269e3d (patch)
tree661f6e17f9db0f20ede28f88fc83b38f19acd270 /sound/soc/intel
parent0d40c61279510b8ce2368e1c6adcc2c4dc1af279 (diff)
downloadblackbird-op-linux-074b89bb5fb7e80e0f98f1b45f276b0386269e3d.tar.gz
blackbird-op-linux-074b89bb5fb7e80e0f98f1b45f276b0386269e3d.zip
ASoC: samsung: i2s: Add clock provider for the I2S internal clocks
This patch adds clock provider (currently only for DT platforms) for the CODECLKO (CDCLK) gate, RCLKSRC mux and RCLK pre-scaler divider divider clock. Those all tree clock are only available in the IIS Multi Audio Interface (I2S0), the regular IIS Bus Interface has only CDCLK gate clock. The motivation behind this patch is to expose the I2S internal clocks which are currently controlled through set_sysclk() through the clk API, so dedicated sound machine driver per each board can be avoided. The intention is also to fix the CDCLK gating issue reported by Daniel Drake: http://mailman.alsa-project.org/pipermail/alsa-devel/2014-September/081753.html This patch also reverts commit b97c60abf9a561f86ae71bd741add02673cc1 ("ASoC: samsung-i2s: Maintain CDCLK settings across i2s_{shutdown/ startup}") The problem that commit attempted to solve only affects the Odroid X2/U3, which doesn't configure the CDCLK clock in struct snd_soc_dai_ops hw_params callback and the issue should be now resolved by using clk API, i.e. having the codec enabling/ disabling the CDCLK clock as required. Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud