On 10.12.2015 15:48, Inki Dae wrote:
CCing Mr. Kukjin and Krzysztof
Hi Kukjin and Krzysztof,
Below patch includes dt binding about gsc device but it'd be nice this patch to exynos drm tree with others. So could you give me Acked-by so that I can merge it to exynos drm tree?
Thanks, Inki Dae
2015년 11월 30일 22:53에 Marek Szyprowski 이(가) 쓴 글:
From: Seung-Woo Kim sw0312.kim@samsung.com
This patch adds device tree support for exynos_drm_gsc. This patch also fixed build issue on non-Exynos platforms, thus dependency on !ARCH_MULTIPLATFORM can be now removed. The driver cannot be used simultaneously with V4L2 Mem2Mem GScaller driver thought.
Signed-off-by: Seung-Woo Kim sw0312.kim@samsung.com [updated commit message, removed the need for wb-lcd property, because all gscallers have support for lcd writeback, replaced dependency on !ARCH_MULTIPLATFORM with !VIDEO_SAMSUNG_EXYNOS_GSC] Signed-off-by: Marek Szyprowski m.szyprowski@samsung.com
.../devicetree/bindings/media/exynos5-gsc.txt | 4 +++ drivers/gpu/drm/exynos/Kconfig | 2 +- drivers/gpu/drm/exynos/exynos_drm_gsc.c | 30 +++++++++++++++++++--- drivers/gpu/drm/exynos/regs-gsc.h | 4 +-- 4 files changed, 33 insertions(+), 7 deletions(-)
diff --git a/Documentation/devicetree/bindings/media/exynos5-gsc.txt b/Documentation/devicetree/bindings/media/exynos5-gsc.txt index 0604d42f38d1..5fe9372abb37 100644 --- a/Documentation/devicetree/bindings/media/exynos5-gsc.txt +++ b/Documentation/devicetree/bindings/media/exynos5-gsc.txt @@ -7,6 +7,10 @@ Required properties:
- reg: should contain G-Scaler physical address location and length.
- interrupts: should contain G-Scaler interrupt number
+Optional properties: +- samsung,sysreg: handle to syscon used to control the system registers to
- set writeback input and destination
Example:
gsc_0: gsc@0x13e00000 {
Acked-by: Krzysztof Kozlowski k.kozlowski@samsung.com
Best regards, Krzysztof