From 65eddedab816de48307965a579b572c3bd3cd9e2 Mon Sep 17 00:00:00 2001 From: yxj Date: Sat, 19 Jan 2013 17:44:05 +0800 Subject: [PATCH] rk lcdc:modify Kconfig --- drivers/video/rockchip/Kconfig | 64 +--------------------------- drivers/video/rockchip/Makefile | 6 +-- drivers/video/rockchip/lcdc/Kconfig | 62 +++++++++++++++++++++++++++ drivers/video/rockchip/lcdc/Makefile | 4 ++ 4 files changed, 68 insertions(+), 68 deletions(-) create mode 100644 drivers/video/rockchip/lcdc/Kconfig create mode 100644 drivers/video/rockchip/lcdc/Makefile diff --git a/drivers/video/rockchip/Kconfig b/drivers/video/rockchip/Kconfig index cc05d0aded2f..e8be339e241e 100755 --- a/drivers/video/rockchip/Kconfig +++ b/drivers/video/rockchip/Kconfig @@ -57,69 +57,7 @@ config THREE_FB_BUFFER 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" diff --git a/drivers/video/rockchip/Makefile b/drivers/video/rockchip/Makefile index 93ed3edc7ab9..f20c306deedf 100755 --- a/drivers/video/rockchip/Makefile +++ b/drivers/video/rockchip/Makefile @@ -1,8 +1,4 @@ -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/ diff --git a/drivers/video/rockchip/lcdc/Kconfig b/drivers/video/rockchip/lcdc/Kconfig new file mode 100644 index 000000000000..7e20dc43c02c --- /dev/null +++ b/drivers/video/rockchip/lcdc/Kconfig @@ -0,0 +1,62 @@ +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 diff --git a/drivers/video/rockchip/lcdc/Makefile b/drivers/video/rockchip/lcdc/Makefile new file mode 100644 index 000000000000..e0ec9da18c4f --- /dev/null +++ b/drivers/video/rockchip/lcdc/Makefile @@ -0,0 +1,4 @@ +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 -- 2.34.1