summaryrefslogtreecommitdiff
path: root/include/sound/rt5514.h
diff options
context:
space:
mode:
authorOder Chiou <oder_chiou@realtek.com>2016-10-25 14:27:26 +0300
committerMark Brown <broonie@kernel.org>2016-10-25 16:25:36 +0300
commita5461fd6c8f70b3d897f5f76612e890ad47a5b93 (patch)
tree88469f7316b8590c9b1e7484fd5a5a84fdae1767 /include/sound/rt5514.h
parent1001354ca34179f3db924eb66672442a173147dc (diff)
downloadlinux-a5461fd6c8f70b3d897f5f76612e890ad47a5b93.tar.xz
ASoC: rt5514: Add the DMIC initial delay to wait it ready.
Due to the DMIC that needs time to initial after the MCLK is provided, the field of delay time is implemented by the platform data. Signed-off-by: Oder Chiou <oder_chiou@realtek.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound/rt5514.h')
-rw-r--r--include/sound/rt5514.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/sound/rt5514.h b/include/sound/rt5514.h
new file mode 100644
index 000000000000..ef18494769ee
--- /dev/null
+++ b/include/sound/rt5514.h
@@ -0,0 +1,20 @@
+/*
+ * linux/sound/rt5514.h -- Platform data for RT5514
+ *
+ * Copyright 2016 Realtek Semiconductor Corp.
+ * Author: Oder Chiou <oder_chiou@realtek.com>
+ *
+ * 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_RT5514_H
+#define __LINUX_SND_RT5514_H
+
+struct rt5514_platform_data {
+ unsigned int dmic_init_delay;
+};
+
+#endif
+