]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: arizona: Add gating of external MCLKn clocks
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Fri, 2 Sep 2016 15:52:46 +0000 (16:52 +0100)
committerLee Jones <lee.jones@linaro.org>
Tue, 4 Oct 2016 14:46:07 +0000 (15:46 +0100)
commit226d3162f3b80f2bea0e3149f22b013b0e5d91af
treed6a40397419b95800af04c7d768d02f2c1a6fc81
parentb482605f7939bd4035b2d11a7952dc3da5821c6d
mfd: arizona: Add gating of external MCLKn clocks

This patch adds requesting of the clocks supplied on MCLK1, MCLK2 pins,
gating of the 32k clock is added to the arizona_clk32k_enable(),
arizona_clk32k_disable() helpers.

It's a temporary change until the CODEC's clock controller gets exposed
through the clk API and is helpful for board configurations where the
MCLK clocks are not provided by always on oscillators.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/arizona-core.c
include/linux/mfd/arizona/core.h