]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: sta32x: Add support for XTI clock
authorDaniel Mack <daniel@zonque.org>
Wed, 17 Oct 2018 11:37:03 +0000 (13:37 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 17 Oct 2018 19:01:25 +0000 (20:01 +0100)
commitac45de4a6707884272a184683f0581667b92801f
tree303633e654c0f1505cb647cead74945a7edeff12
parent2011de7f4bbbd6bc739c6f360b0897dbb58e4c0f
ASoC: sta32x: Add support for XTI clock

The STA32x chips feature an XTI clock input that needs to be stable before
the reset signal is released. Therefore, the chip driver needs to get a
handle to the clock. Instead of relying on other parts of the system to
enable the clock, let the codec driver grab a handle itself.

In order to keep existing boards working, clock support is made optional.

Signed-off-by: Daniel Mack <daniel@zonque.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/st,sta32x.txt
sound/soc/codecs/sta32x.c