All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arnd Bergmann <arnd@arndb.de>
To: "Li Yang-r58472" <LeoLi@freescale.com>
Cc: linuxppc-dev@ozlabs.org, Paul <paulus@samba.org>
Subject: Re: [PATCH 1/3] add USB setup code for 8349emds PB
Date: Wed, 7 Feb 2007 11:44:29 +0100	[thread overview]
Message-ID: <200702071144.29548.arnd@arndb.de> (raw)
In-Reply-To: <989B956029373F45A0B8AF02970818900D4339@zch01exm26.fsl.freescale.net>

On Wednesday 07 February 2007 11:10, Li Yang-r58472 wrote:
> How about a non-PCI ehci driver for all architectures (such as arm, m68k)?
> Then, platform_bus is a more generic interface than of_platform. 

Yes, that's right. The main difference is that if you scan all of devices
at boot time, you already have a node for the USB controller and you
shouldn't need to create another node that does not reflect the actual
hierarchy in the linux device tree.

A platform_device is really meant to be 'something that can't be probed
but we know it is there', like the interrupt controller on a PC.
With the of device tree, we can probe anything, so ideally, we should
not need to create any platform devices at all.

	Arnd <><

  reply	other threads:[~2007-02-07 10:44 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-06  9:05 [PATCH 1/3] add USB setup code for 8349emds PB Li Yang
2007-02-06 13:17 ` Arnd Bergmann
2007-02-07  2:22   ` Li Yang-r58472
2007-02-07  8:47     ` Arnd Bergmann
2007-02-07  9:16       ` Li Yang-r58472
2007-02-07 10:02         ` Arnd Bergmann
2007-02-07 10:10           ` Li Yang-r58472
2007-02-07 10:44             ` Arnd Bergmann [this message]
2007-02-07 16:10               ` Kumar Gala
2007-02-06 14:37 ` Kumar Gala
2007-02-06 16:31   ` Kumar Gala
2007-02-07  2:27     ` Li Yang-r58472
2007-02-07  4:09       ` Kumar Gala
2007-02-07  5:16   ` Li Yang-r58472
  -- strict thread matches above, loose matches on Subject: below --
2007-02-07  5:47 Li Yang
2007-02-08  6:46 ` Kumar Gala
2007-02-05  9:09 Li Yang
2007-02-05 15:04 ` Kumar Gala
2007-02-06  3:15   ` Li Yang-r58472
2007-02-06  3:30     ` Kumar Gala
2007-02-06  3:46       ` Li Yang-r58472
2007-02-06  4:01         ` Kumar Gala
2007-02-06  4:52           ` Li Yang-r58472
2007-02-06  5:00           ` Li Yang-r58472

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=200702071144.29548.arnd@arndb.de \
    --to=arnd@arndb.de \
    --cc=LeoLi@freescale.com \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=paulus@samba.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.