|  | @@ -432,3 +432,23 @@ static struct platform_device *devices[] __initdata = {
 | 
	
		
			
				|  |  |   */
 | 
	
		
			
				|  |  |  static const struct ads7846_platform_data htcherald_ts_platform_data = {
 | 
	
		
			
				|  |  |  	.model			= 7846,
 | 
	
		
			
				|  |  | +	.keep_vref_on		= 1,
 | 
	
		
			
				|  |  | +	.x_plate_ohms		= 496,
 | 
	
		
			
				|  |  | +	.gpio_pendown		= HTCHERALD_GPIO_TS,
 | 
	
		
			
				|  |  | +	.pressure_max		= 10000,
 | 
	
		
			
				|  |  | +	.pressure_min		= 5000,
 | 
	
		
			
				|  |  | +	.x_min			= 528,
 | 
	
		
			
				|  |  | +	.x_max			= 3760,
 | 
	
		
			
				|  |  | +	.y_min			= 624,
 | 
	
		
			
				|  |  | +	.y_max			= 3760,
 | 
	
		
			
				|  |  | +};
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +static struct spi_board_info __initdata htcherald_spi_board_info[] = {
 | 
	
		
			
				|  |  | +	{
 | 
	
		
			
				|  |  | +		.modalias		= "ads7846",
 | 
	
		
			
				|  |  | +		.platform_data		= &htcherald_ts_platform_data,
 | 
	
		
			
				|  |  | +		.max_speed_hz		= 2500000,
 | 
	
		
			
				|  |  | +		.bus_num		= 2,
 | 
	
		
			
				|  |  | +		.chip_select		= 1,
 | 
	
		
			
				|  |  | +	}
 | 
	
		
			
				|  |  | +};
 |