summaryrefslogtreecommitdiff
path: root/include/sound/rt298.h
diff options
context:
space:
mode:
authorBard Liao <bardliao@realtek.com>2015-06-26 05:59:49 +0300
committerMark Brown <broonie@kernel.org>2015-07-09 14:00:11 +0300
commit6adcafae6ed20fe380addc8e7c628e529751ade3 (patch)
tree700e3b0f1aec8a5160d9f19c0ab627cfa7cdb9d0 /include/sound/rt298.h
parentd770e558e21961ad6cfdf0ff7df0eb5d7d4f0754 (diff)
downloadlinux-6adcafae6ed20fe380addc8e7c628e529751ade3.tar.xz
ASoC: add rt298 codec driver
It is the initial version of ALC298 codec driver. Signed-off-by: Bard Liao <bardliao@realtek.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound/rt298.h')
-rw-r--r--include/sound/rt298.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/sound/rt298.h b/include/sound/rt298.h
new file mode 100644
index 000000000000..7fffeaa84f64
--- /dev/null
+++ b/include/sound/rt298.h
@@ -0,0 +1,20 @@
+/*
+ * linux/sound/rt286.h -- Platform data for RT286
+ *
+ * Copyright 2013 Realtek Microelectronics
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef __LINUX_SND_RT298_H
+#define __LINUX_SND_RT298_H
+
+struct rt298_platform_data {
+ bool cbj_en; /*combo jack enable*/
+ bool gpio2_en; /*GPIO2 enable*/
+ bool suspend_power_off; /* power is off during suspend */
+};
+
+#endif