]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: codecs: ad193x: Add support to disable on-chip PLL
authorCodrin Ciubotariu <codrin.ciubotariu@microchip.com>
Mon, 18 Feb 2019 16:10:36 +0000 (16:10 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 18 Feb 2019 17:41:42 +0000 (17:41 +0000)
commited67d1fddf8281e34be795b8d2c186b391c11399
tree7dde0b2b40e575688c9354be552c35d6a463357e
parent9bb101bc3c51bdcf1340673dd248ca61fb35a4f4
ASoC: codecs: ad193x: Add support to disable on-chip PLL

The on-chip PLL can be disabled if on the MCLKI pin we have an external
clock at 512 x fs. This clock can be used as direct internal clock for
ADCs or DACs.
To support this, we add an extra clock id that can be configured
using the set_sysclk() callback.

Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/ad193x.c
sound/soc/codecs/ad193x.h