aboutsummaryrefslogtreecommitdiff
path: root/include/sound/rt5640.h
diff options
context:
space:
mode:
authorBard Liao <bardliao@realtek.com>2013-06-11 13:10:16 +0800
committerMark Brown <broonie@linaro.org>2013-06-12 17:46:54 +0100
commit997b05203b0a710e11f9b2732bef2d2fdc1d824b (patch)
treeac7d79d90343e22be82469c6e7e0438fbe8d28bb /include/sound/rt5640.h
parent317ddd256b9c24b0d78fa8018f80f1e495481a10 (diff)
ASoC: add RT5640 CODEC driver
This patch adds the ALC5640 codec driver. Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Bard Liao <bardliao@realtek.com> Tested-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'include/sound/rt5640.h')
-rw-r--r--include/sound/rt5640.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/include/sound/rt5640.h b/include/sound/rt5640.h
new file mode 100644
index 000000000000..27cc75ed67f8
--- /dev/null
+++ b/include/sound/rt5640.h
@@ -0,0 +1,22 @@
+/*
+ * linux/sound/rt5640.h -- Platform data for RT5640
+ *
+ * Copyright 2011 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_RT5640_H
+#define __LINUX_SND_RT5640_H
+
+struct rt5640_platform_data {
+ /* IN1 & IN2 can optionally be differential */
+ bool in1_diff;
+ bool in2_diff;
+
+ int ldo1_en; /* GPIO for LDO1_EN */
+};
+
+#endif