source "drivers/video/fbdev/msm/msm_dba/Kconfig"

if FB_MSM

config FB_MSM_MDSS_COMMON
	bool

choice
	prompt "MDP HW version"
	default FB_MSM_MDP

config FB_MSM_MDP
	select FB_MSM_MDP_HW
	bool "MDP HW"
	---help---
	  Support for MSM MDP HW revision 2.2
	  Say Y here if this is msm7201 variant platform.

config FB_MSM_MDSS
	bool "MDSS HW"
	select SYNC
	select SW_SYNC
	select FB_MSM_MDSS_COMMON
	---help---
	The Mobile Display Sub System (MDSS) driver supports devices which
	contain MDSS hardware block.

	The MDSS driver implements frame buffer interface to provide access to
	the display hardware and provide a way for users to display graphics
	on connected display panels.

config FB_MSM_MDP_NONE
	bool "MDP HW None"
	---help---
	  Say Y here if this is mdm platform.

endchoice

config FB_MSM_QPIC
	bool
	select FB_MSM_MDSS_COMMON

config FB_MSM_QPIC_ILI_QVGA_PANEL
	bool "Qpic MIPI ILI QVGA Panel"
	select FB_MSM_QPIC
	---help---
	  Support for MIPI ILI QVGA (240x320) panel
	  ILI TECHNOLOGY 9341
	  with on-chip full display RAM
	  use parallel interface

config FB_MSM_QPIC_PANEL_DETECT
	bool "Qpic Panel Detect"
	select FB_MSM_QPIC_ILI_QVGA_PANEL
	---help---
	  Support for Qpic panel auto detect

config FB_MSM_MDSS_WRITEBACK
	bool "MDSS Writeback Panel"
	---help---
	The MDSS Writeback Panel provides support for routing the output of
	MDSS frame buffer driver and MDP processing to memory.

config FB_MSM_MDSS_HDMI_PANEL
	depends on FB_MSM_MDSS
	select MSM_EXT_DISPLAY
	bool "MDSS HDMI Tx Panel"
	default n
	---help---
	The MDSS HDMI Panel provides support for transmitting TMDS signals of
	MDSS frame buffer data to connected hdmi compliant TVs, monitors etc.

config FB_MSM_MDSS_HDMI_MHL_SII8334
	depends on FB_MSM_MDSS_HDMI_PANEL
	bool 'MHL SII8334 support '
	default n
	---help---
	  Support the HDMI to MHL conversion.
	  MHL (Mobile High-Definition Link) technology
	  uses USB connector to output HDMI content

config FB_MSM_MDSS_MHL3
	depends on FB_MSM_MDSS_HDMI_PANEL
	bool "MHL3 SII8620 Support"
	default n
	---help---
	  Support the SiliconImage 8620 MHL Tx transmitter that uses
	  USB connector to output HDMI content. Transmitter is an
	  i2c device acting as an HDMI to MHL bridge. Chip supports
	  MHL 3.0 standard.

config FB_MSM_MDSS_DSI_CTRL_STATUS
	tristate "DSI controller status check feature"
	---help---
	  Check DSI controller status periodically (default period is 5
	  seconds) by sending Bus-Turn-Around (BTA) command. If DSI controller
	  fails to acknowledge the BTA command, it sends PANEL_ALIVE=0 status
	  to HAL layer to reset the controller.

config FB_MSM_MDSS_DP_PANEL
	depends on FB_MSM_MDSS
	select MSM_EXT_DISPLAY
	bool "MDSS DP Panel"
	---help---
	The MDSS DP Panel provides support for DP host controller driver
	which runs in Video mode only and is responsible for transmitting
	frame buffer from host SOC to DP display panel.

config FB_MSM_MDSS_MDP3
	depends on FB_MSM_MDSS
	bool "MDP3 display controller"
	---help---
	The MDP3 provides support for an older version display controller
	included in latest display sub-system, known as MDSS.

config FB_MSM_MDSS_XLOG_DEBUG
	depends on FB_MSM_MDSS
	bool "Enable MDSS debugging"
	---help---
	The MDSS debugging provides support to enable display debugging
	features to: Dump MDSS registers during driver errors, panic
	driver during fatal errors and enable some display-driver logging
	into an internal buffer (this avoids logging overhead).

config PXLW_IRIS3_BRIDGE_IC
	depends on FB_MSM_MDSS
	bool "Enable pxlw iris3"
	default n
	---help---
	  Support for MSM MDP DSI MIPI BRIDGE IC
	  Say Y here if you used the pxlw iris bridge ic.

config LGE_DISPLAY_AOD_SUPPORTED
	bool "Enable AOD function"
	default n
	---help---
	Feature for AOD (Always on Display) scenario.

config LGE_DISPLAY_MARQUEE_SUPPORTED
	bool "Enable MARQUEE function"
	default n
	---help---
	Feature for MARQUEE scenario.

config LGE_DISPLAY_DELAY_SLEW_CONTROL_IN_TTW
	bool "Enable Control for delay and slew in TTW mode"
	default n
	---help---
	Feature for Delay and Slew control.

config LGE_DISPLAY_AOD_USE_QPNP_WLED
	depends on LGE_DISPLAY_AOD_SUPPORTED
	bool "Enable wled feature for AOD"
	default n
	---help---
	Feature for AOD (Always on Display) backlight mode control.

config LGE_DISPLAY_AMBIENT_SUPPORTED
	default n
	bool "support ambient mode"
	---help---
	This feature proivdes support for ambiendt mode

config LGE_LCD_OFF_DIMMING
	bool "Enable LCD DIMMING for FOTA"
	depends on MACH_LGE
	default n
	---help---
	Support for LCD DIMMING (for FOTA)

config LGE_SP_MIRRORING_CTRL_BL
	bool "SP_MIRRORING_CTRL_BL"
	default n
	help
	  if you say yes here you get support for sp mirroring backlight control

config LGE_LCD_TUNING
	bool "Enable LCD Tuning interface only userdebug"
	default n
	---help---
	Support LCD tuning interface userdebug

config LGE_DISPLAY_DYNAMIC_LOG
	depends on LGE_LCD_TUNING
	bool "Dynamic Log"
	depends on MACH_LGE
	default y
	---help---
	If you say Y here, developers can enable/disable display logs through adb
	by accessing /sys/class/graphics/fb0/debug_level
	ex. echo {debug_level} > sys/class/graphics/fb0/debug_level

config LGE_HIGH_LUMINANCE_MODE
	bool "LGE_HIGH_LUMINANCE_MODE"
	default n
	help
	  if you say yes here you get support for high luminance mode

config LGE_PP_SUPPORT_WITH_PARTIAL_UPDATE
	bool "LGE_PP_SUPPORT_WITH_PARTIAL_UPDATE"
	default n
	help
	  if you say yes here you get support Post Processing(Color convert) with Partial Update

config LGE_PP_AD_SUPPORTED
	bool "LGE_ALICE_AD_SUPPORTED"
	default n
	help
	if you say yes here you get support for Display Driver AD function.

config LGE_ENHANCE_GALLERY_SHARPNESS
	bool "CONFIG_LGE_ENHANCE_GALLERY_SHARPNESS"
	depends on MACH_LGE
	default y
	help
	if you say yes here you get support for enhance sharpness at gallery app

config LGE_VSYNC_SKIP
	bool "MDSS VSYNC Skip scheme"
	default n
	---help---
	This feature provides VSYNC skip scheme.

config LGE_DISPLAY_USE_FSC
	bool "Use LGE_DISPLAY_USE_FSC"
	depends on LGE_DISPLAY_COMMON
	default n
	---help---
	This feature support change full scale current wled

config LGE_LCD_POWER_CTRL
	bool "LCD power control mode"
	depends on MACH_LGE
	default y
	---help---
	if you say yes here you get support for lcd power on/off control.

config LGE_DISPLAY_RECOVERY_ESD
	depends on  LGE_DISPLAY_COMMON
	bool "Panel recovery support"
	depends on MACH_LGE
	default y
	---help---
	if you say yes here, you get support for panel recovery routine.

config LGE_THERMAL_BL_MAX
	bool "LGE_ALICE_THERMAL_BL_MAX"
	default n
	---help---
	if you say yes here you get support for thermal bl max value.

config LGE_LCD_MFTS_MODE
	depends on LGE_LCD_POWER_CTRL
	bool "LCD MFTS mode"
	depends on MACH_LGE
	default y
	---help---
	if you say yes here you get support for lcd mfts control.

config LGE_CAM_PREVIEW_TUNE
	bool "Enable LGE_CAM_PREVIEW_TUNE"
	default n
	---help---
	if you say yes here you get support for enhance low-gradation at camera preview

config LGE_LCD_DYNAMIC_CABC_MIE_CTRL
	bool "LGE_LCD_DYNAMIC_CABC_MIE_CTRL"
	depends on MACH_LGE
	default y
	help
	if you say yes here you get support for cabc, image enhance function dynamic control

config LGE_DISPLAY_SRE_MODE
	depends on FB_MSM_MDSS
	bool "LGE sre mode"
	---help---
	The sre mode provides support to improve outdoor visibility
	by sending proper cmds to panel.

config LGE_DISPLAY_HDR_MODE
	depends on FB_MSM_MDSS
	bool "LGE HDR mode"
	---help---
	The HDR mode provides support to ensure high definition for playing movies
	by sending proper cmds to panel.

config LGE_DISPLAY_DOLBY_MODE
	depends on FB_MSM_MDSS
	bool "LGE Dolby mode"
	---help---
	The Dolby mode provides support to ensure high definition for playing movies
	by sending proper cmds to panel.

config LGE_DISPLAY_LINEAR_GAMMA
	depends on FB_MSM_MDSS
	bool "LGE linear gamma"
	---help---
	The linear gamma mode provides support to change linear gamma
	by sending proper cmds to panel.

config LGE_DISPLAY_SW49408
	depends on FB_MSM_MDSS
	bool "LGE sw49408"
	---help---
	The SW49408 provides support for SW49408 features made by LGE.

config LGE_DISPLAY_COMMON
	depends on FB_MSM_MDSS
	bool "Use LGE DISPLAY COMMON"
	---help---
	The LGE DISPLAY COMMON provides support for common display features made by LGE.

config LGE_DISPLAY_OVERRIDE_MDSS_DSI_PANEL_POWER_ON
	depends on LGE_DISPLAY_COMMON
	bool "Use OVERRIDE MDSS_DSI_PANEL_POWER_ON"
	---help---
	The LGE DISPLAY COMMON provides support for
		ovrriding mdss_dsi_panel_power_on() function.

config LGE_DISPLAY_OVERRIDE_MDSS_DSI_PANEL_POWER_OFF
	depends on LGE_DISPLAY_COMMON
	bool "Use OVERRIDE MDSS_DSI_PANEL_POWER_OFF"
	---help---
	The LGE DISPLAY COMMON provides support for
		ovrriding mdss_dsi_panel_power_off() function.

config LGE_DISPLAY_OVERRIDE_MDSS_DSI_PANEL_ON
	depends on LGE_DISPLAY_COMMON
	bool "Use OVERRIDE MDSS_DSI_PANEL_ON"
	---help---
	The LGE DISPLAY COMMON provides support for
		ovrriding mdss_dsi_panel_on() function.

config LGE_DISPLAY_OVERRIDE_MDSS_DSI_PANEL_OFF
	depends on LGE_DISPLAY_COMMON
	bool "Use OVERRIDE MDSS_DSI_PANEL_OFF"
	---help---
	The LGE DISPLAY COMMON provides support for
		ovrriding mdss_dsi_panel_off() function.

config LGE_DISPLAY_OVERRIDE_MDSS_DSI_PANEL_RESET
	depends on LGE_DISPLAY_COMMON
	bool "Use OVERRIDE MDSS_DSI_PANEL_RESET"
	---help---
	The LGE DISPLAY COMMON provides support for
		ovrriding mdss_dsi_panel_reset() function.

config LGE_DISPLAY_OVERRIDE_MDSS_DSI_CTRL_SHUTDOWN
	depends on LGE_DISPLAY_COMMON
	bool "Use OVERRIDE MDSS_DSI_CTRL_SHUTDOWN"
	---help---
	The LGE DISPLAY COMMON provides support for
		ovrriding mdss_dsi_ctrl_shutdown() function.

config LGE_DISPLAY_H1_COMMON
	depends on LGE_DISPLAY_COMMON
	bool "Use LGE DISPLAY H1 COMMON"
	---help---
	The H1 COMMON provides support for H1 panel

config LGE_DISPLAY_HPLUS_COMMON
	depends on LGE_DISPLAY_COMMON
	bool "Use LGE DISPLAY HPLUS COMMON"
	---help---
	The HPLUS COMMON provides support for HPLUS panel

config LGE_DISPLAY_FALCON_COMMON
	depends on LGE_DISPLAY_COMMON
	bool "Use LGE DISPLAY FALCON COMMON"
	---help---
	The FALCON COMMON provides support for 49410 panel

config LGE_DISPLAY_TF10
	depends on LGE_DISPLAY_COMMON
	bool "Use LGE DISPLAY TF10 COMMON"
	---help---
	The TF10 COMMON provides support for TF10 panel


config LGE_DISPLAY_BL_EXTENDED
     bool "LG DUAL Backlight"
	default n
	---help---
	Support dual backlight

config LGE_EXTERNAL_DISPLAY_BLOCK
	bool "LG EXTERNAL DISPLAY block"
	default n
	---help---
	Support EXTERNAL DISPLAY block

config LGE_DISPLAY_DYN_DSI_MODE_SWITCH
	bool "LG DYNAMIC DSI MODE SWITCH"
	default n
	---help---
	Support Dynamic DSI mode switch

config LGE_DISPLAY_MFTS_DET_SUPPORTED
	bool "LG MFTS Detection"
	default n
	---help---
	Support MFTS Detection

config LGE_DISPLAY_LUCYE_COMMON
	depends on LGE_DISPLAY_COMMON
	bool "Use LGE DISPLAY LUCYE COMMON"
	---help---
	The LUCYE COMMON provides support for 49407 1440X2880 panel

config LGE_DISPLAY_AOD_WITH_MIPI
	bool "Enable AOD_WITH_MIPI"
	default n
	---help---
	Feature for AOD_WITH_MIPI scenario.

config LGE_DP_UNSUPPORT_NOTIFY
	bool "Enable DP UNSUPPORT NOTIFY FEATURE"
	default n
	---help---
	This config is for notification to framework unsupported
	Displayport

config LGE_DISPLAY_LABIBB_RECOVERY
	bool "Recover labibb by reboot system"
	default n
	---help---
	Recovery labibb by reboot system

config LGE_INTERVAL_MONITOR
	depends on LGE_DISPLAY_COMMON
	bool "Frame Interval Monitor"
	---help---
	This feature provides Frame Interval Monitor scheme.

config LGE_FBCN
	depends on LGE_DISPLAY_COMMON
	bool "Frame Based Clock Normalizer"
	---help---
	This feature provides Frame Based Clock Normalizer scheme.

endif
