mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 02:30:34 +02:00 
			
		
		
		
	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>
		
			
				
	
	
		
			25 lines
		
	
	
	
		
			622 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			25 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
 | 
						|
 |