mirror of https://github.com/OpenIPC/firmware.git
				
				
				
			
		
			
				
	
	
		
			34 lines
		
	
	
		
			849 B
		
	
	
	
		
			Diff
		
	
	
			
		
		
	
	
			34 lines
		
	
	
		
			849 B
		
	
	
	
		
			Diff
		
	
	
| diff -drupN a/drivers/input/misc/stk3x1x.h b/drivers/input/misc/stk3x1x.h
 | |
| --- a/drivers/input/misc/stk3x1x.h	1970-01-01 03:00:00.000000000 +0300
 | |
| +++ b/drivers/input/misc/stk3x1x.h	2022-06-12 05:28:14.000000000 +0300
 | |
| @@ -0,0 +1,29 @@
 | |
| +/*
 | |
| + *
 | |
| + * $Id: stk3x1x.h
 | |
| + *
 | |
| + * Copyright (C) 2012~2013 Lex Hsieh     <lex_hsieh@sensortek.com.tw>
 | |
| + *
 | |
| + * This file is subject to the terms and conditions of the GNU General Public
 | |
| + * License.  See the file COPYING in the main directory of this archive for
 | |
| + * more details.
 | |
| + *
 | |
| + */
 | |
| +#ifndef __STK3X1X_H__
 | |
| +#define __STK3X1X_H__
 | |
| +
 | |
| +/* platform data */
 | |
| +
 | |
| +struct stk3x1x_platform_data {
 | |
| +	uint8_t state_reg;
 | |
| +	uint8_t psctrl_reg;
 | |
| +	uint8_t alsctrl_reg;
 | |
| +	uint8_t ledctrl_reg;
 | |
| +	uint8_t	wait_reg;
 | |
| +	uint16_t ps_thd_h;
 | |
| +	uint16_t ps_thd_l;
 | |
| +	int int_pin;
 | |
| +	uint32_t transmittance;
 | |
| +};
 | |
| +
 | |
| +#endif /*__STK3X1X_H__*/
 |