xref: /openbmc/linux/include/sound/rt5663.h (revision 457c25ef)
1450f0f6aSoder_chiou@realtek.com /*
2450f0f6aSoder_chiou@realtek.com  * linux/sound/rt5663.h -- Platform data for RT5663
3450f0f6aSoder_chiou@realtek.com  *
4450f0f6aSoder_chiou@realtek.com  * Copyright 2017 Realtek Semiconductor Corp.
5450f0f6aSoder_chiou@realtek.com  *
6450f0f6aSoder_chiou@realtek.com  * This program is free software; you can redistribute it and/or modify
7450f0f6aSoder_chiou@realtek.com  * it under the terms of the GNU General Public License version 2 as
8450f0f6aSoder_chiou@realtek.com  * published by the Free Software Foundation.
9450f0f6aSoder_chiou@realtek.com  */
10450f0f6aSoder_chiou@realtek.com 
11450f0f6aSoder_chiou@realtek.com #ifndef __LINUX_SND_RT5663_H
12450f0f6aSoder_chiou@realtek.com #define __LINUX_SND_RT5663_H
13450f0f6aSoder_chiou@realtek.com 
14450f0f6aSoder_chiou@realtek.com struct rt5663_platform_data {
15450f0f6aSoder_chiou@realtek.com 	unsigned int dc_offset_l_manual;
16450f0f6aSoder_chiou@realtek.com 	unsigned int dc_offset_r_manual;
17278982b5Soder_chiou@realtek.com 	unsigned int dc_offset_l_manual_mic;
18278982b5Soder_chiou@realtek.com 	unsigned int dc_offset_r_manual_mic;
19457c25efSOder Chiou 
20457c25efSOder Chiou 	unsigned int impedance_sensing_num;
21457c25efSOder Chiou 	unsigned int *impedance_sensing_table;
22450f0f6aSoder_chiou@realtek.com };
23450f0f6aSoder_chiou@realtek.com 
24450f0f6aSoder_chiou@realtek.com #endif
25450f0f6aSoder_chiou@realtek.com 
26