diff options
-rw-r--r-- | Documentation/devicetree/bindings/video/samsung-fimd.txt | 1 | ||||
-rw-r--r-- | drivers/video/fbdev/Kconfig | 2 | ||||
-rw-r--r-- | drivers/video/fbdev/s3c-fb.c | 35 | ||||
-rw-r--r-- | include/video/samsung_fimd.h | 2 |
4 files changed, 2 insertions, 38 deletions
diff --git a/Documentation/devicetree/bindings/video/samsung-fimd.txt b/Documentation/devicetree/bindings/video/samsung-fimd.txt index 741f4a658abe..77942607f77f 100644 --- a/Documentation/devicetree/bindings/video/samsung-fimd.txt +++ b/Documentation/devicetree/bindings/video/samsung-fimd.txt | |||
@@ -8,7 +8,6 @@ Required properties: | |||
8 | - compatible: value should be one of the following | 8 | - compatible: value should be one of the following |
9 | "samsung,s3c2443-fimd"; /* for S3C24XX SoCs */ | 9 | "samsung,s3c2443-fimd"; /* for S3C24XX SoCs */ |
10 | "samsung,s3c6400-fimd"; /* for S3C64XX SoCs */ | 10 | "samsung,s3c6400-fimd"; /* for S3C64XX SoCs */ |
11 | "samsung,s5pc100-fimd"; /* for S5PC100 SoC */ | ||
12 | "samsung,s5pv210-fimd"; /* for S5PV210 SoC */ | 11 | "samsung,s5pv210-fimd"; /* for S5PV210 SoC */ |
13 | "samsung,exynos4210-fimd"; /* for Exynos4 SoCs */ | 12 | "samsung,exynos4210-fimd"; /* for Exynos4 SoCs */ |
14 | "samsung,exynos5250-fimd"; /* for Exynos5 SoCs */ | 13 | "samsung,exynos5250-fimd"; /* for Exynos5 SoCs */ |
diff --git a/drivers/video/fbdev/Kconfig b/drivers/video/fbdev/Kconfig index 11506e575ad0..79708b2fbfb2 100644 --- a/drivers/video/fbdev/Kconfig +++ b/drivers/video/fbdev/Kconfig | |||
@@ -2019,7 +2019,7 @@ config FB_TMIO_ACCELL | |||
2019 | config FB_S3C | 2019 | config FB_S3C |
2020 | tristate "Samsung S3C framebuffer support" | 2020 | tristate "Samsung S3C framebuffer support" |
2021 | depends on FB && (CPU_S3C2416 || ARCH_S3C64XX || \ | 2021 | depends on FB && (CPU_S3C2416 || ARCH_S3C64XX || \ |
2022 | ARCH_S5PC100 || ARCH_S5PV210 || ARCH_EXYNOS) | 2022 | ARCH_S5PV210 || ARCH_EXYNOS) |
2023 | select FB_CFB_FILLRECT | 2023 | select FB_CFB_FILLRECT |
2024 | select FB_CFB_COPYAREA | 2024 | select FB_CFB_COPYAREA |
2025 | select FB_CFB_IMAGEBLIT | 2025 | select FB_CFB_IMAGEBLIT |
diff --git a/drivers/video/fbdev/s3c-fb.c b/drivers/video/fbdev/s3c-fb.c index a0cde41a47d5..b33abb0a433d 100644 --- a/drivers/video/fbdev/s3c-fb.c +++ b/drivers/video/fbdev/s3c-fb.c | |||
@@ -1805,38 +1805,6 @@ static struct s3c_fb_driverdata s3c_fb_data_64xx = { | |||
1805 | .win[4] = &s3c_fb_data_64xx_wins[4], | 1805 | .win[4] = &s3c_fb_data_64xx_wins[4], |
1806 | }; | 1806 | }; |
1807 | 1807 | ||
1808 | static struct s3c_fb_driverdata s3c_fb_data_s5pc100 = { | ||
1809 | .variant = { | ||
1810 | .nr_windows = 5, | ||
1811 | .vidtcon = VIDTCON0, | ||
1812 | .wincon = WINCON(0), | ||
1813 | .winmap = WINxMAP(0), | ||
1814 | .keycon = WKEYCON, | ||
1815 | .osd = VIDOSD_BASE, | ||
1816 | .osd_stride = 16, | ||
1817 | .buf_start = VIDW_BUF_START(0), | ||
1818 | .buf_size = VIDW_BUF_SIZE(0), | ||
1819 | .buf_end = VIDW_BUF_END(0), | ||
1820 | |||
1821 | .palette = { | ||
1822 | [0] = 0x2400, | ||
1823 | [1] = 0x2800, | ||
1824 | [2] = 0x2c00, | ||
1825 | [3] = 0x3000, | ||
1826 | [4] = 0x3400, | ||
1827 | }, | ||
1828 | |||
1829 | .has_prtcon = 1, | ||
1830 | .has_blendcon = 1, | ||
1831 | .has_clksel = 1, | ||
1832 | }, | ||
1833 | .win[0] = &s3c_fb_data_s5p_wins[0], | ||
1834 | .win[1] = &s3c_fb_data_s5p_wins[1], | ||
1835 | .win[2] = &s3c_fb_data_s5p_wins[2], | ||
1836 | .win[3] = &s3c_fb_data_s5p_wins[3], | ||
1837 | .win[4] = &s3c_fb_data_s5p_wins[4], | ||
1838 | }; | ||
1839 | |||
1840 | static struct s3c_fb_driverdata s3c_fb_data_s5pv210 = { | 1808 | static struct s3c_fb_driverdata s3c_fb_data_s5pv210 = { |
1841 | .variant = { | 1809 | .variant = { |
1842 | .nr_windows = 5, | 1810 | .nr_windows = 5, |
@@ -1975,9 +1943,6 @@ static struct platform_device_id s3c_fb_driver_ids[] = { | |||
1975 | .name = "s3c-fb", | 1943 | .name = "s3c-fb", |
1976 | .driver_data = (unsigned long)&s3c_fb_data_64xx, | 1944 | .driver_data = (unsigned long)&s3c_fb_data_64xx, |
1977 | }, { | 1945 | }, { |
1978 | .name = "s5pc100-fb", | ||
1979 | .driver_data = (unsigned long)&s3c_fb_data_s5pc100, | ||
1980 | }, { | ||
1981 | .name = "s5pv210-fb", | 1946 | .name = "s5pv210-fb", |
1982 | .driver_data = (unsigned long)&s3c_fb_data_s5pv210, | 1947 | .driver_data = (unsigned long)&s3c_fb_data_s5pv210, |
1983 | }, { | 1948 | }, { |
diff --git a/include/video/samsung_fimd.h b/include/video/samsung_fimd.h index b0393209679b..8af0c6155eed 100644 --- a/include/video/samsung_fimd.h +++ b/include/video/samsung_fimd.h | |||
@@ -107,7 +107,7 @@ | |||
107 | #define VIDCON2_ORGYCbCr (1 << 8) | 107 | #define VIDCON2_ORGYCbCr (1 << 8) |
108 | #define VIDCON2_YUVORDCrCb (1 << 7) | 108 | #define VIDCON2_YUVORDCrCb (1 << 7) |
109 | 109 | ||
110 | /* PRTCON (S3C6410, S5PC100) | 110 | /* PRTCON (S3C6410) |
111 | * Might not be present in the S3C6410 documentation, | 111 | * Might not be present in the S3C6410 documentation, |
112 | * but tests prove it's there almost for sure; shouldn't hurt in any case. | 112 | * but tests prove it's there almost for sure; shouldn't hurt in any case. |
113 | */ | 113 | */ |