From: Stephan Gatzka <stephan-tNItQxeJkt8dnm+yROfE0A@public.gmane.org>
To: Grant Likely <grant.likely-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.org>
Cc: devicetree-discuss
<devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org>
Subject: Re: PCI example for device tree
Date: Sun, 20 Jun 2010 07:57:26 +0200 [thread overview]
Message-ID: <4C1DADC6.2060505@gatzka.org> (raw)
In-Reply-To: <AANLkTik-TbdrIdr9YjeJGSlGH7-DUG_i1qK-X-aFVK4K-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
[-- Attachment #1.1: Type: text/plain, Size: 2453 bytes --]
Hi Grant!
> Hi Stephan,
>
> Thanks for this work. That is useful. Before I take it out of draft,
> I'd like some changes to be made so that it better fits with the rest
> of the documents. I talked about it in an earlier email, but I don't
> know if you got it or not. Here's what I wrote:
No, unfortunately, I haven't read it.
>> - Instead, of using an MPC5200 example, add a pci bus to the sample
>> Coyote's Revenge system used in the rest of the page and describe
>> that. The goal of this document is to lead a user step-by-step how
>> each part of the device tree works. So, instead of plopping down the
>> complete PCI bus node, the document should gradually build it up, and
>> talk about each element as it is added. Focus on how it all works
>> together.
My intention was to describe a working example for a Host-to-PCI bridge.
Of course it is possible to rework it to your imaginary example but
again, I definitely prefer to do that for an existing board. Please just
consider to write something about the interrupt-map property without
having the schematics and a user manual for the SoC used. I can't
explain it without the wiring of IDSEL lines and the mapping of IDSEL to
device numbers in the PCI bridge.
>>
>> - It would be useful to also show a PCI-to-PCI bridge,
OK, but maybe sometimes later.
>> and maybe a
>> fixed PCI device as children of the host bridge node.
OK, but I think at least for PCI the current policy is just to describe
the bridge and leave the PCI devices up for PCI probing code. So adding
a PCI device as a children might be a bit academically.
>
> The most important bit I think it to break up the adding of the PCI
> node so that it is built up piece by piece. For each element being
> discussed, I want a reader to be able to focus on just the properties
> that are involved.
I have to think about it. My intention was more to explain what needs to
be done for integrating a HOST-to-PCI bridge in a device tree and to
describe the properties that are necessary for. There are some
properties that belong together and I can't easily explain them
stand-alone. That's the reason why I used colors to display the related
properties.
I know that my sections breaks with the style you've used in the intro
document. But I think for this complex PCI thing it is better to have a
walk-through example.
Kind regards,
Stephan
[-- Attachment #1.2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 5136 bytes --]
[-- Attachment #2: Type: text/plain, Size: 192 bytes --]
_______________________________________________
devicetree-discuss mailing list
devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org
https://lists.ozlabs.org/listinfo/devicetree-discuss
next prev parent reply other threads:[~2010-06-20 5:57 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <4C1C9CEA.8050904@gatzka.org>
[not found] ` <4C1C9CEA.8050904-tNItQxeJkt8dnm+yROfE0A@public.gmane.org>
2010-06-19 13:12 ` PCI example for device tree Grant Likely
[not found] ` <AANLkTik-TbdrIdr9YjeJGSlGH7-DUG_i1qK-X-aFVK4K-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-06-20 5:57 ` Stephan Gatzka [this message]
[not found] ` <4C1DADC6.2060505-tNItQxeJkt8dnm+yROfE0A@public.gmane.org>
2010-06-23 4:30 ` Stephan Gatzka
[not found] ` <4C218DCB.1010108-tNItQxeJkt8dnm+yROfE0A@public.gmane.org>
2010-07-08 7:43 ` Grant Likely
[not found] ` <AANLkTikzLP_6Ac9G5ZOEwwhUY4AVQoneTP0D6jAdRYzr-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-07-08 17:44 ` Stephan Gatzka
[not found] ` <4C360E8F.6070908-tNItQxeJkt8dnm+yROfE0A@public.gmane.org>
2010-07-08 17:53 ` Grant Likely
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=4C1DADC6.2060505@gatzka.org \
--to=stephan-tnitqxejkt8dnm+yrofe0a@public.gmane.org \
--cc=devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org \
--cc=grant.likely-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.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