From: InKi Dae on
Hello all,

this patch is for s5pv210(or s5pc110) support and adds resizing and
default window features and also
fixes distortendness situation on pixel format more then 24bpp.

patch contents are as following.
1. resizing feature.
- when application tries to change framebuffer attributes(pixel
format, resolution and so no),
fb_set_var() is called by linux framebuffer(fbmem.c) at that
time, s3c-fb sets attributes
for setting porch and pixelclock to registers so setting would be
failed because wrong clock was set.
this patch makes porch and pixelclock to be set only at
initialization step.

2. default window.
- s5pv210 has five window layers (window0 ~ 4), among them,
window0 ~ 2 could be used
for local path with fimc(capture device) and fimd writeback
feature so this patch makes
default window layer for UI to be set at machine code.

3. fixed distortedness situation on pixel format more then 24bpp.
- it has been working fine at 16bpp but in case of pixel format
more then 24bpp it would occur
distortedness situation on that mode. so this patch set the word
swap control bit of WINCONx to 1
as default value. but it should be set to 0 in case that each
ENLOCAL bit of WINCON0 ~ 2 registers
is enabled. this issue would be solved with local path feature soon.

4. s5pv210 support.
- in case of fimd(display controller) of s5pv210, CH_ENABLE bit
should be enabled to enable window layer.

and also I would add MIPI-DSI and mDNIe(Image enhancement device)
features(including device driver) in the near future.

Please review this patch.

Signed-off-by: InKi Dae <inki.dae(a)samsung.com>
Reviewed-by: KyungMin Park <kyungmin.park.samsung.com>

Best Regards,
InKi Dae