OSDN Git Service

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)
commit59529473751e987e28c926838f70aaef588b83b0
tree7dde0b2b40e575688c9354be552c35d6a463357e
parentbccf9c7e14830af0004399d42d861b33c92eacff
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