rk lcdc:modify Kconfig
authoryxj <yxj@V470.(none)>
Sat, 19 Jan 2013 09:44:05 +0000 (17:44 +0800)
committeryxj <yxj@V470.(none)>
Sat, 19 Jan 2013 09:53:54 +0000 (17:53 +0800)
drivers/video/rockchip/Kconfig
drivers/video/rockchip/Makefile
drivers/video/rockchip/lcdc/Kconfig [new file with mode: 0644]
drivers/video/rockchip/lcdc/Makefile [new file with mode: 0644]

index cc05d0aded2fa07ecab42ee47368245320f0c24a..e8be339e241e36b211666b0113a2c854ef5a9253 100755 (executable)
@@ -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"
index 93ed3edc7ab9ae86530abfd3bdf9ba0a1eaa4966..f20c306deedf095fb4f34963093ed79a13276e89 100755 (executable)
@@ -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 (file)
index 0000000..7e20dc4
--- /dev/null
@@ -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 (file)
index 0000000..e0ec9da
--- /dev/null
@@ -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