summaryrefslogtreecommitdiffstats
path: root/include/sound/cs42l73.h
diff options
context:
space:
mode:
authorBrian Austin <brian.austin@cirrus.com>2013-10-17 18:03:33 +0200
committerMark Brown <broonie@linaro.org>2013-10-18 01:37:29 +0200
commit3d8c8bc0250f7cb11f887691b7473b51adcd2bcb (patch)
treeb4b19b3264ab4cb0374e90ffd0604d242bf7574c /include/sound/cs42l73.h
parentLinux 3.12-rc5 (diff)
downloadlinux-3d8c8bc0250f7cb11f887691b7473b51adcd2bcb.tar.xz
linux-3d8c8bc0250f7cb11f887691b7473b51adcd2bcb.zip
ASoC: cs42l73: Add platform data support for cs42l73 codec
Add support for RST GPIO and Charge Pump Freq in platform data Signed-off-by: Brian Austin <brian.austin@cirrus.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'include/sound/cs42l73.h')
-rw-r--r--include/sound/cs42l73.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/include/sound/cs42l73.h b/include/sound/cs42l73.h
new file mode 100644
index 000000000000..f354be4cdc9e
--- /dev/null
+++ b/include/sound/cs42l73.h
@@ -0,0 +1,22 @@
+/*
+ * linux/sound/cs42l73.h -- Platform data for CS42L73
+ *
+ * Copyright (c) 2012 Cirrus Logic Inc.
+ *
+ * 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 __CS42L73_H
+#define __CS42L73_H
+
+struct cs42l73_platform_data {
+ /* RST GPIO */
+ unsigned int reset_gpio;
+ unsigned int chgfreq;
+ int jack_detection;
+ unsigned int mclk_freq;
+};
+
+#endif /* __CS42L73_H */