#----------------------------- # rgb devices local parameter #----------------------------- menu "RGB interface options" depends on AIC_DISP_RGB choice prompt "rgb mode" default PRGB depends on AIC_DISP_RGB config PRGB_MODE bool "PRGB" config SRGB_MODE bool "SRGB" endchoice config AIC_RGB_MODE int default 0 if PRGB_MODE default 1 if SRGB_MODE choice prompt "interface format" default AIC_PRGB_16BIT_LD default AIC_PRGB_16BIT_LD if AIC_DISP_RGB_DRV_V10 default AIC_PRGB_24BIT if AIC_DISP_RGB_DRV_V11 default AIC_PRGB_16BIT_LD if AIC_DISP_RGB_DRV_V12 depends on AIC_DISP_RGB config AIC_PRGB_24BIT bool "PRGB 24 BIT" config AIC_PRGB_18BIT_LD bool "PRGB 18 BIT LD" select AIC_DISPLAY_DITHER if !(AICFB_RGB565 || AICFB_ARGB1555) config AIC_PRGB_18BIT_HD bool "PRGB 18 BIT HD" select AIC_DISPLAY_DITHER if !(AICFB_RGB565 || AICFB_ARGB1555) config AIC_PRGB_16BIT_LD bool "PRGB 16 BIT LD" select AIC_DISPLAY_DITHER if !(AICFB_RGB565 || AICFB_ARGB1555) config AIC_PRGB_16BIT_HD bool "PRGB 16 BIT HD" select AIC_DISPLAY_DITHER if !(AICFB_RGB565 || AICFB_ARGB1555) config AIC_SRGB_8BIT bool "SRGB_8BIT" config AIC_SRGB_6BIT bool "SRGB_6BIT" endchoice config AIC_RGB_FORMAT int default 0 if AIC_PRGB_24BIT default 1 if AIC_PRGB_18BIT_LD default 2 if AIC_PRGB_18BIT_HD default 3 if AIC_PRGB_16BIT_LD default 4 if AIC_PRGB_16BIT_HD default 5 if AIC_SRGB_8BIT default 6 if AIC_SRGB_6BIT choice prompt "data order" default DATA_ORDER_RGB depends on AIC_DISP_RGB config DATA_ORDER_RGB bool "RGB" config DATA_ORDER_RBG bool "RBG" config DATA_ORDER_BGR bool "BGR" config DATA_ORDER_BRG bool "BRG" config DATA_ORDER_GRB bool "GRB" config DATA_ORDER_GBR bool "GBR" endchoice config AIC_RGB_DATA_ORDER hex default 0x02100210 if DATA_ORDER_RGB default 0x02010201 if DATA_ORDER_RBG default 0x00120012 if DATA_ORDER_BGR default 0x00210021 if DATA_ORDER_BRG default 0x01200120 if DATA_ORDER_GRB default 0x01020102 if DATA_ORDER_GBR choice prompt "clock phase select" default DEGREE_0 depends on AIC_DISP_RGB config AIC_DEGREE_0 bool "0 degree" config AIC_DEGREE_90 bool "90 degree" config AIC_DEGREE_180 bool "180 degree" config AIC_DEGREE_270 bool "270 degree" endchoice config AIC_RGB_CLK_CTL int default 0 if AIC_DEGREE_0 default 1 if AIC_DEGREE_90 default 2 if AIC_DEGREE_180 default 3 if AIC_DEGREE_270 config RGB_DATA_MIRROT bool "data mirror" default y if AIC_DISP_RGB_DRV_V11 config AIC_RGB_DATA_MIRROR int default 0 if !RGB_DATA_MIRROT default 1 if RGB_DATA_MIRROT endmenu