]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commitfce9ec954a8af7e04cbf5b9daa8bec9c1df5cfe6
tree303633e654c0f1505cb647cead74945a7edeff12
parent1e3cb6c321be2e5295dcaa94c2bf42a43a47a067
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