summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/pcm3060.h
diff options
context:
space:
mode:
authorKirill Marinushkin <kmarinushkin@birdec.tech>2018-12-07 20:02:34 +0100
committerMark Brown <broonie@kernel.org>2018-12-13 15:31:51 +0000
commitbb9963b850ea9e1ef39f4368eae83a9462f60166 (patch)
tree5dab26bebf9e3beb4e279e16a47fed831f0258c7 /sound/soc/codecs/pcm3060.h
parent33f8db9a89200c18ff65d494a3dbd325d129e15e (diff)
ASoC: pcm3060: Add powersaving widgets for DAC and ADC
Enable DAC/ADC only when playing/capturing Signed-off-by: Kirill Marinushkin <kmarinushkin@birdec.tech> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/pcm3060.h')
-rw-r--r--sound/soc/codecs/pcm3060.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/codecs/pcm3060.h b/sound/soc/codecs/pcm3060.h
index c895cf40ee10..6a027b4a845d 100644
--- a/sound/soc/codecs/pcm3060.h
+++ b/sound/soc/codecs/pcm3060.h
@@ -37,7 +37,9 @@ int pcm3060_remove(struct device *dev);
#define PCM3060_REG_MRST 0x80
#define PCM3060_REG_SRST 0x40
#define PCM3060_REG_ADPSV 0x20
+#define PCM3060_REG_SHIFT_ADPSV 0x05
#define PCM3060_REG_DAPSV 0x10
+#define PCM3060_REG_SHIFT_DAPSV 0x04
#define PCM3060_REG_SE 0x01
#define PCM3060_REG65 0x41