/*1* Platform data for MAX980952*3* Copyright 2011 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_MAX98095_PDATA_H__13#define __SOUND_MAX98095_PDATA_H__1415/* Equalizer filter response configuration */16struct max98095_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/* Biquad filter response configuration */27struct max98095_biquad_cfg {28const char *name;29unsigned int rate;30u16 band1[5];31u16 band2[5];32};3334/* codec platform data */35struct max98095_pdata {3637/* Equalizers for DAI1 and DAI2 */38struct max98095_eq_cfg *eq_cfg;39unsigned int eq_cfgcnt;4041/* Biquad filter for DAI1 and DAI2 */42struct max98095_biquad_cfg *bq_cfg;43unsigned int bq_cfgcnt;4445/* Analog/digital microphone configuration:46* 0 = analog microphone input (normal setting)47* 1 = digital microphone input48*/49unsigned int digmic_left_mode:1;50unsigned int digmic_right_mode:1;51};5253#endif545556