mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-10-30 19:48:19 +00:00 
			
		
		
		
	Davanci spi driver has DM support already, this patch add support for platdata so-that SPL can use it for low foot-print. Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> Tested-by: Adam Ford <aford173@gmail.com>
		
			
				
	
	
		
			16 lines
		
	
	
		
			301 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			301 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /*
 | |
|  * Copyright (C) 2018 Jagan Teki <jagan@amarulasolutions.com>
 | |
|  *
 | |
|  * SPDX-License-Identifier:	GPL-2.0+
 | |
|  */
 | |
| 
 | |
| #ifndef __spi_davinci_h
 | |
| #define __spi_davinci_h
 | |
| 
 | |
| struct davinci_spi_platdata {
 | |
| 	struct davinci_spi_regs *regs;
 | |
| 	u8 num_cs;	   /* total no. of CS available */
 | |
| };
 | |
| 
 | |
| #endif /* __spi_davinci_h */
 |