From: lftan@altera.com (Ley Foon Tan)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v7 5/6] Documentation: dt-bindings: pci: altera pcie device tree binding
Date: Fri, 2 Oct 2015 15:56:16 +0800 [thread overview]
Message-ID: <CAFiDJ5-yMBw6Ff1++F5DTg6u_rAgoivGJeNj1tr9fwo-hdKDkg@mail.gmail.com> (raw)
In-Reply-To: <1803658.W77SUJGE4K@wuerfel>
On Tue, Sep 29, 2015 at 3:38 AM, Arnd Bergmann <arnd@arndb.de> wrote:
> On Monday 28 September 2015 12:31:36 Rob Herring wrote:
>> >> > +
>> >> > +Required properties:
>> >> > +- compatible : should contain "altr,pcie-root-port-1.0"
>> >> > +- reg: a list of physical base address and length for TXS and CRA.
>> >> > +- reg-names: must include the following entries:
>> >> > + "Txs" or "txs": TX slave port region
>> >> > + "Cra" or "cra": Control register access region
>> >>
>> >> Why both cases? Can we please just have one (or none is better IMO).
>> > The PCIe IP on different device families use different register names.
>> > And our device tree generator will auto generate the register names
>> > based on the hardware description name. Too bad we can't change the
>> > hardware description names now.
>>
>> Okay, your problem to maintain. Hopefully the driver just goes by index then.
>>
>> Strictly speaking, if you have undocumented bindings downstream that
>> is your problem and we don't have to accept them as-is upstream. I'm
>> not going to worry about that here.
>
> Are they always in the same order? If you don't mandate any names for the
> registers in the binding but just use them by index, we can keep that
> bit of ugliness out of the binding and the driver and still be compatible
> with all the devices.
Too bad the order might change in future devices. We will fix the
tool, so only have one reg-name case.
Regards
Ley Foon
next prev parent reply other threads:[~2015-10-02 7:56 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-21 2:13 [PATCH v7 0/6] Altera PCIe host controller driver with MSI support Ley Foon Tan
2015-09-21 2:13 ` [PATCH v7 1/6] arm: add msi.h to Kbuild Ley Foon Tan
2015-09-22 18:23 ` Marc Zyngier
2015-09-21 2:13 ` [PATCH v7 2/6] pci: add Altera PCI vendor ID Ley Foon Tan
2015-09-21 2:13 ` [PATCH v7 3/6] pci:host: Add Altera PCIe host controller driver Ley Foon Tan
2015-09-22 18:33 ` Marc Zyngier
2015-09-23 9:33 ` Ley Foon Tan
2015-09-23 15:15 ` Marc Zyngier
2015-09-21 2:13 ` [PATCH v7 4/6] pci: altera: Add Altera PCIe MSI driver Ley Foon Tan
2015-09-21 2:13 ` [PATCH v7 5/6] Documentation: dt-bindings: pci: altera pcie device tree binding Ley Foon Tan
2015-09-26 3:55 ` Rob Herring
2015-09-28 5:38 ` Ley Foon Tan
2015-09-28 17:31 ` Rob Herring
2015-09-28 19:38 ` Arnd Bergmann
2015-10-02 7:56 ` Ley Foon Tan [this message]
2015-10-02 7:53 ` Ley Foon Tan
2015-10-02 21:56 ` Arnd Bergmann
2015-10-03 13:10 ` Marc Zyngier
2015-10-05 3:14 ` Ley Foon Tan
2015-09-21 2:13 ` [PATCH v7 6/6] MAINTAINERS: Add Altera PCIe and MSI drivers maintainer Ley Foon Tan
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=CAFiDJ5-yMBw6Ff1++F5DTg6u_rAgoivGJeNj1tr9fwo-hdKDkg@mail.gmail.com \
--to=lftan@altera.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).