select y if android support three buffer,like Jelly Bean
-config LCDC_RK2928
- tristate "rk2928 lcdc support"
- depends on FB_ROCKCHIP && ARCH_RK2928
- help
- Driver for rk2928 lcdc .
-
-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
- default y
- help
- Support lcdc0 if you say y here
-
-config LCDC1_RK3066B
- bool "lcdc1 support"
- depends on LCDC_RK3066B
- default n
- help
- Support lcdc1 if you say y here
-
-config LCDC_RK3188
- bool "rk3188 lcdc support"
- depends on FB_ROCKCHIP && ARCH_RK3188
- help
- Driver for rk3188 lcdc.There are two lcd controllers on rk3188
-config LCDC0_RK3188
- bool "lcdc0 support"
- depends on LCDC_RK3188
- help
- Support rk3188 lcdc0 if you say y here
-
-config LCDC1_RK3188
- bool "lcdc1 support"
- depends on LCDC_RK3188
- help
- Support rk3188 lcdc1 if you say y here
-
+source "drivers/video/rockchip/lcdc/Kconfig"
source "drivers/video/rockchip/hdmi/Kconfig"
source "drivers/video/rockchip/rga/Kconfig"
source "drivers/video/rockchip/lvds/Kconfig"
-obj-$(CONFIG_FB_ROCKCHIP) += rk_fb.o rkfb_sysfs.o
-obj-$(CONFIG_LCDC_RK30) += lcdc/rk30_lcdc.o
-obj-$(CONFIG_LCDC_RK2928) += lcdc/rk2928_lcdc.o
-obj-$(CONFIG_LCDC_RK3066B) += lcdc/rk3066b_lcdc.o
-obj-$(CONFIG_LCDC_RK3188) += lcdc/rk3188_lcdc.o
+obj-$(CONFIG_FB_ROCKCHIP) += rk_fb.o rkfb_sysfs.o lcdc/
obj-$(CONFIG_RGA_RK30) += rga/
obj-$(CONFIG_RK_HDMI) += hdmi/
obj-$(CONFIG_RK_LVDS) += lvds/
--- /dev/null
+config LCDC_RK2928
+ tristate "rk2928 lcdc support"
+ depends on FB_ROCKCHIP && ARCH_RK2928
+ help
+ Driver for rk2928 lcdc .
+
+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
+ default y
+ help
+ Support lcdc0 if you say y here
+
+config LCDC1_RK3066B
+ bool "lcdc1 support"
+ depends on LCDC_RK3066B
+ default n
+ help
+ Support lcdc1 if you say y here
+
+config LCDC_RK3188
+ bool "rk3188 lcdc support"
+ depends on FB_ROCKCHIP && ARCH_RK3188
+ help
+ Driver for rk3188 lcdc.There are two lcd controllers on rk3188
+config LCDC0_RK3188
+ bool "lcdc0 support"
+ depends on LCDC_RK3188
+ help
+ Support rk3188 lcdc0 if you say y here
+
+config LCDC1_RK3188
+ bool "lcdc1 support"
+ depends on LCDC_RK3188
+ help
+ Support rk3188 lcdc1 if you say y here
--- /dev/null
+obj-$(CONFIG_LCDC_RK30) += rk30_lcdc.o
+obj-$(CONFIG_LCDC_RK2928) += rk2928_lcdc.o
+obj-$(CONFIG_LCDC_RK3066B) += rk3066b_lcdc.o
+obj-$(CONFIG_LCDC_RK3188) += rk3188_lcdc.o