/*1* Platform data for MAX980882*3* Copyright 2010 Maxim Integrated Products4*5* This program is free software; you can redistribute it and/or modify it6* under the terms of the GNU General Public License as published by the7* Free Software Foundation; either version 2 of the License, or (at your8* option) any later version.9*10*/1112#ifndef __SOUND_MAX98088_PDATA_H__13#define __SOUND_MAX98088_PDATA_H__1415/* Equalizer filter response configuration */16struct max98088_eq_cfg {17const char *name;18unsigned int rate;19u16 band1[5];20u16 band2[5];21u16 band3[5];22u16 band4[5];23u16 band5[5];24};2526/* codec platform data */27struct max98088_pdata {2829/* Equalizers for DAI1 and DAI2 */30struct max98088_eq_cfg *eq_cfg;31unsigned int eq_cfgcnt;3233/* Receiver output can be configured as power amplifier or LINE out */34/* Set receiver_mode to:35* 0 = amplifier output, or36* 1 = LINE level output37*/38unsigned int receiver_mode:1;3940/* Analog/digital microphone configuration:41* 0 = analog microphone input (normal setting)42* 1 = digital microphone input43*/44unsigned int digmic_left_mode:1;45unsigned int digmic_right_mode:1;4647};4849#endif505152