drm/exynos: add device tree support for rotator
authorChanho Park <chanho61.park@samsung.com>
Tue, 13 Aug 2013 05:12:56 +0000 (14:12 +0900)
committerInki Dae <inki.dae@samsung.com>
Thu, 5 Sep 2013 04:43:42 +0000 (13:43 +0900)
commit319477f35eef46e3c1eeb155f17c5fb06ef85704
tree0255d4015c206710e8802d04a106e9dd09e62fbe
parente30655d06179aa91c0c4caa2b7a6c55f8f81a731
drm/exynos: add device tree support for rotator

The exynos4 platform is only dt-based since 3.10, we should convert driver data
and ids to dt-based parsing methods. The rotator driver has a limit table to get
size limit of input picture. Each SoCs has slightly different limit value
compared with any others.
For example, exynos4210's max_size of RGB888 is 16k x 16k. But, others have
8k x 8k. Another example the exynos5250 should have multiple of 2 pixel size
for its X/Y axis. Thus, we should keep different tables for each of them.
This patch also includes desciptions of each nodes for the rotator and specifies
a example how to bind it.

Signed-off-by: Chanho Park <chanho61.park@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Documentation/devicetree/bindings/gpu/samsung-rotator.txt [new file with mode: 0644]
drivers/gpu/drm/exynos/exynos_drm_rotator.c