summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8962.h
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2010-09-20 18:34:58 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-10-02 23:23:04 +0200
commit3367b8d4278d1f8a28995cc5e57a995f7147cb73 (patch)
tree7aba159ed2edcc206ec8b4e61de55fb23e59ceb3 /sound/soc/codecs/wm8962.h
parentASoC: Remove -dai suffix from i.MX SSI driver (diff)
downloadlinux-3367b8d4278d1f8a28995cc5e57a995f7147cb73.tar.xz
linux-3367b8d4278d1f8a28995cc5e57a995f7147cb73.zip
ASoC: Add support for WM8962 GPIO outputs
The WM8962 features five GPIOs, add support for controlling their output state via gpiolib. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'sound/soc/codecs/wm8962.h')
-rw-r--r--sound/soc/codecs/wm8962.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8962.h b/sound/soc/codecs/wm8962.h
index 6145399acb16..fce11998b278 100644
--- a/sound/soc/codecs/wm8962.h
+++ b/sound/soc/codecs/wm8962.h
@@ -181,6 +181,7 @@
#define WM8962_EQ39 0x175
#define WM8962_EQ40 0x176
#define WM8962_EQ41 0x177
+#define WM8962_GPIO_BASE 0x200
#define WM8962_GPIO_2 0x201
#define WM8962_GPIO_3 0x202
#define WM8962_GPIO_5 0x204