diff options
author | Jingoo Han <jg1.han@samsung.com> | 2011-08-21 23:16:04 -0400 |
---|---|---|
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2011-08-24 06:14:23 -0400 |
commit | b5480ed72e4f299c53d1857faaf4f492650ccc43 (patch) | |
tree | 868a7087f36adc0be67133fbe85b78d0a17ada6c /drivers/video/Kconfig | |
parent | 4aa7faffe44bda5db54c214f5b3f789ec805cb9b (diff) |
video: s3c-fb: Add support EXYNOS4 FIMD
This patch adds struct s3c_fb_driverdata s3c_fb_data_exynos4 for EXYNOS4
and adds lcd clock gating support.
FIMD driver needs two clocks for FIMD IP and LCD pixel clock. Previously,
both clocks are provided by using bus clock such as HCLK. However, EXYNOS4
can not select HCLK for LCD pixel clock because the EXYNOS4 FIMD IP does not
have the CLKSEL bit of VIDCON0. So, FIMD driver should provide the lcd clock
using SCLK_FIMD as LCD pixel clock for EXYNOS4.
The driver selects enabling lcd clock according to has_clksel which means
the CLKSEL bit of VIDCON0. If there is has_clksel, the driver will not
enable the lcd clock using SCLK_FIMD because bus clock using HCLK is used
a LCD pixel clock.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'drivers/video/Kconfig')
-rw-r--r-- | drivers/video/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig index 549b960667c8..963b8b767b83 100644 --- a/drivers/video/Kconfig +++ b/drivers/video/Kconfig | |||
@@ -2027,7 +2027,7 @@ config FB_TMIO_ACCELL | |||
2027 | 2027 | ||
2028 | config FB_S3C | 2028 | config FB_S3C |
2029 | tristate "Samsung S3C framebuffer support" | 2029 | tristate "Samsung S3C framebuffer support" |
2030 | depends on FB && S3C_DEV_FB | 2030 | depends on FB && (S3C_DEV_FB || S5P_DEV_FIMD0) |
2031 | select FB_CFB_FILLRECT | 2031 | select FB_CFB_FILLRECT |
2032 | select FB_CFB_COPYAREA | 2032 | select FB_CFB_COPYAREA |
2033 | select FB_CFB_IMAGEBLIT | 2033 | select FB_CFB_IMAGEBLIT |