mirror of
https://github.com/torvalds/linux.git
synced 2024-12-29 14:21:47 +00:00
457c25efc5
Support the function of impedance sensing. It could be set the matrix row number of the impedance sensing table and the related parameters in the DTS. Signed-off-by: Oder Chiou <oder_chiou@realtek.com> Signed-off-by: Mark Brown <broonie@kernel.org>
26 lines
622 B
C
26 lines
622 B
C
/*
|
|
* linux/sound/rt5663.h -- Platform data for RT5663
|
|
*
|
|
* Copyright 2017 Realtek Semiconductor Corp.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
|
|
#ifndef __LINUX_SND_RT5663_H
|
|
#define __LINUX_SND_RT5663_H
|
|
|
|
struct rt5663_platform_data {
|
|
unsigned int dc_offset_l_manual;
|
|
unsigned int dc_offset_r_manual;
|
|
unsigned int dc_offset_l_manual_mic;
|
|
unsigned int dc_offset_r_manual_mic;
|
|
|
|
unsigned int impedance_sensing_num;
|
|
unsigned int *impedance_sensing_table;
|
|
};
|
|
|
|
#endif
|
|
|