summaryrefslogtreecommitdiffstats
path: root/include/sound/alc5623.h
diff options
context:
space:
mode:
authorArnaud Patard (Rtp) <arnaud.patard@rtp-net.org>2010-10-21 19:40:02 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-10-21 22:51:13 +0200
commit6f4bc952c60b26ecfcb013fb9a7e9474023e046e (patch)
tree1d85312033eeab9393d1905cf342bf8f1ac6e474 /include/sound/alc5623.h
parentASoC: max98088: Staticise m98088_eq_band (diff)
downloadlinux-6f4bc952c60b26ecfcb013fb9a7e9474023e046e.tar.xz
linux-6f4bc952c60b26ecfcb013fb9a7e9474023e046e.zip
ASoC: add support for alc562[123] codecs
This patch is adding support for alc562[123] codecs. It's based on the source code available in HP source code and other places. Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/sound/alc5623.h')
-rw-r--r--include/sound/alc5623.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/sound/alc5623.h b/include/sound/alc5623.h
new file mode 100644
index 000000000000..422c97d43df3
--- /dev/null
+++ b/include/sound/alc5623.h
@@ -0,0 +1,15 @@
+#ifndef _INCLUDE_SOUND_ALC5623_H
+#define _INCLUDE_SOUND_ALC5623_H
+struct alc5623_platform_data {
+ /* configure : */
+ /* Lineout/Speaker Amps Vmid ratio control */
+ /* enable/disable adc/dac high pass filters */
+ unsigned int add_ctrl;
+ /* configure : */
+ /* output to enable when jack is low */
+ /* output to enable when jack is high */
+ /* jack detect (gpio/nc/jack detect [12] */
+ unsigned int jack_det_ctrl;
+};
+#endif
+