diff options
author | Bard Liao <bardliao@realtek.com> | 2016-10-20 04:13:44 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-10-24 19:03:14 +0200 |
commit | d01580c394f58dff234a03f0f2f32c051a556f15 (patch) | |
tree | bb7c427bf68091449951b07cf09d11c98e59a57d /sound/soc/codecs/rt5660.h | |
parent | Linux 4.9-rc1 (diff) | |
download | linux-d01580c394f58dff234a03f0f2f32c051a556f15.tar.xz linux-d01580c394f58dff234a03f0f2f32c051a556f15.zip |
ASoC: rt5660: enable MCLK detection
There is a power saving mechanism in rt5660. It will turn off some
unused power when MCLK is not present. We call that "MCLK detection"
and it should be enabled by default.
Signed-off-by: Bard Liao <bardliao@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/rt5660.h')
-rw-r--r-- | sound/soc/codecs/rt5660.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/codecs/rt5660.h b/sound/soc/codecs/rt5660.h index 6cdb9269ec9e..bba18fb66b6f 100644 --- a/sound/soc/codecs/rt5660.h +++ b/sound/soc/codecs/rt5660.h @@ -810,6 +810,9 @@ /* General Control 1 (0xfa) */ #define RT5660_PWR_VREF_HP (0x1 << 11) #define RT5660_PWR_VREF_HP_SFT 11 +#define RT5660_AUTO_DIS_AMP (0x1 << 6) +#define RT5660_MCLK_DET (0x1 << 5) +#define RT5660_POW_CLKDET (0x1 << 1) #define RT5660_DIG_GATE_CTRL (0x1) #define RT5660_DIG_GATE_CTRL_SFT 0 |