summaryrefslogtreecommitdiffstats
path: root/include/atmel_lcd.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-05-05 07:28:20 -0600
committerAndreas Bießmann <andreas@biessmann.org>2016-06-12 23:49:38 +0200
commit9dc89a053d29deea73c39ef49c9f1c6cb4c38820 (patch)
tree9728dbbf077f28024874885fd6abcedaf697301f /include/atmel_lcd.h
parentd63ec26a49a1ae8c0fd65c24e8c0b6c67b79cd01 (diff)
downloadblackbird-obmc-uboot-9dc89a053d29deea73c39ef49c9f1c6cb4c38820.tar.gz
blackbird-obmc-uboot-9dc89a053d29deea73c39ef49c9f1c6cb4c38820.zip
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.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/atmel_lcd.h b/include/atmel_lcd.h
index 6993128b1b..8a2f46f6c7 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) */
OpenPOWER on IntegriCloud