public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: kgene.kim@samsung.com (Kukjin Kim)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 3/3] ARM: Samsung S3C: Move/use the S3C common GPIO IRQ type
Date: Wed, 01 Sep 2010 08:49:10 +0900	[thread overview]
Message-ID: <011701cb4967$1ee563c0$5cb02b40$%kim@samsung.com> (raw)
In-Reply-To: <AANLkTimxhFtfB8G-z=04zj7ZRq+f7GDaVX5mzgCENuvx@mail.gmail.com>

Kyungmin Park wrote:
> 
> On Mon, Aug 30, 2010 at 9:09 PM, Kukjin Kim <kgene.kim@samsung.com> wrote:
> > Kyungmin Park wrote:
> >>
> >> From: Kyungmin Park <kyungmin.park@samsung.com>
> >>
> >> Samsung S3C series have the common GPIO IRQ type for all S3C series.
> >>
> > I can't agree with your changing name. Why do you want to change the
name?
> > If you want to move S3C2410_EXTINT_XXX from regs-irqtype.h, just move
> > without any changes.
> As S5P series change the name conversion. I will also modify the s3c
series.
> 
I think that we don?t need to change for it.
And as you see, there is no difference between S3C2410_XXX and S3C_XXX.
> >
> > But I'm still thinking why should we move the external interrupt
definitions
> > to plat/gpio-core.h...
> 
> To use the GPIO interrupt. these definitions are used both external
> interrupt and GPIO interrupt.


> >
> >> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
> >> ---

(snip)

> >>
> >> +#define S3C_GPIO_LEVEL_LOW ? ? ? ? ? (0x00)
> >> +#define S3C_GPIO_LEVEL_HIGH ? ? ? ? ?(0x01)
> >> +#define S3C_GPIO_EDGE_FALLING ? ? ? ? ? ? ? ?(0x02)
> >> +#define S3C_GPIO_EDGE_RISING ? ? ? ? (0x04)
> >> +#define S3C_GPIO_EDGE_BOTH ? ? ? ? ? (0x06)
> >> +
> > GPIO_LELVEL? GPIO_EDGE?...
> >
> > I think EXTINT_LEVEL_XXX and EXTINT_EDGE_XXX are more clear.
> 
>  ? ? ? case IRQ_TYPE_EDGE_BOTH:
>  ? ? ? ? ? ? newvalue = S3C_GPIO_EDGE_BOTH;
> 
> Don't you it's more clear?
> 
I don't think so, I meant that it is used for external interrupt not gpio.
And it used currently for external interrupt.

So, I said that no need to change it now.

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-31 23:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-30 11:47 [PATCH 3/3] ARM: Samsung S3C: Move/use the S3C common GPIO IRQ type Kyungmin Park
2010-08-30 12:09 ` Kukjin Kim
2010-08-30 13:40   ` Kyungmin Park
2010-08-31 23:49     ` Kukjin Kim [this message]
2010-09-01  2:10       ` Kyungmin Park

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='011701cb4967$1ee563c0$5cb02b40$%kim@samsung.com' \
    --to=kgene.kim@samsung.com \
    --cc=linux-arm-kernel@lists.infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox