summaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorBard Liao <bardliao@realtek.com>2014-04-16 19:20:46 +0800
committerMark Brown <broonie@linaro.org>2014-04-18 18:52:18 +0100
commit40bc18a2a2677150840eff7fa77835b07da214dd (patch)
treed0e9366325f4c30ad75abc60e0410c94dce97a33 /include/sound
parentc9eaa447e77efe77b7fa4c953bd62de8297fd6c5 (diff)
downloadop-kernel-dev-40bc18a2a2677150840eff7fa77835b07da214dd.zip
op-kernel-dev-40bc18a2a2677150840eff7fa77835b07da214dd.tar.gz
ASoC: add RT5651 CODEC driver
This patch adds the Realtek ALC5651 codec driver. Signed-off-by: Bard Liao <bardliao@realtek.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/rt5651.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/sound/rt5651.h b/include/sound/rt5651.h
new file mode 100644
index 0000000..d35de75
--- /dev/null
+++ b/include/sound/rt5651.h
@@ -0,0 +1,21 @@
+/*
+ * 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_RT5651_H
+#define __LINUX_SND_RT5651_H
+
+struct rt5651_platform_data {
+ /* IN2 can optionally be differential */
+ bool in2_diff;
+
+ bool dmic_en;
+};
+
+#endif
OpenPOWER on IntegriCloud