All of lore.kernel.org
 help / color / mirror / Atom feed
From: arnd@arndb.de (Arnd Bergmann)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2] ARM: CSR: Adding CSR SiRFprimaII board support
Date: Wed, 6 Jul 2011 09:40:34 +0200	[thread overview]
Message-ID: <201107060940.34452.arnd@arndb.de> (raw)
In-Reply-To: <CAGsJ_4xUsw21EM2GXMt4i27MGjCP_h46tCzhDqo-MCZkAVsEiw@mail.gmail.com>

On Wednesday 06 July 2011 09:03:45 Barry Song wrote:
> but it seems we will still add "sirf,alsta6-intc" in intc driver if
> that really happen in the future. in my understanding, drivers should
> explicitly claim all chips or ip cores they can support.

I don't think there is a need for that. I'd only add the second
one if there is a need in the driver to tell the difference.
In that case, you can add a data field to the device_id and use
that for making decisions in the driver.

	Arnd

WARNING: multiple messages have this Message-ID (diff)
From: Arnd Bergmann <arnd-r2nGTMty4D4@public.gmane.org>
To: Barry Song <21cnbao-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org,
	devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org,
	workgroup.linux-kQvG35nSl+M@public.gmane.org,
	weizeng.he-kQvG35nSl+M@public.gmane.org,
	tglx-hfZtesqFncYOwBW4kG4KsQ@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
Subject: Re: [PATCH v2] ARM: CSR: Adding CSR SiRFprimaII board support
Date: Wed, 6 Jul 2011 09:40:34 +0200	[thread overview]
Message-ID: <201107060940.34452.arnd@arndb.de> (raw)
In-Reply-To: <CAGsJ_4xUsw21EM2GXMt4i27MGjCP_h46tCzhDqo-MCZkAVsEiw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

On Wednesday 06 July 2011 09:03:45 Barry Song wrote:
> but it seems we will still add "sirf,alsta6-intc" in intc driver if
> that really happen in the future. in my understanding, drivers should
> explicitly claim all chips or ip cores they can support.

I don't think there is a need for that. I'd only add the second
one if there is a need in the driver to tell the difference.
In that case, you can add a data field to the device_id and use
that for making decisions in the driver.

	Arnd

  reply	other threads:[~2011-07-06  7:40 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-28  3:32 [PATCH v2] ARM: CSR: Adding CSR SiRFprimaII board support Barry Song
2011-06-29 21:29 ` Arnd Bergmann
2011-06-29 21:29   ` Arnd Bergmann
2011-06-30  3:39   ` Barry Song
2011-06-30  3:39     ` Barry Song
2011-06-30  7:19   ` Barry Song
2011-06-30  7:19     ` Barry Song
2011-06-30 10:36     ` Arnd Bergmann
2011-06-30 10:36       ` Arnd Bergmann
2011-06-30 15:03       ` Rob Herring
2011-06-30 15:03         ` Rob Herring
2011-07-01  0:04       ` Barry Song
2011-07-01  0:04         ` Barry Song
2011-07-01 16:26         ` Arnd Bergmann
2011-07-01 16:26           ` Arnd Bergmann
2011-07-04 14:59         ` Grant Likely
2011-07-04 14:59           ` Grant Likely
2011-07-01  6:20       ` Barry Song
2011-07-01  6:20         ` Barry Song
2011-07-01 16:19         ` Arnd Bergmann
2011-07-01 16:19           ` Arnd Bergmann
2011-07-02 12:25           ` Russell King - ARM Linux
2011-07-02 12:25             ` Russell King - ARM Linux
2011-07-02 19:34             ` Arnd Bergmann
2011-07-02 19:34               ` Arnd Bergmann
2011-07-04  2:55           ` Barry Song
2011-07-04  2:55             ` Barry Song
2011-07-04 14:53             ` Arnd Bergmann
2011-07-04 14:53               ` Arnd Bergmann
2011-07-05  1:32               ` Barry Song
2011-07-05  1:32                 ` Barry Song
2011-07-05 11:10                 ` Arnd Bergmann
2011-07-05 11:10                   ` Arnd Bergmann
2011-07-05  8:34         ` Barry Song
2011-07-05  8:34           ` Barry Song
2011-07-06  2:10           ` Barry Song
2011-07-06  2:10             ` Barry Song
2011-07-06  5:30           ` Grant Likely
2011-07-06  5:30             ` Grant Likely
2011-07-06  5:58             ` Barry Song
2011-07-06  5:58               ` Barry Song
2011-07-06  6:01               ` Barry Song
2011-07-06  6:01                 ` Barry Song
2011-07-06  6:28                 ` Grant Likely
2011-07-06  6:28                   ` Grant Likely
2011-07-06  7:03                   ` Barry Song
2011-07-06  7:03                     ` Barry Song
2011-07-06  7:40                     ` Arnd Bergmann [this message]
2011-07-06  7:40                       ` Arnd Bergmann

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=201107060940.34452.arnd@arndb.de \
    --to=arnd@arndb.de \
    --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 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.