diff options
author | Bard Liao <bardliao@realtek.com> | 2015-12-30 08:33:21 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-12-30 17:35:07 +0100 |
commit | ca8457bb02d8ecddf7f49ab874127dd4df782b16 (patch) | |
tree | 079c9ffbcb089694455b7dbe5b98ecaaa01188a1 /sound/soc/codecs/rt5645.h | |
parent | Linux 4.4-rc1 (diff) | |
download | linux-ca8457bb02d8ecddf7f49ab874127dd4df782b16.tar.xz linux-ca8457bb02d8ecddf7f49ab874127dd4df782b16.zip |
ASoC: rt5645: add sys clk detection
Add system clock detection to prevent output DC from SPO.
Signed-off-by: Bard Liao <bardliao@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/rt5645.h')
-rw-r--r-- | sound/soc/codecs/rt5645.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/soc/codecs/rt5645.h b/sound/soc/codecs/rt5645.h index 093e46d559fb..205e0715c99a 100644 --- a/sound/soc/codecs/rt5645.h +++ b/sound/soc/codecs/rt5645.h @@ -2122,6 +2122,10 @@ enum { /* General Control3 (0xfc) */ #define RT5645_JD_PSV_MODE (0x1 << 12) #define RT5645_IRQ_CLK_GATE_CTRL (0x1 << 11) +#define RT5645_DET_CLK_MASK (0x3 << 9) +#define RT5645_DET_CLK_DIS (0x0 << 9) +#define RT5645_DET_CLK_MODE1 (0x1 << 9) +#define RT5645_DET_CLK_MODE2 (0x2 << 9) #define RT5645_MICINDET_MANU (0x1 << 7) #define RT5645_RING2_SLEEVE_GND (0x1 << 5) |