mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-13 10:38:44 -04:00
s3c-fb: udpate to support s3c2416/s3c2443 style hardware
Update the variant and window variant structures with the necessary changes to support the older style of hardware where these are not in the same place. Add the support for the s3c2443/s3c2416 hardware by using the platform-device s3c2443 to cover both, and add the initialisation data for these. Also change to including just the v4 header files for the moment until the last of the merging of these is sorted out. Signed-off-by: Ben Dooks <ben-linux@fluff.org> Signed-off-by: Pawel Osciak <p.osciak@samsung.com> Cc: InKi Dae <inki.dae@samsung.com> Cc: KyungMin Park <kyungmin.park.samsung.com> Cc: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
50a5503a92
commit
c4bb6ffa77
@@ -40,16 +40,10 @@
|
||||
|
||||
/* OSD1 and OSD4 do not have register D */
|
||||
|
||||
#define VIDOSD_A(_win) (0x40 + ((_win) * 16))
|
||||
#define VIDOSD_B(_win) (0x44 + ((_win) * 16))
|
||||
#define VIDOSD_C(_win) (0x48 + ((_win) * 16))
|
||||
#define VIDOSD_D(_win) (0x4C + ((_win) * 16))
|
||||
|
||||
#define VIDOSD_BASE (0x40)
|
||||
|
||||
#define VIDINTCON0 (0x130)
|
||||
|
||||
#define WxKEYCONy(_win, _con) ((0x140 + ((_win) * 8)) + ((_con) * 4))
|
||||
|
||||
/* WINCONx */
|
||||
|
||||
#define WINCONx_CSCWIDTH_MASK (0x3 << 26)
|
||||
|
||||
@@ -322,6 +322,10 @@
|
||||
#define VIDINTCON1_INT_FIFO (1 << 0)
|
||||
|
||||
/* Window colour-key control registers */
|
||||
#define WKEYCON (0x140) /* 6410,V210 */
|
||||
|
||||
#define WKEYCON0 (0x00)
|
||||
#define WKEYCON1 (0x04)
|
||||
|
||||
#define WxKEYCON0_KEYBL_EN (1 << 26)
|
||||
#define WxKEYCON0_KEYEN_F (1 << 25)
|
||||
|
||||
Reference in New Issue
Block a user