diff options
Diffstat (limited to 'drivers/video/s3c-fb.c')
-rw-r--r-- | drivers/video/s3c-fb.c | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/drivers/video/s3c-fb.c b/drivers/video/s3c-fb.c index 170029e7cba8..0753b1cfcb8b 100644 --- a/drivers/video/s3c-fb.c +++ b/drivers/video/s3c-fb.c | |||
@@ -1936,6 +1936,30 @@ static struct s3c_fb_driverdata s3c_fb_data_s3c2443 = { | |||
1936 | }, | 1936 | }, |
1937 | }; | 1937 | }; |
1938 | 1938 | ||
1939 | static struct s3c_fb_driverdata s3c_fb_data_s5p64x0 = { | ||
1940 | .variant = { | ||
1941 | .nr_windows = 3, | ||
1942 | .vidtcon = VIDTCON0, | ||
1943 | .wincon = WINCON(0), | ||
1944 | .winmap = WINxMAP(0), | ||
1945 | .keycon = WKEYCON, | ||
1946 | .osd = VIDOSD_BASE, | ||
1947 | .osd_stride = 16, | ||
1948 | .buf_start = VIDW_BUF_START(0), | ||
1949 | .buf_size = VIDW_BUF_SIZE(0), | ||
1950 | .buf_end = VIDW_BUF_END(0), | ||
1951 | |||
1952 | .palette = { | ||
1953 | [0] = 0x2400, | ||
1954 | [1] = 0x2800, | ||
1955 | [2] = 0x2c00, | ||
1956 | }, | ||
1957 | }, | ||
1958 | .win[0] = &s3c_fb_data_s5p_wins[0], | ||
1959 | .win[1] = &s3c_fb_data_s5p_wins[1], | ||
1960 | .win[2] = &s3c_fb_data_s5p_wins[2], | ||
1961 | }; | ||
1962 | |||
1939 | static struct platform_device_id s3c_fb_driver_ids[] = { | 1963 | static struct platform_device_id s3c_fb_driver_ids[] = { |
1940 | { | 1964 | { |
1941 | .name = "s3c-fb", | 1965 | .name = "s3c-fb", |
@@ -1952,6 +1976,9 @@ static struct platform_device_id s3c_fb_driver_ids[] = { | |||
1952 | }, { | 1976 | }, { |
1953 | .name = "s3c2443-fb", | 1977 | .name = "s3c2443-fb", |
1954 | .driver_data = (unsigned long)&s3c_fb_data_s3c2443, | 1978 | .driver_data = (unsigned long)&s3c_fb_data_s3c2443, |
1979 | }, { | ||
1980 | .name = "s5p64x0-fb", | ||
1981 | .driver_data = (unsigned long)&s3c_fb_data_s5p64x0, | ||
1955 | }, | 1982 | }, |
1956 | {}, | 1983 | {}, |
1957 | }; | 1984 | }; |