Linux Samsung SOC development
 help / color / mirror / Atom feed
From: Kukjin Kim <kgene.kim@samsung.com>
To: 'Kyungmin Park' <kyungmin.park@samsung.com>
Cc: 'Marek Szyprowski' <m.szyprowski@samsung.com>,
	linux-samsung-soc@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org, s.nawrocki@samsung.com,
	p.osciak@samsung.com, ben-linux@fluff.org
Subject: RE: [PATCH v4 3/8] ARM: Samsung: Add platform definitions and helpers for FIMC driver
Date: Tue, 03 Aug 2010 10:05:39 +0900	[thread overview]
Message-ID: <00e801cb32a7$fffae0f0$fff0a2d0$%kim@samsung.com> (raw)
In-Reply-To: <AANLkTinuDaOKe1cMTCC+kmZg0dg2y75szDPQaa93gWbn@mail.gmail.com>

Kyungmin Park wrote:
> 
> On Tue, Aug 3, 2010 at 9:46 AM, Kukjin Kim <kgene.kim@samsung.com> wrote:
> > Kyungmin Park wrote:
> >>
> >> On Tue, Aug 3, 2010 at 8:58 AM, Kukjin Kim <kgene.kim@samsung.com>
wrote:
> >> > Marek Szyprowski wrote:
> >> >>
> >> >> From: Sylwester Nawrocki <s.nawrocki@samsung.com>
> >> >>
> >> >> FIMC (CAMIF) device is a camera interface embedded in S3C/S5P
Samsung
> >> >> SOC series. It supports ITU-R BT.601/656 and MIPI-CSI2 standards,
> >> >> memory to memory operations, color conversion, resizing and
rotation.
> >> >>
> >> >> Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
> >> >> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
> >> >> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
> >> >> ---
> >> >>
> >> >> This is patch is a v3 version rebased onto latest kgene/for-next
tree.
> >> >> New entries in map.h files has been sorted by the physicall address.
> >> >>
> >> > Thanks for your addressing.
> >> >
> >> >> I'm resending this patch on behalf of Sylwester who is on holidays
this
> >> >> week.
> >> >>
> >> >> Best regards
> >> >> --
> >> >> Marek Szyprowski
> >> >> Samsung Poland R&D Center
> >> >> ---

(snip)

> >> >>
> >> >> diff --git a/arch/arm/mach-s5pc100/include/mach/map.h
b/arch/arm/mach-
> >> >> s5pc100/include/mach/map.h
> >> >> index c018697..3abe7f5 100644
> >> >> --- a/arch/arm/mach-s5pc100/include/mach/map.h
> >> >> +++ b/arch/arm/mach-s5pc100/include/mach/map.h
> >> >> @@ -99,6 +99,10 @@
> >> >>
> >> >>  #define S5PC100_PA_FB                (0xEE000000)
> >> >>
> >> >> +#define S5PC100_PA_FIMC0     (0xEE200000)
> >> >> +#define S5PC100_PA_FIMC1     (0xEE300000)
> >> >> +#define S5PC100_PA_FIMC2     (0xEE400000)
> >> >> +
> >> >>  #define S5PC100_PA_I2S0              (0xF2000000)
> >> >>  #define S5PC100_PA_I2S1              (0xF2100000)
> >> >>  #define S5PC100_PA_I2S2              (0xF2200000)
> >> >> @@ -143,6 +147,9 @@
> >> >>  #define S3C_PA_ONENAND_BUF   S5PC100_PA_ONENAND_BUF
> >> >>  #define S3C_SZ_ONENAND_BUF   S5PC100_SZ_ONENAND_BUF
> >> >>  #define S3C_PA_RTC           S5PC100_PA_RTC
> >> >> +#define S5P_PA_FIMC0         S5PC100_PA_FIMC0
> >> >> +#define S5P_PA_FIMC1         S5PC100_PA_FIMC1
> >> >> +#define S5P_PA_FIMC2         S5PC100_PA_FIMC2
> >> >>
> >> >>  #define SAMSUNG_PA_ADC               S5PC100_PA_TSADC
> >> >>  #define SAMSUNG_PA_CFCON     S5PC100_PA_CFCON
> >> >> diff --git a/arch/arm/mach-s5pv210/cpu.c
b/arch/arm/mach-s5pv210/cpu.c

(snip)

> >> >> diff --git a/arch/arm/mach-s5pv210/include/mach/map.h
b/arch/arm/mach-
> >> >> s5pv210/include/mach/map.h
> >> >> index 986b285..6a07e55 100644
> >> >> --- a/arch/arm/mach-s5pv210/include/mach/map.h
> >> >> +++ b/arch/arm/mach-s5pv210/include/mach/map.h
> >> >> @@ -65,6 +65,10 @@
> >> >>
> >> >>  #define S5PV210_PA_FB                (0xF8000000)
> >> >>
> >> >> +#define S5PV210_PA_FIMC0     (0xFB200000)
> >> >> +#define S5PV210_PA_FIMC1     (0xFB300000)
> >> >> +#define S5PV210_PA_FIMC2     (0xFB400000)
> >> >> +
> >> >>  #define S5PV210_PA_HSMMC(x)  (0xEB000000 + ((x) * 0x100000))
> >> >>
> >> >>  #define S5PV210_PA_VIC0              (0xF2000000)
> >> >> @@ -114,4 +118,8 @@
> >> >>  #define SAMSUNG_PA_CFCON     S5PV210_PA_CFCON
> >> >>  #define SAMSUNG_PA_KEYPAD    S5PV210_PA_KEYPAD
> >> >>
> >> >> +#define S5P_PA_FIMC0         S5PV210_PA_FIMC0
> >> >> +#define S5P_PA_FIMC1         S5PV210_PA_FIMC1
> >> >> +#define S5P_PA_FIMC2         S5PV210_PA_FIMC2
> >> >
> >> > To use one style is better for reading, merge conflict handling and
so
> > on...
> >> > The style means to add S5P_PA_XXX after S3C_PA_XXX with C100 case or
> to
> >> > modify above C100 case like this.
> >>
> >> Use the same conversion as previous one. are you okay?
> >>
> >> #define S5PV210_PA_VIC0         (0xF2000000)
> >> #define S5P_PA_VIC0             S5PV210_PA_VIC0
> >>
> >> #define S5PV210_PA_VIC1         (0xF2100000)
> >> #define S5P_PA_VIC1             S5PV210_PA_VIC1
> >>
> >> #define S5PV210_PA_VIC2         (0xF2200000)
> >> #define S5P_PA_VIC2             S5PV210_PA_VIC2
> >>
> >> #define S5PV210_PA_VIC3         (0xF2300000)
> >> #define S5P_PA_VIC3             S5PV210_PA_VIC3
> >>
> >> #define S5PV210_PA_SDRAM        (0x30000000)
> >> #define S5P_PA_SDRAM            S5PV210_PA_SDRAM
> >>
> > No.
> >
> > Did you see above C100?
> >
> > --- C100
> >
> >  #define S3C_PA_ONENAND_BUF             S5PC100_PA_ONENAND_BUF
> >  #define S3C_SZ_ONENAND_BUF             S5PC100_SZ_ONENAND_BUF
> >  #define S3C_PA_RTC             S5PC100_PA_RTC
> > +#define S5P_PA_FIMC0           S5PC100_PA_FIMC0
> > +#define S5P_PA_FIMC1           S5PC100_PA_FIMC1
> > +#define S5P_PA_FIMC2           S5PC100_PA_FIMC2
> >
> >  #define SAMSUNG_PA_ADC               S5PC100_PA_TSADC
> >  #define SAMSUNG_PA_CFCON     S5PC100_PA_CFCON
> >
> > --- V210
> >
> >  #define SAMSUNG_PA_CFCON               S5PV210_PA_CFCON
> >  #define SAMSUNG_PA_KEYPAD              S5PV210_PA_KEYPAD
> >
> > +#define S5P_PA_FIMC0           S5PV210_PA_FIMC0
> > +#define S5P_PA_FIMC1           S5PV210_PA_FIMC1
> > +#define S5P_PA_FIMC2           S5PV210_PA_FIMC2
> >
> > I mean it's just ordering.
> 
> Yes I also mean it don't separate the related definitions. so place
> adjacent as the the previous.
> 
No...maybe you misunderstood...hmm :-(
Please add in map.h of V210 like following.

@@ -110,6 +110,10 @@
 #define S3C_PA_RTC		S5PV210_PA_RTC
 #define S3C_PA_WDT		S5PV210_PA_WATCHDOG

+#define S5P_PA_FIMC0		S5PV210_PA_FIMC0
+#define S5P_PA_FIMC1		S5PV210_PA_FIMC1
+#define S5P_PA_FIMC2		S5PV210_PA_FIMC2
+
 #define SAMSUNG_PA_ADC		S5PV210_PA_ADC
 #define SAMSUNG_PA_CFCON		S5PV210_PA_CFCON
 #define SAMSUNG_PA_KEYPAD		S5PV210_PA_KEYPAD

(snip)

Thanks.

Best regards,
Kgene.
--
Kukjin Kim <kgene.kim@samsung.com>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.

  reply	other threads:[~2010-08-03  1:05 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-23 16:21 [PATCH v3 0/8] Samsung S5P SoC camera interface driver Sylwester Nawrocki
2010-07-23 16:21 ` [PATCH v3 1/8] ARM: Samsung: Add register definitions for Samsung S5P SoC camera interface Sylwester Nawrocki
2010-07-26  6:51   ` Kukjin Kim
2010-08-02 10:32     ` Pawel Osciak
2010-08-02 10:52       ` Russell King - ARM Linux
2010-08-02 11:13         ` Marek Szyprowski
2010-08-02 11:51         ` Mauro Carvalho Chehab
2010-08-02 12:09           ` Russell King - ARM Linux
2010-08-02 12:08         ` Pawel Osciak
2010-08-02 16:58           ` Russell King - ARM Linux
2010-08-03  0:46             ` Kukjin Kim
2010-08-03  2:15               ` Kyungmin Park
2010-07-23 16:21 ` [PATCH v3 2/8] v4l: Add driver for Samsung S3C/S5P SoC video postprocessor Sylwester Nawrocki
2010-07-23 16:21 ` [PATCH v3 3/8] ARM: Samsung: Add platform definitions and helpers for FIMC driver Sylwester Nawrocki
2010-08-02 11:57   ` [PATCH v4 " Marek Szyprowski
2010-08-02 23:58     ` Kukjin Kim
2010-08-03  0:37       ` Kyungmin Park
2010-08-03  0:46         ` Kukjin Kim
2010-08-03  0:54           ` Kyungmin Park
2010-08-03  1:05             ` Kukjin Kim [this message]
2010-08-03  1:12               ` Kyungmin Park
2010-08-03  2:33                 ` Kukjin Kim
2010-08-03  5:41       ` [PATCH v5 " Marek Szyprowski
2010-08-04 10:55         ` Kukjin Kim
2010-07-23 16:21 ` [PATCH v3 4/8] ARM: Samsung: Add common Aquila and GONI code Sylwester Nawrocki
2010-07-26  6:33   ` Kukjin Kim
2010-07-26  6:48     ` Pawel Osciak
2010-08-09  5:03       ` Kukjin Kim
2010-07-23 16:21 ` [PATCH v3 5/8] ARM: s5pv210: enable FIMC on Aquila Sylwester Nawrocki
2010-07-26  6:41   ` Kukjin Kim
2010-07-26  6:51     ` Pawel Osciak
2010-07-23 16:21 ` [PATCH v3 6/8] ARM: s5pv210: enable FIMC on Goni Sylwester Nawrocki
2010-07-23 16:21 ` [PATCH v3 7/8] ARM: S5PC100: enable FIMC on SMDKC100 Sylwester Nawrocki
2010-07-23 16:21 ` [PATCH v3 8/8] ARM: s5pv210: Override FIMC driver name on Aquila board Sylwester Nawrocki

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='00e801cb32a7$fffae0f0$fff0a2d0$%kim@samsung.com' \
    --to=kgene.kim@samsung.com \
    --cc=ben-linux@fluff.org \
    --cc=kyungmin.park@samsung.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=m.szyprowski@samsung.com \
    --cc=p.osciak@samsung.com \
    --cc=s.nawrocki@samsung.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox