diff options
author | Bard Liao <bardliao@realtek.com> | 2018-03-12 19:50:09 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-03-12 09:35:32 -0700 |
commit | ce571b80e2b2411d5cdfa78888a6865f918621c6 (patch) | |
tree | 02a6e2dd0d04d27d62b59185d21e4d7956449864 /sound/soc/codecs/rt5659.h | |
parent | 50b123087c48bd979c716eb5d207202dda3f4a46 (diff) | |
download | lwn-ce571b80e2b2411d5cdfa78888a6865f918621c6.tar.gz lwn-ce571b80e2b2411d5cdfa78888a6865f918621c6.zip |
ASoC: rt5659: Separate adc 1/2 clock control
The control bits of ADC 1 and 2 clock are different. We have to
separate it.
Signed-off-by: Zhong An <zhongan@pinecone.net>
Signed-off-by: Bard Liao <bardliao@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/rt5659.h')
-rw-r--r-- | sound/soc/codecs/rt5659.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/sound/soc/codecs/rt5659.h b/sound/soc/codecs/rt5659.h index 3b51c8a46e6e..8b576d768744 100644 --- a/sound/soc/codecs/rt5659.h +++ b/sound/soc/codecs/rt5659.h @@ -1743,10 +1743,14 @@ #define RT5659_CKGEN_DAC2_SFT 4 /* Chopper and Clock control for ADC (0x013b)*/ -#define RT5659_CKXEN_ADCC_MASK (0x1 << 13) -#define RT5659_CKXEN_ADCC_SFT 13 -#define RT5659_CKGEN_ADCC_MASK (0x1 << 12) -#define RT5659_CKGEN_ADCC_SFT 12 +#define RT5659_CKXEN_ADC1_MASK (0x1 << 13) +#define RT5659_CKXEN_ADC1_SFT 13 +#define RT5659_CKGEN_ADC1_MASK (0x1 << 12) +#define RT5659_CKGEN_ADC1_SFT 12 +#define RT5659_CKXEN_ADC2_MASK (0x1 << 5) +#define RT5659_CKXEN_ADC2_SFT 5 +#define RT5659_CKGEN_ADC2_MASK (0x1 << 4) +#define RT5659_CKGEN_ADC2_SFT 4 /* Test Mode Control 1 (0x0145) */ #define RT5659_AD2DA_LB_MASK (0x1 << 9) |