summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/rt286.h
diff options
context:
space:
mode:
authorBard Liao <bardliao@realtek.com>2015-02-05 16:40:34 +0800
committerMark Brown <broonie@kernel.org>2015-02-05 18:18:02 +0000
commit2cc3f2347022969f00a429951ce489d35a9b4ea8 (patch)
tree1f4e50b43b5ad283a4415a88aa4b604eac4c0f5d /sound/soc/codecs/rt286.h
parent54d96a40e0dfb5aa2eea0b010ddc1c7e8742e364 (diff)
downloadop-kernel-dev-2cc3f2347022969f00a429951ce489d35a9b4ea8.zip
op-kernel-dev-2cc3f2347022969f00a429951ce489d35a9b4ea8.tar.gz
ASoC: rt286: Add customize setting for Dell Dino
The patch add the customize setting for Dell Dino project. Signed-off-by: Bard Liao <bardliao@realtek.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/rt286.h')
-rw-r--r--sound/soc/codecs/rt286.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sound/soc/codecs/rt286.h b/sound/soc/codecs/rt286.h
index b539b73..7130edb 100644
--- a/sound/soc/codecs/rt286.h
+++ b/sound/soc/codecs/rt286.h
@@ -117,6 +117,12 @@
VERB_CMD(AC_VERB_SET_COEF_INDEX, RT286_VENDOR_REGISTERS, 0)
#define RT286_PROC_COEF\
VERB_CMD(AC_VERB_SET_PROC_COEF, RT286_VENDOR_REGISTERS, 0)
+#define RT286_SET_GPIO_MASK\
+ VERB_CMD(AC_VERB_SET_GPIO_MASK, RT286_AUDIO_FUNCTION_GROUP, 0)
+#define RT286_SET_GPIO_DIRECTION\
+ VERB_CMD(AC_VERB_SET_GPIO_DIRECTION, RT286_AUDIO_FUNCTION_GROUP, 0)
+#define RT286_SET_GPIO_DATA\
+ VERB_CMD(AC_VERB_SET_GPIO_DATA, RT286_AUDIO_FUNCTION_GROUP, 0)
/* Index registers */
#define RT286_A_BIAS_CTRL1 0x01
@@ -131,6 +137,7 @@
#define RT286_POWER_CTRL3 0x0f
#define RT286_MIC1_DET_CTRL 0x19
#define RT286_MISC_CTRL1 0x20
+#define RT286_GPIO_CTRL 0x29
#define RT286_IRQ_CTRL 0x33
#define RT286_PLL_CTRL1 0x49
#define RT286_CBJ_CTRL1 0x4f
OpenPOWER on IntegriCloud