diff options
author | Daniel Mack <zonque@gmail.com> | 2014-05-05 13:49:23 +0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-05-05 23:52:59 +0400 |
commit | 7c2fcccc323909c1a4e56b79fc882168a0880146 (patch) | |
tree | c9e7f7e82a702e176055160dd04c325511f384d2 /sound/soc/codecs/sta350.h | |
parent | 09af62ff184bfeae4a72874ab28ed637a2329ee4 (diff) | |
download | linux-7c2fcccc323909c1a4e56b79fc882168a0880146.tar.xz |
ASoC: sta350: add support for bits in miscellaneous registers
Add support for RPDNEN, NSHHPEN, BRIDGOFF, CPWMEN and PNDLSL, and add DT
bindings to access them.
Signed-off-by: Daniel Mack <zonque@gmail.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/codecs/sta350.h')
-rw-r--r-- | sound/soc/codecs/sta350.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sound/soc/codecs/sta350.h b/sound/soc/codecs/sta350.h index c3248f0fad2c..fb7285290779 100644 --- a/sound/soc/codecs/sta350.h +++ b/sound/soc/codecs/sta350.h @@ -225,4 +225,14 @@ #define STA350_C3_MIX1 60 #define STA350_C3_MIX2 61 +/* miscellaneous register 1 */ +#define STA350_MISC1_CPWMEN BIT(2) +#define STA350_MISC1_BRIDGOFF BIT(5) +#define STA350_MISC1_NSHHPEN BIT(6) +#define STA350_MISC1_RPDNEN BIT(7) + +/* miscellaneous register 2 */ +#define STA350_MISC2_PNDLSL_MASK 0x1c +#define STA350_MISC2_PNDLSL_SHIFT 2 + #endif /* _ASOC_STA_350_H */ |