1 /* linux/arch/arm/mach-exynos4/setup-fimd0.c
3 * Copyright (c) 2009-2011 Samsung Electronics Co., Ltd.
4 * http://www.samsung.com
6 * Base Exynos4 FIMD 0 configuration
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
14 #include <linux/gpio.h>
16 #include <video/samsung_fimd.h>
17 #include <plat/gpio-cfg.h>
21 void exynos4_fimd0_gpio_setup_24bpp(void)
25 s3c_gpio_cfgrange_nopull(EXYNOS4_GPF0(0), 8, S3C_GPIO_SFN(2));
26 s3c_gpio_cfgrange_nopull(EXYNOS4_GPF1(0), 8, S3C_GPIO_SFN(2));
27 s3c_gpio_cfgrange_nopull(EXYNOS4_GPF2(0), 8, S3C_GPIO_SFN(2));
28 s3c_gpio_cfgrange_nopull(EXYNOS4_GPF3(0), 4, S3C_GPIO_SFN(2));
31 * Set DISPLAY_CONTROL register for Display path selection.
33 * DISPLAY_CONTROL[1:0]
34 * ---------------------
37 * 10 | FIMD : selected
40 reg
= __raw_readl(S3C_VA_SYS
+ 0x0210);
42 __raw_writel(reg
, S3C_VA_SYS
+ 0x0210);