diff options
author | Simon Glass | 2016-05-05 07:28:20 -0600 |
---|---|---|
committer | Andreas Bießmann | 2016-06-12 23:49:38 +0200 |
commit | 9dc89a053d29deea73c39ef49c9f1c6cb4c38820 (patch) | |
tree | 9728dbbf077f28024874885fd6abcedaf697301f /include/atmel_lcd.h | |
parent | d63ec26a49a1ae8c0fd65c24e8c0b6c67b79cd01 (diff) |
at91: video: Support driver-model for the LCD driver
Add driver-model support to this driver. Most features can be controlled
from the device tree.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Andreas Bießmann <andreas@biessmann.org>
Diffstat (limited to 'include/atmel_lcd.h')
-rw-r--r-- | include/atmel_lcd.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/atmel_lcd.h b/include/atmel_lcd.h index 6993128b1b4..8a2f46f6c7b 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) */ |