aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorDmitry Artamonow <mad_soft@inbox.ru>2011-05-18 19:25:09 +0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-05-19 14:10:45 -0700
commit00d2701070c91728988bbfa414a346a23acd8275 (patch)
tree56ea07afd0a1772fbcfa7b5847e26c6bb3920992 /include/sound
parent539494253547d078089cc15490e83f6e5f2e7213 (diff)
downloadkernel_goldelico_gta04-00d2701070c91728988bbfa414a346a23acd8275.zip
kernel_goldelico_gta04-00d2701070c91728988bbfa414a346a23acd8275.tar.gz
kernel_goldelico_gta04-00d2701070c91728988bbfa414a346a23acd8275.tar.bz2
ASoC: Asahi Kasei AK4641 codec driver
A driver for the AK4641 codec used in iPAQ hx4700 and Glofiish M800 among others. Signed-off-by: Harald Welte <laforge@gnumonks.org> Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com> Signed-off-by: Dmitry Artamonow <mad_soft@inbox.ru> Acked-by: Liam Girdwood <lrg@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/ak4641.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/include/sound/ak4641.h b/include/sound/ak4641.h
new file mode 100644
index 0000000..96d1991
--- /dev/null
+++ b/include/sound/ak4641.h
@@ -0,0 +1,26 @@
+/*
+ * AK4641 ALSA SoC Codec driver
+ *
+ * Copyright 2009 Philipp Zabel
+ *
+ * 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 __AK4641_H
+#define __AK4641_H
+
+/**
+ * struct ak4641_platform_data - platform specific AK4641 configuration
+ * @gpio_power: GPIO to control external power to AK4641
+ * @gpio_npdn: GPIO connected to AK4641 nPDN pin
+ *
+ * Both GPIO parameters are optional.
+ */
+struct ak4641_platform_data {
+ int gpio_power;
+ int gpio_npdn;
+};
+
+#endif /* __AK4641_H */