diff options
author | Pawel Osciak <p.osciak@samsung.com> | 2010-08-10 21:02:43 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-11 11:59:12 -0400 |
commit | 04ab9ef97771ba88789672a1f0d0ddcf8dbc0924 (patch) | |
tree | 2cdd3901815caf4a1dd9f2e9d108622068e35269 /arch/arm/plat-samsung/include | |
parent | 8cfdcb2393b05cc80f89ed0110c0f90423d2fee1 (diff) |
s3c-fb: add support for DMA channel control on S5PV210
S5PV210 SoCs allow enabling/disabling DMA channels per window. For a
window to display data from framebuffer memory, its channel has to be
enabled.
Signed-off-by: Pawel Osciak <p.osciak@samsung.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Cc: InKi Dae <inki.dae@samsung.com>
Cc: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/arm/plat-samsung/include')
-rw-r--r-- | arch/arm/plat-samsung/include/plat/regs-fb.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/plat-samsung/include/plat/regs-fb.h b/arch/arm/plat-samsung/include/plat/regs-fb.h index 4359918b58b0..8f39aa5b26ea 100644 --- a/arch/arm/plat-samsung/include/plat/regs-fb.h +++ b/arch/arm/plat-samsung/include/plat/regs-fb.h | |||
@@ -223,6 +223,10 @@ | |||
223 | /* S5PV210 */ | 223 | /* S5PV210 */ |
224 | #define SHADOWCON (0x34) | 224 | #define SHADOWCON (0x34) |
225 | #define SHADOWCON_WINx_PROTECT(_win) (1 << (10 + (_win))) | 225 | #define SHADOWCON_WINx_PROTECT(_win) (1 << (10 + (_win))) |
226 | /* DMA channels (all windows) */ | ||
227 | #define SHADOWCON_CHx_ENABLE(_win) (1 << (_win)) | ||
228 | /* Local input channels (windows 0-2) */ | ||
229 | #define SHADOWCON_CHx_LOCAL_ENABLE(_win) (1 << (5 + (_win))) | ||
226 | 230 | ||
227 | #define VIDOSDxA_TOPLEFT_X_MASK (0x7ff << 11) | 231 | #define VIDOSDxA_TOPLEFT_X_MASK (0x7ff << 11) |
228 | #define VIDOSDxA_TOPLEFT_X_SHIFT (11) | 232 | #define VIDOSDxA_TOPLEFT_X_SHIFT (11) |