[PATCH 2/3] ARM: Exynos: Add DRM core device support for Universal C210 board

Marek Szyprowski m.szyprowski at samsung.com
Tue Mar 13 10:14:20 EDT 2012


Hello,

On Tuesday, March 13, 2012 5:39 AM Kyungmin Park wrote:

> On 3/13/12, Sachin Kamat <sachin.kamat at linaro.org> wrote:
> > Hi Marek,
> > Thanks for the patch.
> >
> > On 09/03/2012, Marek Szyprowski <m.szyprowski at samsung.com> wrote:
> >> Add core DRM device and alternative platform device data for FIMD DRM
> >> subdriver. Based on the initial patch by Joonyoung Shim
> >> <jy0922.shim at samsung.com>
> >>
> >> Signed-off-by: Marek Szyprowski <m.szyprowski at samsung.com>
> >> Signed-off-by: Kyungmin Park <kyungmin.park at samsung.com>
> >> ---
> >>  arch/arm/mach-exynos/Kconfig               |    1 +
> >>  arch/arm/mach-exynos/mach-universal_c210.c |   31
> >> ++++++++++++++++++++++++++++
> >>  2 files changed, 32 insertions(+), 0 deletions(-)
> >>
> >> diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig
> >> index 5a26944..c73eeba 100644
> >> --- a/arch/arm/mach-exynos/Kconfig
> >> +++ b/arch/arm/mach-exynos/Kconfig
> >> @@ -257,6 +257,7 @@ config MACH_UNIVERSAL_C210
> >>  	select S5P_DEV_ONENAND
> >>  	select S5P_DEV_TV
> >>  	select EXYNOS4_DEV_DMA
> >> +	select EXYNOS_DEV_DRM
> >>  	select EXYNOS4_SETUP_FIMD0
> >>  	select EXYNOS4_SETUP_I2C1
> >>  	select EXYNOS4_SETUP_I2C3
> >> diff --git a/arch/arm/mach-exynos/mach-universal_c210.c
> >> b/arch/arm/mach-exynos/mach-universal_c210.c
> >> index 322b272..30a3ff3 100644
> >> --- a/arch/arm/mach-exynos/mach-universal_c210.c
> >> +++ b/arch/arm/mach-exynos/mach-universal_c210.c
> >> @@ -23,6 +23,7 @@
> >>  #include <linux/i2c-gpio.h>
> >>  #include <linux/i2c/mcs.h>
> >>  #include <linux/i2c/atmel_mxt_ts.h>
> >> +#include <drm/exynos_drm.h>
> >>
> >>  #include <asm/mach/arch.h>
> >>  #include <asm/hardware/gic.h>
> >> @@ -811,6 +812,27 @@ static struct i2c_board_info i2c1_devs[] __initdata =
> >> {
> >>  	/* Gyro, To be updated */
> >>  };
> >>
> >> +#ifdef CONFIG_DRM_EXYNOS
> >> +static struct exynos_drm_fimd_pdata drm_fimd_pdata = {
> >> +	.timing	= {
> >> +		.left_margin	= 16,
> >> +		.right_margin	= 16,
> >> +		.upper_margin	= 2,
> >> +		.lower_margin	= 28,
> >> +		.hsync_len	= 2,
> >> +		.vsync_len	= 1,
> >> +		.xres		= 480,
> >> +		.yres		= 800,
> >> +		.refresh	= 55,
> >> +	},
> >
> > Shouldn't this be:
> Right, recently we added the panel information. It should be drm-next soon.

I'm sorry for the confusion, I've sent patches which were based on 3.3-rc5 without 
drm-next/fixes. I've just sent v2 patchset which reflects latest changes in drm-next/fixes
branches.

Best regards
-- 
Marek Szyprowski
Samsung Poland R&D Center






More information about the linux-arm-kernel mailing list