From 9dc89a053d29deea73c39ef49c9f1c6cb4c38820 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Thu, 5 May 2016 07:28:20 -0600 Subject: at91: video: Support driver-model for the LCD driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add driver-model support to this driver. Most features can be controlled from the device tree. Signed-off-by: Simon Glass Reviewed-by: Andreas Bießmann --- include/atmel_lcd.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'include/atmel_lcd.h') diff --git a/include/atmel_lcd.h b/include/atmel_lcd.h index 6993128..8a2f46f 100644 --- a/include/atmel_lcd.h +++ b/include/atmel_lcd.h @@ -10,6 +10,15 @@ #ifndef _ATMEL_LCD_H_ #define _ATMEL_LCD_H_ +/** + * struct atmel_lcd_platdata - platform data for Atmel LCDs with driver model + * + * @timing_index: Index of LCD timing to use in device tree node + */ +struct atmel_lcd_platdata { + int timing_index; +}; + typedef struct vidinfo { ushort vl_col; /* Number of columns (i.e. 640) */ ushort vl_row; /* Number of rows (i.e. 480) */ -- cgit v1.1