video: rockchip: lcdc: 3366: add support power domain control
[firefly-linux-kernel-4.4.55.git] / drivers / video / rockchip / Kconfig
index ec333509658dd717e5c059e9116d5873386de63c..af48d59af5a121ae766bd0b37fa2d772c75e1ff2 100755 (executable)
@@ -1,84 +1,71 @@
-config FB_ROCKCHIP
-        tristate "Frame buffer support for Rockchip "
-        depends on FB
-        select FB_CFB_FILLRECT
-        select FB_CFB_COPYAREA
-        select FB_CFB_IMAGEBLIT
-        ---help---
+menuconfig FB_ROCKCHIP
+       tristate "Frame buffer support for Rockchip "
+       depends on FB
+       select FB_CFB_FILLRECT
+       select FB_CFB_COPYAREA
+       select FB_CFB_IMAGEBLIT
+       select FB_MODE_HELPERS
+       select VIDEOMODE_HELPERS
+        help
           Framebuffer driver for rockchip based platform
 
-config DUAL_DISP_IN_KERNEL
-        bool "implement dual display in kernel"
+config FB_MIRRORING
+       bool     "Mirroring support"
+       depends on FB_ROCKCHIP
+choice
+        bool "Dual display ploy select"
+       depends on FB_ROCKCHIP
+       default NO_DUAL_DISP
+        help
+         If you use dual lcdc for dual display ,select "implement dual display in kernel with dual lcdc"
+         If you use one lcdc like rk2928 or one lcdc with RK Jetta,select "one lcdc dual output display interface support"
+       
+config DUAL_LCDC_DUAL_DISP_IN_KERNEL
+        bool "implement dual display in kernel with dual lcdc"
         depends on FB_ROCKCHIP
-        default y if HDMI_RK30
         help
           select y will implement dual screen display in kernel
+
 config ONE_LCDC_DUAL_OUTPUT_INF
         bool "one lcdc dual output display interface support"
         depends on FB_ROCKCHIP
-        default y if ARCH_RK2928
         help
           select y if on platform like rk2928 which have one lcdc but two output interface
-config THREE_FB_BUFFER
-        bool "Three fb buffer support"
-        depends on FB_ROCKCHIP
-        default y
-        help
-           select y if android support three buffer,like Jelly Bean
+config NO_DUAL_DISP
+       bool "NO dual display needed"
+       depends on FB_ROCKCHIP
+       help
+         No dual display needed
+endchoice
 
-config FB_WIMO
-       bool "WiMO support"
+config FB_ROTATE
+       bool"FB rotate support"
        depends on FB_ROCKCHIP
        default n
        help
-           Support wimo
-
-config LCDC_RK2928
-        tristate "rk2928 lcdc support"
-        depends on FB_ROCKCHIP && ARCH_RK2928
-        help
-          Driver for rk2928 lcdc .
+         select y if you need rotate your screen
 
-config LCDC_RK30
-        tristate "rk30 lcdc support"
-        depends on FB_ROCKCHIP && ARCH_RK30
-        help
-          Driver for rk30 lcdc .There are two lcd controllers on rk30
-
-config LCDC0_RK30
-       bool "lcdc0 support"
-       depends on LCDC_RK30
-       default y
-       help 
-          Support rk30 lcdc0 if you say y here
-
-config LCDC1_RK30
-        bool "lcdc1 support"
-        depends on LCDC_RK30
-        default y if HDMI_RK30
-        help
-           Support rk30 lcdc1 if you say y here
-
-config LCDC_RK3066B
-       tristate "rk3066b lcdc support"
-        depends on FB_ROCKCHIP && ARCH_RK3066B
-        help
-          Driver for rk3066b  lcdc.
-
-config LCDC0_RK3066B
-        bool "lcdc0 support"
-        depends on LCDC_RK3066B
+config ROTATE_ORIENTATION
+       int "rotate orientation"
+       depends on FB_ROTATE
+       default 0
+       help
+         select 0, 90, 180,270 according to your Mold
+config THREE_FB_BUFFER
+        bool "Three fb buffer support"
+        depends on FB_ROCKCHIP
         default y
         help
-           Support lcdc0 if you say y here
+           select y if android support three buffer,like Jelly Bean
 
-config LCDC1_RK3066B
-        bool "lcdc1 support"
-        depends on LCDC_RK3066B
-        default n
-        help
-           Support lcdc1 if you say y here
 
+source "drivers/video/rockchip/lcdc/Kconfig"
+source "drivers/video/rockchip/screen/Kconfig"
+source "drivers/video/rockchip/transmitter/Kconfig"
 source "drivers/video/rockchip/hdmi/Kconfig"
+source "drivers/video/rockchip/tve/Kconfig"
 source "drivers/video/rockchip/rga/Kconfig"
-source "drivers/video/rockchip/lvds/Kconfig"
+source "drivers/video/rockchip/rga2/Kconfig"
+source "drivers/video/rockchip/vcodec/Kconfig"
+source "drivers/video/rockchip/iep/Kconfig"
+