]> 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)
commite08ea0d5fffc4b5acf2eb9270f15e40686606936
treed6a40397419b95800af04c7d768d02f2c1a6fc81
parent1372dac0367f9e37512ea4720cf3886bcb42562d
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