linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: jason77.wang@gmail.com (Hui Wang)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM i.MX avic: convert to use generic irq chip
Date: Fri, 23 Sep 2011 16:56:14 +0800	[thread overview]
Message-ID: <4E7C49AE.8070101@gmail.com> (raw)
In-Reply-To: <20110922135009.GA15024@S2100-06.ap.freescale.net>

Shawn Guo wrote:
> On Thu, Sep 22, 2011 at 05:40:08PM +0800, Hui Wang wrote:
>   
>> Convert i.MX avic irq handler to use generic irq chip. This not only
>> provides a cleanup implementation of irq chip handler, but also
>> implements suspend/resume interface with the help of generic irq chip
>> interface.
>>
>> Change mxc_irq_chip to a new structure mxc_extra_irq to handle fiq
>> and priority functions.
>>
>> Signed-off-by: Hui Wang <jason77.wang@gmail.com>
>> ---
>>
>> This patch is basing on imx-features branch of linux-pengu. Have
>> validated this patch on 31pdk and 35pdk platforms, while have no
>> chance to validate it on mx2 and mx1 platforms since we don't have
>> those hardwares.
>>
>> The purpose of changing avic to use generic irq chip is because i
>> added suspend/resume functions for 35pdk, and generic irq chip
>> naturally has suspend/resume interface. If this patch can be
>> accepted, i will continue to send out those 35pdk pm patches.
>>
>>  arch/arm/plat-mxc/avic.c       |   79 ++++++++++++++++++++++++++++------------
>>  arch/arm/plat-mxc/irq-common.c |   21 ++++++-----
>>  arch/arm/plat-mxc/irq-common.h |    3 +-
>>  arch/arm/plat-mxc/tzic.c       |    8 ++++-
>>  4 files changed, 75 insertions(+), 36 deletions(-)
>>
>>     
> Acked-by: Shawn Guo <shawn.guo@linaro.org>
>
> However, I'm wondering if you can add the suspend/resume interface for
> tzic as well.
>   
Yes, this is the next plan, if this patch can be accepted, i will add 
tzic suspend/resume as well.

thanks.

  reply	other threads:[~2011-09-23  8:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-22  9:40 [PATCH] ARM i.MX avic: convert to use generic irq chip Hui Wang
2011-09-22 13:50 ` Shawn Guo
2011-09-23  8:56   ` Hui Wang [this message]
2011-09-23 14:29     ` Sascha Hauer

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=4E7C49AE.8070101@gmail.com \
    --to=jason77.wang@gmail.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;
as well as URLs for NNTP newsgroup(s).