All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH 1/6] video: s3c-fb: Add S5P64X0 specific s3c_fb_driverdata
@ 2011-07-15  3:16 JinGoo Han
  0 siblings, 0 replies; 3+ messages in thread
From: JinGoo Han @ 2011-07-15  3:16 UTC (permalink / raw)
  To: AJAY KUMAR RAMAKRISHNA SHYMALAMMA, Kukjin Kim,
	linux-samsung-soc@vger.kernel.org, linux-arm

Acked-by: Jingoo Han <jg1.han@samsung.com>

> -----Original Message-----
> From: Ajay Kumar [mailto:ajaykumar.rs@samsung.com]
> Sent: Thursday, July 14, 2011 10:27 PM
> To: kgene.kim@samsung.com; linux-samsung-soc@vger.kernel.org; linux-arm-
> kernel@lists.infradead.org; lethal@linux-sh.org; jg1.han@samsung.com
> Subject: [PATCH 1/6] video: s3c-fb: Add S5P64X0 specific s3c_fb_driverdata
> 
> This patch:
> Adds s3c_fb_driverdata for S5P64X0, which supports 3 windows.
> Also, register "s5p64x0-fb" type driver_data.
> 
> Note: Existing s3c_fb_driverdata definitions in s3c-fb.c
>       supports 5 or 2 windows.
> 
> Signed-off-by: Ajay Kumar <ajaykumar.rs@samsung.com>
> ---
>  drivers/video/s3c-fb.c |   27 +++++++++++++++++++++++++++
>  1 files changed, 27 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/video/s3c-fb.c b/drivers/video/s3c-fb.c
> index 4aecf21..0fda252 100644
> --- a/drivers/video/s3c-fb.c
> +++ b/drivers/video/s3c-fb.c
> @@ -1859,6 +1859,30 @@ static struct s3c_fb_driverdata s3c_fb_data_s3c2443
> = {
>  	},
>  };
> 
> +static struct s3c_fb_driverdata s3c_fb_data_s5p64x0 = {
> +	.variant = {
> +		.nr_windows	= 3,
> +		.vidtcon	= VIDTCON0,
> +		.wincon		= WINCON(0),
> +		.winmap		= WINxMAP(0),
> +		.keycon		= WKEYCON,
> +		.osd		= VIDOSD_BASE,
> +		.osd_stride	= 16,
> +		.buf_start	= VIDW_BUF_START(0),
> +		.buf_size	= VIDW_BUF_SIZE(0),
> +		.buf_end	= VIDW_BUF_END(0),
> +
> +		.palette = {
> +			[0] = 0x2400,
> +			[1] = 0x2800,
> +			[2] = 0x2c00,
> +		},
> +	},
> +	.win[0] = &s3c_fb_data_s5p_wins[0],
> +	.win[1] = &s3c_fb_data_s5p_wins[1],
> +	.win[2] = &s3c_fb_data_s5p_wins[2],
> +};
> +
>  static struct platform_device_id s3c_fb_driver_ids[] = {
>  	{
>  		.name		= "s3c-fb",
> @@ -1872,6 +1896,9 @@ static struct platform_device_id s3c_fb_driver_ids[]
> = {
>  	}, {
>  		.name		= "s3c2443-fb",
>  		.driver_data	= (unsigned long)&s3c_fb_data_s3c2443,
> +	}, {
> +		.name		= "s5p64x0-fb",
> +		.driver_data	= (unsigned long)&s3c_fb_data_s5p64x0,
>  	},
>  	{},
>  };
> --
> 1.7.1


^ permalink raw reply	[flat|nested] 3+ messages in thread
* [PATCH 0/6] ARM: S5P64X0: Add Framebuffer support
@ 2011-07-14 13:27 Ajay Kumar
  2011-07-14 13:27   ` Ajay Kumar
  0 siblings, 1 reply; 3+ messages in thread
From: Ajay Kumar @ 2011-07-14 13:27 UTC (permalink / raw)
  To: kgene.kim, linux-samsung-soc, linux-arm-kernel, lethal, jg1.han

	The patches are created against "for-next" branch of Kukjin Kim's tree at:
	git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git

	Patch [1/6]
	-- add "s5p64x0-fb" type driver_data(s3c_fb_driverdata).
	-- Display controller in S5P64X0 supports 3 windows.

	Patch [2/6]
	-- Resource definitions(_MEM, _IRQ).

	Patch [3/6]
	-- Set s3c_device_fb name as "s5p64x0-fb"
	   for S5P6440 and S5P6450.

	Patch [4/6]
	-- GPIO settings for LCD in S5P6440 and S5P6450.
	-- Select LCD interface type (RGB/i80)

	Patch [5/6]
	-- Add support for LCD-LTE480 platform device in SMDK6440.
	-- Platform data for FB and a basic window definition.
	-- Enables FB support and platform-lcd support.
	-- Add support for window 0 with 24 BPP.

	Patch [6/6]
	-- Add support for LCD-LTE480 platform device in SMDK6450.
	-- Platform data for FB and a basic window definition.
	-- Enables FB support and platform-lcd support.
	-- Add support for window 0 with 24 BPP.

 o To Paul Mundt, Jingoo Han
   [Patch 1/6] video: s3c-fb: Add S5P64X0 specific s3c_fb_driverdata

 o To Kukjin Kim
   [Patch 2/6] ARM: S5P64X0: Add register base and IRQ for Framebuffer
   [Patch 3/6] ARM: S5P64X0: Set s3c_device_fb name
   [Patch 4/6] ARM: S5P64X0: Add GPIO and SPCON settings for LCD
   [Patch 5/6] ARM: S5P6440: Add LCD-LTE480 and enable Framebuffer support
   [Patch 6/6] ARM: S5P6450: Add LCD-LTE480 and enable Framebuffer support


 arch/arm/mach-s5p64x0/Kconfig                  |   10 ++++
 arch/arm/mach-s5p64x0/Makefile                 |    1 +
 arch/arm/mach-s5p64x0/cpu.c                    |    3 +
 arch/arm/mach-s5p64x0/include/mach/irqs.h      |    4 ++
 arch/arm/mach-s5p64x0/include/mach/map.h       |    3 +
 arch/arm/mach-s5p64x0/include/mach/regs-fb.h   |   19 +++++++
 arch/arm/mach-s5p64x0/include/mach/regs-gpio.h |    4 ++
 arch/arm/mach-s5p64x0/mach-smdk6440.c          |   63 +++++++++++++++++++++++
 arch/arm/mach-s5p64x0/mach-smdk6450.c          |   63 +++++++++++++++++++++++
 arch/arm/mach-s5p64x0/setup-fb.c               |   48 ++++++++++++++++++
 arch/arm/plat-samsung/include/plat/fb.h        |   14 +++++
 drivers/video/s3c-fb.c                         |   64 ++++++++++++++++++++++++
 12 files changed, 296 insertions(+), 0 deletions(-)
 create mode 100644 arch/arm/mach-s5p64x0/include/mach/regs-fb.h
 create mode 100644 arch/arm/mach-s5p64x0/setup-fb.c

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-07-15  3:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-15  3:16 [PATCH 1/6] video: s3c-fb: Add S5P64X0 specific s3c_fb_driverdata JinGoo Han
  -- strict thread matches above, loose matches on Subject: below --
2011-07-14 13:27 [PATCH 0/6] ARM: S5P64X0: Add Framebuffer support Ajay Kumar
2011-07-14 13:27 ` [PATCH 1/6] video: s3c-fb: Add S5P64X0 specific s3c_fb_driverdata Ajay Kumar
2011-07-14 13:27   ` Ajay Kumar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.