#
# S3C Video configuration
#

config FB_S3C
	tristate "S3C Framebuffer support"
	select FB_CFB_FILLRECT
	select FB_CFB_COPYAREA
	select FB_CFB_IMAGEBLIT
	select FRAMEBUFFER_CONSOLE_DETECT_PRIMARY
	depends on FB && ARCH_S5PV210
	default n
	---help---
	  This enables support for Samsung Display Controller (FIMD)

config FB_S3C_SPLASH_SCREEN
        bool "SPLASH_SCREEN on LCD"
        depends on FB_S3C
	default n

config FB_S3C_LCD_INIT
        bool "LCD init in kernel"
        depends on FB_S3C
	default y

config FB_S3C_DEBUG
        bool "S3C Framebuffer debug messages"
        depends on FB_S3C

config FB_S3C_TRACE_UNDERRUN
	bool "S3C Framebuffer FIFO underrun trace"
	depends on FB_S3C

config FB_S3C_DEFAULT_WINDOW
	int "Default Window (0-4)"
	depends on FB_S3C
	default "2"
	---help---
	  This indicates the default window number, and which is used as console framebuffer

config FB_S3C_NR_BUFFERS
	int "Number of frame buffers (1-3)"
	depends on FB_S3C
	default "1"
	---help---
	  This indicates the number of buffers for pan display,
	  1 means no pan display and
	  2 means the double size of video buffer will be allocated for default window

config FB_S3C_VIRTUAL
	bool "Virtual Screen"
	depends on FB_S3C
	default n
	---help---
	  This uses 1920 x 1080 virtual screen.

config FB_S3C_X_VRES
	int "xres_virtual"
	depends on FB_S3C && FB_S3C_VIRTUAL
	default "1920"
	help
	  This indicates var.xres_virtual which has to be bigger than var.xres.

config FB_S3C_Y_VRES
	int "yres_virtual"
	depends on FB_S3C && FB_S3C_VIRTUAL
	default "1080"
	help
	  This indicates var.yres_virtual which has to be bigger than var.yres.

choice
depends on FB_S3C
prompt "Select LCD Type"
default FB_S3C_LTE480WV
config FB_S3C_LTE480WV
	bool "LTE480WV"
	depends on (MACH_SMDKV210 || MACH_SMDKC110)
	---help---
	  This enables support for Samsung LTE480WV 4.8\" WVGA LCD panel

config FB_S3C_HT101HD1
	bool "HT101HD1"
	depends on MACH_SMDKV210
	---help---
	  This enables support for HT101HD1 WXVGA(1366*768) LCD panel
endchoice

config FB_S3C_TL2796
        bool "TL2796"
        depends on FB_S3C
        select SPI
        select SPI_GPIO
        select SPI_BITBANG
        ---help---
          This enables support for Samsung TL2796 WVGA LCD panel

config FB_S3C_LVDS
	bool "LVDS"
	depends on FB_S3C && (ARCH_S5PV210)
	default y
	---help---
	  This enables support for Samsung LVDS LCD panel

config FB_S3C_AMS701KA
	bool "AMS701KA"
	depends on FB_S3C && (ARCH_S5PV210)
	select SPI
	select SPI_GPIO
	default n
	---help---
	  This enables support for Samsung AMS701KA LCD panel

config FB_S3C_MDNIE
	bool "Samsung MDNIE"
	depends on FB_S3C
	depends on FB_S3C && (ARCH_S5PV210)
	default "0"
	---help---
	  This enables support for Samsung MDNIE feature

config FB_S3C_TL2796_ACL
	bool "Samsung TL2796(ACL)"
	depends on FB_S3C_TL2796
	default y
	---help---
	  This enables support for Samsung TL2796 WVGA LCD panel to enable ACL feature.

config FB_S3C_CMC623
	bool "Samsung CMC623"
	depends on FB_S3C && (ARCH_S5PV210)
	default "0"
	---help---
	This enables support for Samsung CMC623 feature
