All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marek Szyprowski <m.szyprowski@samsung.com>
To: 'Ajay Kumar' <ajaykumar.rs@samsung.com>,
	kgene.kim@samsung.com, linux-samsung-soc@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org, lethal@linux-sh.org,
	jg1.han@samsung.com, 'Kyu
Subject: RE: [PATCH 2/6] ARM: S5P64X0: Add register base and IRQ for Framebuffer
Date: Thu, 14 Jul 2011 13:17:51 +0200	[thread overview]
Message-ID: <000001cc4217$abe319d0$03a94d70$%szyprowski@samsung.com> (raw)
In-Reply-To: <1310650036-28836-3-git-send-email-ajaykumar.rs@samsung.com>

Hello,

On Thursday, July 14, 2011 3:27 PM Ajay Kumar wrote:

> This patch adds:
> o Framebuffer related register mappings and bit fields.
> o IRQ number being used.
> 
> Signed-off-by: Ajay Kumar <ajaykumar.rs@samsung.com>
> ---
>  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 +++++++++++++++++++
>  3 files changed, 26 insertions(+), 0 deletions(-)
>  create mode 100644 arch/arm/mach-s5p64x0/include/mach/regs-fb.h
> 
> diff --git a/arch/arm/mach-s5p64x0/include/mach/irqs.h b/arch/arm/mach-
> s5p64x0/include/mach/irqs.h
> index 513abff..09995b8 100644
> --- a/arch/arm/mach-s5p64x0/include/mach/irqs.h
> +++ b/arch/arm/mach-s5p64x0/include/mach/irqs.h
> @@ -85,6 +85,10 @@
>  #define IRQ_S3CUART_RX4		IRQ_S5P_UART_RX4
>  #define IRQ_S3CUART_RX5		IRQ_S5P_UART_RX5
> 
> +#define IRQ_LCD_FIFO		IRQ_DISPCON0
> +#define IRQ_LCD_VSYNC		IRQ_DISPCON1
> +#define IRQ_LCD_SYSTEM		IRQ_DISPCON2
> +
>  /* S5P6450 EINT feature will be added */
> 
>  /*
> diff --git a/arch/arm/mach-s5p64x0/include/mach/map.h b/arch/arm/mach-
> s5p64x0/include/mach/map.h
> index 95c9125..c5ef50c 100644
> --- a/arch/arm/mach-s5p64x0/include/mach/map.h
> +++ b/arch/arm/mach-s5p64x0/include/mach/map.h
> @@ -47,6 +47,8 @@
> 
>  #define S5P64X0_PA_HSMMC(x)	(0xED800000 + ((x) * 0x100000))
> 
> +#define S5P64X0_PA_FB		0xEE000000
> +
>  #define S5P64X0_PA_I2S		0xF2000000
>  #define S5P6450_PA_I2S1		0xF2800000
>  #define S5P6450_PA_I2S2		0xF2900000
> @@ -64,6 +66,7 @@
>  #define S3C_PA_IIC1		S5P6440_PA_IIC1
>  #define S3C_PA_RTC		S5P64X0_PA_RTC
>  #define S3C_PA_WDT		S5P64X0_PA_WDT
> +#define S3C_PA_FB		S5P64X0_PA_FB
> 
>  #define S5P_PA_CHIPID		S5P64X0_PA_CHIPID
>  #define S5P_PA_SROMC		S5P64X0_PA_SROMC
> diff --git a/arch/arm/mach-s5p64x0/include/mach/regs-fb.h b/arch/arm/mach-
> s5p64x0/include/mach/regs-fb.h
> new file mode 100644
> index 0000000..cbb8d8c
> --- /dev/null
> +++ b/arch/arm/mach-s5p64x0/include/mach/regs-fb.h
> @@ -0,0 +1,19 @@
> +/*
> + * linux/arch/arm/mach-s5p64x0/include/mach/regs-fb.h
> + *
> + * Copyright (c) 2011 Samsung Electronics Co., Ltd.
> + *		http://www.samsung.com/
> + *
> + * Framebuffer register definitions for Samsung S5P64X0.
> + *
> + * This program is free software; you can redistribute it and/or modify
> + * it under the terms of the GNU General Public License version 2 as
> + * published by the Free Software Foundation.
> +*/
> +
> +#ifndef __ASM_ARCH_MACH_REGS_FB_H
> +#define __ASM_ARCH_MACH_REGS_FB_H __FILE__
> +
> +#include <plat/regs-fb.h>
> +
> +#endif /* __ASM_ARCH_MACH_REGS_FB_H */

This patch reminds me, that the arch/arm/mach-*/include/mach/regs-fb.h files
should be
completely removed. Most of them simply includes the other header from
plat-samsung,
which can be included directly by the driver.
plat-s5pc100/include/mach/regs-fb.h contains
some definitions that are not used at all afair, so it can be dropped as well.

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

WARNING: multiple messages have this Message-ID (diff)
From: m.szyprowski@samsung.com (Marek Szyprowski)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/6] ARM: S5P64X0: Add register base and IRQ for Framebuffer
Date: Thu, 14 Jul 2011 13:17:51 +0200	[thread overview]
Message-ID: <000001cc4217$abe319d0$03a94d70$%szyprowski@samsung.com> (raw)
In-Reply-To: <1310650036-28836-3-git-send-email-ajaykumar.rs@samsung.com>

Hello,

On Thursday, July 14, 2011 3:27 PM Ajay Kumar wrote:

> This patch adds:
> o Framebuffer related register mappings and bit fields.
> o IRQ number being used.
> 
> Signed-off-by: Ajay Kumar <ajaykumar.rs@samsung.com>
> ---
>  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 +++++++++++++++++++
>  3 files changed, 26 insertions(+), 0 deletions(-)
>  create mode 100644 arch/arm/mach-s5p64x0/include/mach/regs-fb.h
> 
> diff --git a/arch/arm/mach-s5p64x0/include/mach/irqs.h b/arch/arm/mach-
> s5p64x0/include/mach/irqs.h
> index 513abff..09995b8 100644
> --- a/arch/arm/mach-s5p64x0/include/mach/irqs.h
> +++ b/arch/arm/mach-s5p64x0/include/mach/irqs.h
> @@ -85,6 +85,10 @@
>  #define IRQ_S3CUART_RX4		IRQ_S5P_UART_RX4
>  #define IRQ_S3CUART_RX5		IRQ_S5P_UART_RX5
> 
> +#define IRQ_LCD_FIFO		IRQ_DISPCON0
> +#define IRQ_LCD_VSYNC		IRQ_DISPCON1
> +#define IRQ_LCD_SYSTEM		IRQ_DISPCON2
> +
>  /* S5P6450 EINT feature will be added */
> 
>  /*
> diff --git a/arch/arm/mach-s5p64x0/include/mach/map.h b/arch/arm/mach-
> s5p64x0/include/mach/map.h
> index 95c9125..c5ef50c 100644
> --- a/arch/arm/mach-s5p64x0/include/mach/map.h
> +++ b/arch/arm/mach-s5p64x0/include/mach/map.h
> @@ -47,6 +47,8 @@
> 
>  #define S5P64X0_PA_HSMMC(x)	(0xED800000 + ((x) * 0x100000))
> 
> +#define S5P64X0_PA_FB		0xEE000000
> +
>  #define S5P64X0_PA_I2S		0xF2000000
>  #define S5P6450_PA_I2S1		0xF2800000
>  #define S5P6450_PA_I2S2		0xF2900000
> @@ -64,6 +66,7 @@
>  #define S3C_PA_IIC1		S5P6440_PA_IIC1
>  #define S3C_PA_RTC		S5P64X0_PA_RTC
>  #define S3C_PA_WDT		S5P64X0_PA_WDT
> +#define S3C_PA_FB		S5P64X0_PA_FB
> 
>  #define S5P_PA_CHIPID		S5P64X0_PA_CHIPID
>  #define S5P_PA_SROMC		S5P64X0_PA_SROMC
> diff --git a/arch/arm/mach-s5p64x0/include/mach/regs-fb.h b/arch/arm/mach-
> s5p64x0/include/mach/regs-fb.h
> new file mode 100644
> index 0000000..cbb8d8c
> --- /dev/null
> +++ b/arch/arm/mach-s5p64x0/include/mach/regs-fb.h
> @@ -0,0 +1,19 @@
> +/*
> + * linux/arch/arm/mach-s5p64x0/include/mach/regs-fb.h
> + *
> + * Copyright (c) 2011 Samsung Electronics Co., Ltd.
> + *		http://www.samsung.com/
> + *
> + * Framebuffer register definitions for Samsung S5P64X0.
> + *
> + * This program is free software; you can redistribute it and/or modify
> + * it under the terms of the GNU General Public License version 2 as
> + * published by the Free Software Foundation.
> +*/
> +
> +#ifndef __ASM_ARCH_MACH_REGS_FB_H
> +#define __ASM_ARCH_MACH_REGS_FB_H __FILE__
> +
> +#include <plat/regs-fb.h>
> +
> +#endif /* __ASM_ARCH_MACH_REGS_FB_H */

This patch reminds me, that the arch/arm/mach-*/include/mach/regs-fb.h files
should be
completely removed. Most of them simply includes the other header from
plat-samsung,
which can be included directly by the driver.
plat-s5pc100/include/mach/regs-fb.h contains
some definitions that are not used at all afair, so it can be dropped as well.

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

  reply	other threads:[~2011-07-14 11:17 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-14 13:27 [PATCH 0/6] ARM: S5P64X0: Add Framebuffer support Ajay Kumar
2011-07-14 13:27 ` 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
2011-07-14 13:27 ` [PATCH 2/6] ARM: S5P64X0: Add register base and IRQ for Framebuffer Ajay Kumar
2011-07-14 13:27   ` Ajay Kumar
2011-07-14 11:17   ` Marek Szyprowski [this message]
2011-07-14 11:17     ` Marek Szyprowski
2011-07-15  5:56     ` Ajay kumar
2011-07-15  5:56       ` Ajay kumar
2011-07-21  1:07   ` Kukjin Kim
2011-07-21  1:07     ` Kukjin Kim
2011-07-14 13:27 ` [PATCH 3/6] ARM: S5P64X0: Set s3c_device_fb name Ajay Kumar
2011-07-14 13:27   ` Ajay Kumar
2011-07-14 13:27 ` [PATCH 4/6] ARM: S5P64X0: Add GPIO and SPCON settings for LCD Ajay Kumar
2011-07-14 13:27   ` Ajay Kumar
2011-07-21  1:21   ` Kukjin Kim
2011-07-21  1:21     ` Kukjin Kim
2011-07-14 13:27 ` [PATCH 5/6] ARM: S5P6440: Add LCD-LTE480 and enable Framebuffer support Ajay Kumar
2011-07-14 13:27   ` Ajay Kumar
2011-07-14 13:27 ` [PATCH 6/6] ARM: S5P6450: " Ajay Kumar
2011-07-14 13:27   ` Ajay Kumar
2011-07-15  6:12 ` [PATCH 0/6] ARM: S5P64X0: Add " Tushar Behera
2011-07-15  6:12   ` Tushar Behera
2011-07-15  6:27   ` Ajay kumar
2011-07-15  6:27     ` Ajay kumar
2011-07-15 10:05     ` Tushar Behera
2011-07-15 10:05       ` Tushar Behera

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000001cc4217$abe319d0$03a94d70$%szyprowski@samsung.com' \
    --to=m.szyprowski@samsung.com \
    --cc=ajaykumar.rs@samsung.com \
    --cc=jg1.han@samsung.com \
    --cc=kgene.kim@samsung.com \
    --cc=lethal@linux-sh.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.