aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorBard Liao <bardliao@realtek.com>2015-06-26 10:59:49 +0800
committerMark Brown <broonie@kernel.org>2015-07-09 12:00:11 +0100
commit6adcafae6ed20fe380addc8e7c628e529751ade3 (patch)
tree700e3b0f1aec8a5160d9f19c0ab627cfa7cdb9d0 /include/sound
parentLinux 4.2-rc1 (diff)
downloadlinux-dev-6adcafae6ed20fe380addc8e7c628e529751ade3.tar.xz
linux-dev-6adcafae6ed20fe380addc8e7c628e529751ade3.zip
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')
-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