aboutsummaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorHans de Goede2015-01-01 22:04:34 +0100
committerHans de Goede2015-01-14 14:56:40 +0100
commit213480e12d880ef6782f56f1af95469b48cca539 (patch)
treee6bc90e7c39254d5cc2981b0115781ef23b1ea23 /board
parent213dcbfdeb3bdafad48cb330793fa870efef77f0 (diff)
sunxi: video: Add lvds support
Add support for lvds lcd panels Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'board')
-rw-r--r--board/sunxi/Kconfig27
1 files changed, 27 insertions, 0 deletions
diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig
index 9a0d8a2c010..bbe5c86e7b6 100644
--- a/board/sunxi/Kconfig
+++ b/board/sunxi/Kconfig
@@ -348,6 +348,33 @@ config VIDEO_LCD_BL_PWM
Set the backlight pwm pin for the LCD panel. This takes a string in the
format understood by sunxi_name_to_gpio, e.g. PH1 for pin 1 of port H.
+
+# Note only one of these may be selected at a time! But hidden choices are
+# not supported by Kconfig
+config VIDEO_LCD_IF_PARALLEL
+ bool
+
+config VIDEO_LCD_IF_LVDS
+ bool
+
+
+choice
+ prompt "LCD panel support"
+ depends on VIDEO
+ ---help---
+ Select which type of LCD panel to support.
+
+config VIDEO_LCD_PANEL_PARALLEL
+ bool "Generic parallel interface LCD panel"
+ select VIDEO_LCD_IF_PARALLEL
+
+config VIDEO_LCD_PANEL_LVDS
+ bool "Generic lvds interface LCD panel"
+ select VIDEO_LCD_IF_LVDS
+
+endchoice
+
+
config USB_KEYBOARD
boolean "Enable USB keyboard support"
default y