2 * Copyright (C) ST-Ericsson SA 2012
4 * Author: Ola Lilja <ola.o.lilja@stericsson.com>
9 * This program is free software; you can redistribute it and/or modify it
10 * under the terms of the GNU General Public License version 2 as published
11 * by the Free Software Foundation.
14 #ifndef AB8500_CORE_CODEC_H
15 #define AB8500_CORE_CODEC_H
19 AMIC_TYPE_SINGLE_ENDED
,
20 AMIC_TYPE_DIFFERENTIAL
39 /* Analog microphone settings */
40 struct amic_settings
{
41 enum amic_type mic1_type
;
42 enum amic_type mic2_type
;
43 enum amic_micbias mic1a_micbias
;
44 enum amic_micbias mic1b_micbias
;
45 enum amic_micbias mic2_micbias
;
48 /* Platform data structure for the audio-parts of the AB8500 */
49 struct ab8500_codec_platform_data
{
50 struct amic_settings amics
;
51 enum ear_cm_voltage ear_cmv
;